CMS 3D CMS Logo

eSector.h
Go to the documentation of this file.
1 #ifndef eSector_H
2 #define eSector_H
3 
11 #include "eLayer.h"
12 
13 class MagESector;
14 
15 namespace magneticfield {
16  class eSector {
17  public:
19  eSector(handles::const_iterator begin, handles::const_iterator end, bool debugFlag = false);
20 
22  ~eSector() = default;
23 
24  // /// Return all volumes in this sector
25  // const handles & getVolumes() const {return volumes;}
26 
28  MagESector* buildMagESector() const;
29 
30  private:
31  std::vector<eLayer> layers; // the layers in this sectors
32  handles theVolumes; // pointers to all volumes in the sector
33  mutable MagESector* msector;
34  const bool debug;
35  };
36 } // namespace magneticfield
37 
38 #endif
magneticfield::eSector::buildMagESector
MagESector * buildMagESector() const
Construct the MagESector upon request.
Definition: eSector.cc:74
eLayer.h
magneticfield
Definition: MagFieldConfig.h:22
magneticfield::eSector
Definition: eSector.h:16
magneticfield::eSector::eSector
eSector(handles::const_iterator begin, handles::const_iterator end, bool debugFlag=false)
Constructor from list of volumes.
Definition: eSector.cc:21
magneticfield::eSector::debug
const bool debug
Definition: eSector.h:34
magneticfield::eSector::theVolumes
handles theVolumes
Definition: eSector.h:32
mps_fire.end
end
Definition: mps_fire.py:242
magneticfield::eSector::msector
MagESector * msector
Definition: eSector.h:33
magneticfield::handles
std::vector< BaseVolumeHandle * > handles
Definition: BaseVolumeHandle.h:154
magneticfield::eSector::~eSector
~eSector()=default
Destructor.
LaserTracksInput_cfi.debugFlag
debugFlag
Definition: LaserTracksInput_cfi.py:7
MagESector
Definition: MagESector.h:18
magneticfield::eSector::layers
std::vector< eLayer > layers
Definition: eSector.h:31