src
MagneticField
GeomBuilder
src
eSector.h
Go to the documentation of this file.
1
#ifndef eSector_H
2
#define eSector_H
3
11
#include "
eLayer.h
"
12
13
class
MagESector
;
14
15
namespace
magneticfield
{
16
class
eSector
{
17
public
:
19
eSector
(handles::const_iterator begin, handles::const_iterator end,
bool
debugFlag
=
false
);
20
22
~eSector
() =
default
;
23
24
// /// Return all volumes in this sector
25
// const handles & getVolumes() const {return volumes;}
26
28
MagESector
*
buildMagESector
()
const
;
29
30
private
:
31
std::vector<eLayer>
layers
;
// the layers in this sectors
32
handles
theVolumes
;
// pointers to all volumes in the sector
33
mutable
MagESector
*
msector
;
34
const
bool
debug
;
35
};
36
}
// namespace magneticfield
37
38
#endif
magneticfield::eSector
Definition:
eSector.h:16
eLayer.h
magneticfield::eSector::eSector
eSector(handles::const_iterator begin, handles::const_iterator end, bool debugFlag=false)
Constructor from list of volumes.
Definition:
eSector.cc:21
MagESector
Definition:
MagESector.h:18
ecalDigiDisplay_cfg.debugFlag
debugFlag
Definition:
ecalDigiDisplay_cfg.py:13
magneticfield::handles
std::vector< BaseVolumeHandle * > handles
Definition:
BaseVolumeHandle.h:154
magneticfield::eSector::theVolumes
handles theVolumes
Definition:
eSector.h:32
magneticfield::eSector::buildMagESector
MagESector * buildMagESector() const
Construct the MagESector upon request.
Definition:
eSector.cc:74
magneticfield::eSector::~eSector
~eSector()=default
Destructor.
magneticfield
Definition:
MagFieldConfig.h:22
magneticfield::eSector::debug
const bool debug
Definition:
eSector.h:34
magneticfield::eSector::layers
std::vector< eLayer > layers
Definition:
eSector.h:31
magneticfield::eSector::msector
MagESector * msector
Definition:
eSector.h:33
Generated for CMSSW Reference Manual by
1.8.14