#include <AFP_GeoModelTool.h>
Definition at line 13 of file AFP_GeoModelTool.h.
◆ AFP_GeoModelTool()
| AFP_GeoModelTool::AFP_GeoModelTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Constructor(s)
Definition at line 17 of file AFP_GeoModelTool.cxx.
18 : GeoModelTool( type, name, parent )
19{
22
24
33
34
35 declareProperty(
"SID_AddVacuumSensors",
m_defsidcfg.bAddVacuumSensors=
false);
36
37
38
39
40
41
46
51
56
61}
static constexpr double Stat_OuterZDistance
static constexpr double SiT_FarDistanceToFloor
static constexpr double Stat_ShiftInYAxis
static constexpr double Stat_InnerZDistance
static constexpr double SiT_Plate_amount
static constexpr double Stat_RPotFloorDistance
static constexpr double SiT_NearDistanceToFloor
◆ ~AFP_GeoModelTool()
| AFP_GeoModelTool::~AFP_GeoModelTool |
( |
| ) |
|
|
finaloverridevirtual |
◆ ATLAS_NOT_THREAD_SAFE() [1/2]
| virtual StatusCode registerCallback GeoModelTool::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ ATLAS_NOT_THREAD_SAFE() [2/2]
|
|
inlineoverridevirtualinherited |
◆ checkPropertiesSettings()
| StatusCode AFP_GeoModelTool::checkPropertiesSettings |
( |
| ) |
|
|
private |
Definition at line 81 of file AFP_GeoModelTool.cxx.
82{
83 bool bRes=true;
84
88 }
89 else{
90 ATH_MSG_ERROR(
"Mismatch between SID_AFP01XStaggering and number of plates (SID_NumberOfLayers)");
91 bRes=false;
92 }
93 }
97 }
98 else{
99 ATH_MSG_ERROR(
"Mismatch between SID_AFP00YStaggering and number of plates (SID_NumberOfLayers)");
100 bRes=false;
101 }
102 }
103
107 }
108 else{
109 ATH_MSG_ERROR(
"Mismatch between SID_AFP01XStaggering and number of plates (SID_NumberOfLayers)");
110 bRes=false;
111 }
112 }
116 }
117 else{
118 ATH_MSG_ERROR(
"Mismatch between SID_AFP01YStaggering and number of plates (SID_NumberOfLayers)");
119 bRes=false;
120 }
121 }
122
126 }
127 else{
128 ATH_MSG_ERROR(
"Mismatch between SID_AFP02XStaggering and number of plates (SID_NumberOfLayers)");
129 bRes=false;
130 }
131 }
135 }
136 else{
137 ATH_MSG_ERROR(
"Mismatch between SID_AFP02YStaggering and number of plates (SID_NumberOfLayers)");
138 bRes=false;
139 }
140 }
141
145 }
146 else{
147 ATH_MSG_ERROR(
"Mismatch between SID_AFP03XStaggering and number of plates (SID_NumberOfLayers)");
148 bRes=false;
149 }
150 }
154 }
155 else{
156 ATH_MSG_ERROR(
"Mismatch between SID_AFP03YStaggering and number of plates (SID_NumberOfLayers)");
157 bRes=false;
158 }
159 }
160
161 return bRes? StatusCode::SUCCESS:StatusCode::FAILURE;
162}
◆ clear()
| virtual StatusCode GeoModelTool::clear |
( |
| ) |
|
|
inlineoverridevirtualinherited |
Reimplemented in BCMPrimeDetectorTool, BeamPipeDetectorTool, CavernInfraDetectorTool, ForDetEnvelopeTool, HGTD_DetectorTool, HGTD_GMX_DetectorTool, InDetServMatTool, ITk::PixelDetectorTool, ITk::StripDetectorTool, LArDetectorToolNV, LUCID_DetectorTool, MuonDetectorTool, MuonGMR4::MuonDetectorTool, PixelDetectorTool, PLRDetectorTool, SCT_DetectorTool, TileDetectorTool, and TRT_DetectorTool.
Definition at line 25 of file GeoModelTool.h.
25{return StatusCode::SUCCESS;}
◆ create()
| StatusCode AFP_GeoModelTool::create |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 164 of file AFP_GeoModelTool.cxx.
165{
166 GeoModelExperiment * theExpt = nullptr;
168
170
173
175 {
176 try
177 {
180 }
181 catch (std::bad_alloc const&)
182 {
184 return StatusCode::FAILURE;
185 }
186
187
191 return StatusCode::SUCCESS;
192 }
193
194 return StatusCode::FAILURE;
195}
#define ATH_CHECK
Evaluate an expression and check for errors.
GeoPhysVol * getPhysVol()
Destructor.
void addManager(const GeoVDetectorManager *)
retrieve(aClass, aKey=None)
◆ manager() [1/2]
| virtual GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
|
|
inlinevirtualinherited |
◆ manager() [2/2]
| virtual const GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ m_CfgParams
◆ m_defsidcfg
◆ m_detector
| GeoVDetectorManager* GeoModelTool::m_detector {nullptr} |
|
protectedinherited |
◆ m_pAFPDetectorFactory
◆ m_pGeometry
◆ m_vecAFP00XStaggering
| std::vector<double> AFP_GeoModelTool::m_vecAFP00XStaggering |
|
private |
◆ m_vecAFP00YStaggering
| std::vector<double> AFP_GeoModelTool::m_vecAFP00YStaggering |
|
private |
◆ m_vecAFP01XStaggering
| std::vector<double> AFP_GeoModelTool::m_vecAFP01XStaggering |
|
private |
◆ m_vecAFP01YStaggering
| std::vector<double> AFP_GeoModelTool::m_vecAFP01YStaggering |
|
private |
◆ m_vecAFP02XStaggering
| std::vector<double> AFP_GeoModelTool::m_vecAFP02XStaggering |
|
private |
◆ m_vecAFP02YStaggering
| std::vector<double> AFP_GeoModelTool::m_vecAFP02YStaggering |
|
private |
◆ m_vecAFP03XStaggering
| std::vector<double> AFP_GeoModelTool::m_vecAFP03XStaggering |
|
private |
◆ m_vecAFP03YStaggering
| std::vector<double> AFP_GeoModelTool::m_vecAFP03YStaggering |
|
private |
The documentation for this class was generated from the following files: