CMS 3D CMS Logo

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  const 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
const double tolerance
std::vector< MagBRod * > theRods
Definition: MagBSector.h:39
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition: MagBSector.cc:26
Geom::Phi< float > thePhiMin
Definition: MagBSector.h:40
Geom::Phi< float > minPhi() const
Phi of sector start.
Definition: MagBSector.h:36
MagBSector(std::vector< MagBRod *> &rods, Geom::Phi< float > phiMin)
Constructor.
Definition: MagBSector.cc:18
virtual ~MagBSector()
Destructor.
Definition: MagBSector.cc:20