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.
88{return m_componentInsertOrder;}
◆ getComponentInsertOder() [2/2]
const std::vector< std::string > & getComponentInsertOder |
( |
| ) |
const |
|
inline |
get component insert order
Definition at line 86 of file VXDGeometryPar.h.
86{return m_componentInsertOrder;}
◆ getComponentMap() [1/2]
get component maps
Definition at line 80 of file VXDGeometryPar.h.
80{return m_componentCache; }
◆ getComponentMap() [2/2]
get component maps
Definition at line 78 of file VXDGeometryPar.h.
78{return m_componentCache; }
◆ getEnvelope()
◆ getGlobalParams()
◆ getHalfShells() [1/2]
◆ 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 |
◆ getRadiationSensors()
get radiation sensor parameters
Definition at line 54 of file VXDGeometryPar.h.
54{return m_radiationsensors;}
◆ 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 |
get sensitive chip id map
Definition at line 84 of file VXDGeometryPar.h.
84{return m_sensitiveIDCache;}
◆ 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()
set envelope parameters
Definition at line 52 of file VXDGeometryPar.h.
52{m_envelope = envelope;}
◆ setGlobalParams()
set global parameters
Definition at line 48 of file VXDGeometryPar.h.
48{ m_globals = globals;}
◆ setPrefix()
void setPrefix |
( |
const std::string & | prefix | ) |
|
|
inline |
◆ setRadiationSensors()
set radiation sensor parameters
Definition at line 56 of file VXDGeometryPar.h.
56{m_radiationsensors = diamonds;}
◆ 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: