GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
BoundaryTrapezoid.h
1 #ifndef BOUNDARYTRAPEZOID_h
2 #define BOUNDARYTRAPEZOID_h
3 
4 #include "IBoundary.h"
5 
6 
7 namespace gear {
8 
17  class BoundaryTrapezoid :public IBoundary {
18 
19  public:
20 
31  BoundaryTrapezoid( double baseBottom, double baseTop, double height, double deltaW, double alpha):
32  _baseBottom(baseBottom), _baseTop(baseTop), _height(height), _deltaW(deltaW), _alpha(alpha){}
33 
34 
39  virtual bool isInBoundary( CLHEP::Hep3Vector local ) const;
40 
41  virtual ~BoundaryTrapezoid(){}
42 
43  private:
44 
45  double _baseBottom;
46  double _baseTop;
47  double _height;
48  double _deltaW;
49  double _alpha;
50 
51  };
52 
53 
54 } //end of gear namespace
55 
56 
57 
58 #endif
virtual bool isInBoundary(CLHEP::Hep3Vector local) const
A class for boundaries of a trapzoid.
BoundaryTrapezoid(double baseBottom, double baseTop, double height, double deltaW, double alpha)