GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
BoundaryRectangle.h
1 #ifndef BOUNDARYRECTANGLE_h
2 #define BOUNDARYRECTANGLE_h
3 
4 #include "IBoundary.h"
5 
6 namespace gear {
7 
16 
17  public:
18 
27  BoundaryRectangle( double width, double length, double deltaW, double alpha=0.): _width(width), _length(length), _deltaW(deltaW), _alpha(alpha){}
28 
29 
34  virtual bool isInBoundary( CLHEP::Hep3Vector local ) const;
35 
36  virtual ~BoundaryRectangle(){}
37 
38  private:
39 
40  double _width;
41  double _length;
42  double _deltaW;
43  double _alpha;
44 
45  };
46 
47 
48 } // end of gear namespace
49 
50 #endif
virtual bool isInBoundary(CLHEP::Hep3Vector local) const
A class for boundaries of a rectangle.
BoundaryRectangle(double width, double length, double deltaW, double alpha=0.)