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 
20 #include <vector>
21 
22 class MagBRod;
23 class MagVolume;
25 
26 class MagBSector {
27 public:
29  MagBSector(std::vector<MagBRod*>& rods, Geom::Phi<float> phiMin);
30 
32  virtual ~MagBSector();
33 
35  MagVolume * findVolume(const GlobalPoint & gp, double tolerance) const;
36 
38  Geom::Phi<float> minPhi() const {return thePhiMin;}
39 
40 private:
41  std::vector<MagBRod*> theRods;
43 };
44 #endif
45 
MagBSector(std::vector< MagBRod * > &rods, Geom::Phi< float > phiMin)
Constructor.
Definition: MagBSector.cc:20
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition: MagBSector.cc:32
Geom::Phi< float > minPhi() const
Phi of sector start.
Definition: MagBSector.h:38
std::vector< MagBRod * > theRods
Definition: MagBSector.h:41
Geom::Phi< float > thePhiMin
Definition: MagBSector.h:42
virtual ~MagBSector()
Destructor.
Definition: MagBSector.cc:25