The Class for VXD geometry.
More...
#include <VXDGeometryPar.h>
|
| ClassDef (VXDGeometryPar, 5) |
| ClassDef, must be the last term before the closing {}.
|
|
The Class for VXD geometry.
Definition at line 36 of file VXDGeometryPar.h.
◆ VXDGeometryPar()
◆ getAlignment()
get alignment parameters for component name
Definition at line 62 of file VXDGeometryPar.cc.
63{
64
65 map<string, VXDAlignmentPar>::const_iterator cached =
m_alignment.find(name);
67 B2FATAL("Could not find alignment parameters for component " << name);
68 }
69 return cached->second;
70}
std::map< std::string, VXDAlignmentPar > m_alignment
Alignment parameters for all components.
◆ getAlignmentMap()
◆ getComponent()
get component
Definition at line 17 of file VXDGeometryPar.cc.
18{
19
20 std::map<string, VXDGeoComponentPar>::const_iterator cached =
m_componentCache.find(name);
22 B2FATAL("Could not find component " << name);
23 }
24 return cached->second;
25}
std::map< std::string, VXDGeoComponentPar > m_componentCache
Cache of all previously created components.
◆ getComponentInsertOder() [1/2]
std::vector< std::string > & getComponentInsertOder |
( |
| ) |
|
|
inline |
get component insert order
Definition at line 88 of file VXDGeometryPar.h.
std::vector< std::string > m_componentInsertOrder
Vector remembering the order of insertions into component cache.
◆ getComponentInsertOder() [2/2]
const std::vector< std::string > & getComponentInsertOder |
( |
| ) |
const |
|
inline |
◆ getComponentMap() [1/2]
◆ getComponentMap() [2/2]
◆ getEnvelope()
get envelope parameters
Definition at line 50 of file VXDGeometryPar.h.
VXDEnvelopePar m_envelope
Envelope parameters.
◆ getGlobalParams()
get global parameters
Definition at line 46 of file VXDGeometryPar.h.
VXDGlobalPar m_globals
Container for a few general parameters.
◆ getHalfShells() [1/2]
get half-shell
Definition at line 64 of file VXDGeometryPar.h.
std::vector< VXDHalfShellPar > m_halfShells
Cache for half shells
◆ getHalfShells() [2/2]
◆ getLadder()
get ladder for given layer
Definition at line 51 of file VXDGeometryPar.cc.
52{
53
54 map<int, VXDGeoLadderPar>::const_iterator cached =
m_ladders.find(layer);
56 B2FATAL("Could not find ladder for layer " << (boost::format("%1%") % layer).str());
57 }
58 return cached->second;
59}
std::map< int, VXDGeoLadderPar > m_ladders
Parameters of the detector ladders.
◆ getLadderMap()
◆ getPrefix()
std::string getPrefix |
( |
| ) |
const |
|
inline |
get prefix
Definition at line 42 of file VXDGeometryPar.h.
std::string m_prefix
Prefix to prepend to all volume names.
◆ getRadiationSensors()
get radiation sensor parameters
Definition at line 54 of file VXDGeometryPar.h.
VXDGeoRadiationSensorsPar m_radiationsensors
Diamond radiation sensors.
◆ getSensitiveChipID()
int getSensitiveChipID |
( |
std::string |
name | ) |
const |
get Bkg sensitive chip Id
Definition at line 29 of file VXDGeometryPar.cc.
30{
31
34 return -1;
35 }
36 return cached->second;
37}
std::map< std::string, int > m_sensitiveIDCache
Cache of all Bkg sensitive chip Ids.
◆ getSensitiveChipIdMap()
std::map< std::string, int > & getSensitiveChipIdMap |
( |
| ) |
|
|
inline |
◆ getSensor()
get sensor type
Definition at line 41 of file VXDGeometryPar.cc.
42{
43
44 std::map<string, VXDGeoSensorPar>::const_iterator cached =
m_sensorMap.find(sensorTypeID);
46 B2FATAL("Invalid SensorTypeID " << sensorTypeID);
47 }
48 return cached->second;
49}
std::map< std::string, VXDGeoSensorPar > m_sensorMap
Map containing Information about all defined sensor types.
◆ getSensorMap() [1/2]
◆ getSensorMap() [2/2]
◆ setEnvelope()
◆ setGlobalParams()
◆ setPrefix()
void setPrefix |
( |
const std::string & |
prefix | ) |
|
|
inline |
◆ setRadiationSensors()
◆ m_alignment
◆ m_componentCache
◆ m_componentInsertOrder
std::vector<std::string> m_componentInsertOrder |
|
private |
Vector remembering the order of insertions into component cache.
Definition at line 105 of file VXDGeometryPar.h.
◆ m_envelope
◆ m_globals
◆ m_halfShells
◆ m_ladders
◆ m_prefix
std::string m_prefix {""} |
|
private |
◆ m_radiationsensors
◆ m_sensitiveIDCache
std::map<std::string, int> m_sensitiveIDCache |
|
private |
◆ m_sensorMap
Map containing Information about all defined sensor types.
Definition at line 107 of file VXDGeometryPar.h.
The documentation for this class was generated from the following files: