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