CMS 3D CMS Logo

MagESector.h
Go to the documentation of this file.
1 #ifndef MagESector_H
2 #define MagESector_H
3 
12 
13 #include <vector>
14 
15 class MagVolume;
16 class MagELayer;
17 
18 class MagESector {
19 public:
21  MagESector(std::vector<MagELayer*>& layers, Geom::Phi<float> phiMin);
22 
24  virtual ~MagESector();
25 
27  const MagVolume* findVolume(const GlobalPoint& gp, double tolerance) const;
28 
30  Geom::Phi<float> minPhi() const { return thePhiMin; }
31 
32 private:
33  std::vector<MagELayer*> theLayers;
35 };
36 #endif
MagELayer
Definition: MagELayer.h:16
MagESector::theLayers
std::vector< MagELayer * > theLayers
Definition: MagESector.h:33
MagESector::thePhiMin
Geom::Phi< float > thePhiMin
Definition: MagESector.h:34
AlignmentTrackSelector_cfi.phiMin
phiMin
Definition: AlignmentTrackSelector_cfi.py:18
MagESector::minPhi
Geom::Phi< float > minPhi() const
Phi of sector start.
Definition: MagESector.h:30
Point3DBase< float, GlobalTag >
MagESector::MagESector
MagESector(std::vector< MagELayer * > &layers, Geom::Phi< float > phiMin)
Constructor.
Definition: MagESector.cc:18
MagESector::~MagESector
virtual ~MagESector()
Destructor.
Definition: MagESector.cc:20
runTauDisplay.gp
gp
Definition: runTauDisplay.py:431
MagVolume
Definition: MagVolume.h:13
tolerance
const double tolerance
Definition: HGCalGeomParameters.cc:29
MagESector::findVolume
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition: MagESector.cc:26
Geom::Phi< float >
MagESector
Definition: MagESector.h:18
GlobalPoint.h
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8