CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BoundVolume.h
Go to the documentation of this file.
1 #ifndef BoundVolume_H
2 #define BoundVolume_H
3 
5 
6 class VolumeBoundary;
8 
9 class BoundVolume : public GloballyPositioned<float> {
10 public:
11 
13  GloballyPositioned<float>( pos, rot) {}
14 
15  // virtual vector<const VolumeBoundary*> bounds() const = 0;
16 
17  virtual const VolumeBoundary*
18  closestBoundary( const LocalPoint& pos, const LocalVector& momentum,
19  PropagationDirection dir) const = 0;
20 
21  virtual const VolumeBoundary*
22  nextBoundary( const LocalPoint& pos, const LocalVector& momentum,
23  PropagationDirection dir) const = 0;
24 
25 };
26 
27 #endif
PropagationDirection
virtual const VolumeBoundary * nextBoundary(const LocalPoint &pos, const LocalVector &momentum, PropagationDirection dir) const =0
BoundVolume(const PositionType &pos, const RotationType &rot)
Definition: BoundVolume.h:12
dbl *** dir
Definition: mlp_gen.cc:35
virtual const VolumeBoundary * closestBoundary(const LocalPoint &pos, const LocalVector &momentum, PropagationDirection dir) const =0