CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
eSector(handles::const_iterator begin, handles::const_iterator end, bool debugFlag=false)
Constructor from list of volumes.
Definition: eSector.cc:21
std::vector< BaseVolumeHandle * > handles
~eSector()=default
Destructor.
string end
Definition: dataset.py:937
const bool debug
Definition: eSector.h:34
MagESector * buildMagESector() const
Construct the MagESector upon request.
Definition: eSector.cc:74
std::vector< eLayer > layers
Definition: eSector.h:31
MagESector * msector
Definition: eSector.h:33