CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MagBRod.h
Go to the documentation of this file.
1 #ifndef MagBRod_H
2 #define MagBRod_H
3 
20 #include <vector>
21 
22 class MagBSlab;
23 class MagVolume;
26 
27 class MagBRod {
28 public:
30  MagBRod(std::vector<MagBSlab*>& slabs, Geom::Phi<float> phiMin);
31 
33  virtual ~MagBRod();
34 
36  MagVolume * findVolume(const GlobalPoint & gp, double tolerance) const;
37 
39  Geom::Phi<float> minPhi() const {return thePhiMin;}
40 
41 private:
42  std::vector<MagBSlab*> theSlabs;
45 
46 };
47 #endif
48 
49 
MagBinFinders::GeneralBinFinderInZ< double > * theBinFinder
Definition: MagBRod.h:44
virtual ~MagBRod()
Destructor.
Definition: MagBRod.cc:42
MagBRod(std::vector< MagBSlab * > &slabs, Geom::Phi< float > phiMin)
Constructor.
Definition: MagBRod.cc:20
Geom::Phi< float > thePhiMin
Definition: MagBRod.h:43
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition: MagBRod.cc:51
Geom::Phi< float > minPhi() const
Phi of rod start.
Definition: MagBRod.h:39
std::vector< MagBSlab * > theSlabs
Definition: MagBRod.h:42