File indexing completed on 2024-04-06 12:22:33
0001 #ifndef MagESector_H
0002 #define MagESector_H
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
0012
0013 #include <vector>
0014
0015 class MagVolume;
0016 class MagELayer;
0017
0018 class MagESector {
0019 public:
0020
0021 MagESector(std::vector<MagELayer*>& layers, Geom::Phi<float> phiMin);
0022
0023
0024 virtual ~MagESector();
0025
0026
0027 const MagVolume* findVolume(const GlobalPoint& gp, double tolerance) const;
0028
0029
0030 Geom::Phi<float> minPhi() const { return thePhiMin; }
0031
0032 private:
0033 std::vector<MagELayer*> theLayers;
0034 Geom::Phi<float> thePhiMin;
0035 };
0036 #endif