#include <InDetServMatTool.h>
Definition at line 24 of file InDetServMatTool.h.
◆ InDetServMatTool()
InDetServMatTool::InDetServMatTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~InDetServMatTool()
InDetServMatTool::~InDetServMatTool |
( |
| ) |
|
|
overridevirtual |
◆ align()
◆ ATLAS_NOT_THREAD_SAFE()
virtual StatusCode registerCallback GeoModelTool::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
overridevirtualinherited |
◆ clear()
StatusCode InDetServMatTool::clear |
( |
| ) |
|
|
overridevirtual |
◆ create()
StatusCode InDetServMatTool::create |
( |
| ) |
|
|
overridevirtual |
Create the Detector Node corresponding to this tool.
Definition at line 53 of file InDetServMatTool.cxx.
58 msg(MSG::WARNING) <<
"You are using a development version. There are no guarantees of stability"
68 <<
"Could not find GeoModelExperiment ATLAS"
70 return (StatusCode::FAILURE);
80 return (StatusCode::FAILURE);
88 GeoModelIO::ReadGeoModel* sqliteReader =
m_geoDbTagSvc->getSqliteReader();
98 std::string versionTag = accessSvc->getChildTag(
"InDetServices", versionKey.tag(), versionKey.node());
102 if (versionTag.empty()) {
103 msg(MSG::INFO) <<
"No InDetService Version. InDetService will not be built." <<
endmsg;
104 if(msgLvl(
MSG::DEBUG))
msg() <<
"InnerDetector Version Tag: " << versionKey.tag() <<
" at Node: "
105 << versionKey.node() <<
endmsg;
106 return StatusCode::SUCCESS;
109 if(msgLvl(
MSG::DEBUG))
msg() <<
"Keys for InDetServMat Switches are " << versionKey.tag() <<
" " << versionKey.node() <<
endmsg;
111 std::string versionName;
112 std::string descrName=
"noDescr";
113 if (!accessSvc->getChildTag(
"InDetServSwitches", versionKey.tag(), versionKey.node()).empty()) {
114 IRDBRecordset_ptr switchSet = accessSvc->getRecordsetPtr(
"InDetServSwitches", versionKey.tag(), versionKey.node());
115 const IRDBRecord *switchTable = (*switchSet)[0];
116 versionName = switchTable->
getString(
"VERSIONNAME");
117 if (!switchTable->
isFieldNull(
"DESCRIPTION")) descrName = switchTable->
getString(
"DESCRIPTION");
122 msg(MSG::INFO) <<
"Overriding version name: " << versionName <<
endmsg;
125 msg(MSG::INFO) <<
"Building Inner Detector Service Material. Version: " << versionName <<
endmsg;
129 if (
sc.isFailure()) {
131 return (StatusCode::FAILURE);
142 if (versionName ==
"SLHC") {
145 if (!
sc.isFailure()) {
149 msg(MSG::ERROR) <<
"Could not retrieve " <<
m_builderTool <<
", some services will not be built." <<
endmsg;
154 msg(MSG::INFO) <<
"Service builder tool not specified." <<
endmsg;
161 if (versionName ==
"CSC") {
164 theIDSM.create(world);
168 msg(MSG::ERROR) <<
" Unrecognized VersionName: " << versionName <<
endmsg;
169 return StatusCode::FAILURE;
175 theIDSM.create(world);
179 catch (
const std::bad_alloc&) {
181 return StatusCode::FAILURE;
190 return StatusCode::FAILURE;
◆ manager() [1/2]
GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
|
|
virtualinherited |
The Detector Node corresponding to this tool.
Definition at line 21 of file GeoModelTool.cxx.
◆ manager() [2/2]
const GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
const |
|
virtualinherited |
◆ m_athenaComps
◆ m_builderTool
◆ m_detector
GeoVDetectorManager* GeoModelTool::m_detector |
|
protectedinherited |
◆ m_devVersion
bool InDetServMatTool::m_devVersion {false} |
|
private |
◆ m_geoDbTagSvc
◆ m_geometryDBSvc
◆ m_manager
◆ m_overrideVersionName
std::string InDetServMatTool::m_overrideVersionName {} |
|
private |
The documentation for this class was generated from the following files: