CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
std::vector< BaseVolumeHandle * > handles
eLayer(handles::const_iterator begin, handles::const_iterator end)
Constructor from list of volumes.
Definition: eLayer.cc:18
MagELayer * buildMagELayer() const
Construct the MagELayer upon request.
Definition: eLayer.cc:40
string end
Definition: dataset.py:937