Belle II Software  release-08-01-10
RectangularFinitePlane.h
1 /* Copyright 2008-2010, Technische Universitaet Muenchen,
2  Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
3 
4  This file is part of GENFIT.
5 
6  GENFIT is free software: you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as published
8  by the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  GENFIT is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
18 */
23 #ifndef genfit_RectangularFinitePlane_h
24 #define genfit_RectangularFinitePlane_h
25 
26 #include "AbsFinitePlane.h"
27 
28 
29 namespace genfit {
30 
35 
36  public:
37 
39  RectangularFinitePlane(const double&, const double&, const double&, const double&);
41  virtual ~RectangularFinitePlane();
42 
43  //override inActive & Print methods
44  bool isInActive(double u, double v) const;
45  void Print(const Option_t* = "") const;
46 
48  return new RectangularFinitePlane(*this);
49  }
50 
51  private:
52 
53  double uMin_, uMax_, vMin_, vMax_;
54 
55  public:
56 
57  ClassDef(RectangularFinitePlane,1)
58 
59 };
60 
61 } /* End of namespace genfit */
64 #endif // genfit_RectangularFinitePlane_h
Abstract base class for finite detector planes.
bool isInActive(double u, double v) const
Returns whether a u,v point is in the active plane or not.
RectangularFinitePlane * clone() const
Deep copy ctor for polymorphic class.
Defines for I/O streams used for error and debug printing.