CMS 3D CMS Logo

eLayer.h
Go to the documentation of this file.
1 #ifndef eLayer_H
2 #define eLayer_H
3 
10 #include "bSector.h"
11 
12 class MagELayer;
13 
14 namespace magneticfield {
15  class eLayer {
16  public:
18  eLayer(handles::const_iterator begin, handles::const_iterator end);
19 
21  ~eLayer() = default;
22 
23  // /// Return the list of all volumes.
24  // const handles & volumes() const {return theVolumes;}
25 
27  MagELayer* buildMagELayer() const;
28 
29  private:
30  handles theVolumes; // pointer to all volumes in this layer
31  mutable MagELayer* mlayer;
32  };
33 } // namespace magneticfield
34 
35 #endif
MagELayer * mlayer
Definition: eLayer.h:31
~eLayer()=default
Destructor.
handles theVolumes
Definition: eLayer.h:30
MagELayer * buildMagELayer() const
Construct the MagELayer upon request.
Definition: eLayer.cc:40
std::vector< BaseVolumeHandle * > handles
eLayer(handles::const_iterator begin, handles::const_iterator end)
Constructor from list of volumes.
Definition: eLayer.cc:18