CMS 3D CMS Logo

MagBRod.h
Go to the documentation of this file.
1 #ifndef MagBRod_H
2 #define MagBRod_H
3 
18 #include <vector>
19 
20 class MagBSlab;
21 class MagVolume;
24 
25 class MagBRod {
26 public:
28  MagBRod(std::vector<MagBSlab*>& slabs, Geom::Phi<float> phiMin);
29 
31  virtual ~MagBRod();
32 
34  const MagVolume * findVolume(const GlobalPoint & gp, double tolerance) const;
35 
37  Geom::Phi<float> minPhi() const {return thePhiMin;}
38 
39 private:
40  std::vector<MagBSlab*> theSlabs;
43 
44 };
45 #endif
46 
47 
MagBinFinders::GeneralBinFinderInZ< double > * theBinFinder
Definition: MagBRod.h:42
const double tolerance
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition: MagBRod.cc:49
virtual ~MagBRod()
Destructor.
Definition: MagBRod.cc:40
MagBRod(std::vector< MagBSlab * > &slabs, Geom::Phi< float > phiMin)
Constructor.
Definition: MagBRod.cc:18
Geom::Phi< float > thePhiMin
Definition: MagBRod.h:41
Geom::Phi< float > minPhi() const
Phi of rod start.
Definition: MagBRod.h:37
std::vector< MagBSlab * > theSlabs
Definition: MagBRod.h:40