Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:30

0001 #ifndef eSector_H
0002 #define eSector_H
0003 
0004 /** \class MagGeoBuilderFromDDD::eSector
0005  *  A sector of volumes in the endcap.
0006  *  One sector is composed of several layers (eLayer)
0007  *
0008  *  \author N. Amapane - INFN Torino
0009  */
0010 
0011 #include "eLayer.h"
0012 
0013 class MagESector;
0014 
0015 namespace magneticfield {
0016   class eSector {
0017   public:
0018     /// Constructor from list of volumes
0019     eSector(handles::const_iterator begin, handles::const_iterator end, bool debugFlag = false);
0020 
0021     /// Destructor
0022     ~eSector() = default;
0023 
0024     //   /// Return all volumes in this sector
0025     //   const handles & getVolumes() const {return volumes;}
0026 
0027     /// Construct the MagESector upon request.
0028     MagESector* buildMagESector() const;
0029 
0030   private:
0031     std::vector<eLayer> layers;  // the layers in this sectors
0032     handles theVolumes;          // pointers to all volumes in the sector
0033     mutable MagESector* msector;
0034     const bool debug;
0035   };
0036 }  // namespace magneticfield
0037 
0038 #endif