Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef eLayer_H
0002 #define eLayer_H
0003 
0004 /** \class MagGeoBuilderFromDDD::eLayer
0005  *  A layer of volumes in an endcap sector.
0006  *
0007  *  \author N. Amapane - INFN Torino
0008  */
0009 
0010 #include "bSector.h"
0011 
0012 class MagELayer;
0013 
0014 namespace magneticfield {
0015   class eLayer {
0016   public:
0017     /// Constructor from list of volumes
0018     eLayer(handles::const_iterator begin, handles::const_iterator end);
0019 
0020     /// Destructor
0021     ~eLayer() = default;
0022 
0023     //   /// Return the list of all volumes.
0024     //   const handles & volumes() const {return theVolumes;}
0025 
0026     /// Construct the MagELayer upon request.
0027     MagELayer* buildMagELayer() const;
0028 
0029   private:
0030     handles theVolumes;  // pointer to all volumes in this layer
0031     mutable MagELayer* mlayer;
0032   };
0033 }  // namespace magneticfield
0034 
0035 #endif