CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MagBSector.h
Go to the documentation of this file.
1 #ifndef MagBSector_H
2 #define MagBSector_H
3 
18 #include <vector>
19 
20 class MagBRod;
21 class MagVolume;
23 
24 class MagBSector {
25 public:
27  MagBSector(std::vector<MagBRod*>& rods, Geom::Phi<float> phiMin);
28 
30  virtual ~MagBSector();
31 
33  MagVolume * findVolume(const GlobalPoint & gp, double tolerance) const;
34 
36  Geom::Phi<float> minPhi() const {return thePhiMin;}
37 
38 private:
39  std::vector<MagBRod*> theRods;
41 };
42 #endif
43 
MagBSector(std::vector< MagBRod * > &rods, Geom::Phi< float > phiMin)
Constructor.
Definition: MagBSector.cc:18
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition: MagBSector.cc:30
Geom::Phi< float > minPhi() const
Phi of sector start.
Definition: MagBSector.h:36
std::vector< MagBRod * > theRods
Definition: MagBSector.h:39
Geom::Phi< float > thePhiMin
Definition: MagBSector.h:40
virtual ~MagBSector()
Destructor.
Definition: MagBSector.cc:23