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
Definition: MagELayer.h:16
magneticfield::eLayer::~eLayer
~eLayer()=default
Destructor.
magneticfield
Definition: MagFieldConfig.h:22
magneticfield::eLayer::mlayer
MagELayer * mlayer
Definition: eLayer.h:31
end
#define end
Definition: vmac.h:39
bSector.h
magneticfield::handles
std::vector< BaseVolumeHandle * > handles
Definition: BaseVolumeHandle.h:154
magneticfield::eLayer::buildMagELayer
MagELayer * buildMagELayer() const
Construct the MagELayer upon request.
Definition: eLayer.cc:40
magneticfield::eLayer::theVolumes
handles theVolumes
Definition: eLayer.h:30
magneticfield::eLayer
Definition: eLayer.h:15
begin
#define begin
Definition: vmac.h:32
magneticfield::eLayer::eLayer
eLayer(handles::const_iterator begin, handles::const_iterator end)
Constructor from list of volumes.
Definition: eLayer.cc:18