![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
45 GeoPhysVol *world = theExpt->getPhysVol();
56 GeoModelIO::ReadGeoModel* sqliteReader =
m_geoDbTagSvc->getSqliteReader();
63 ATH_MSG_INFO(
" Building TRT geometry from GeoModel factory TRTDetectorFactory_Lite" );
74 theTRTFactory.
create(world);
80 ATH_MSG_INFO(
"Building TRT with Version Tag: "<< versionKey.
tag() <<
" at Node: " << versionKey.
node() );
83 std::string trtVersionTag = accessSvc->getChildTag(
"TRT", versionKey.
tag(), versionKey.
node());
88 if (trtVersionTag.empty()) {
90 return StatusCode::SUCCESS;
97 if (switches->
getInt(
"DC1COMPATIBLE")) {
98 ATH_MSG_ERROR(
"DC1COMPATIBLE flag set in database, but DC1 is no longer supported in the code!!");
99 return StatusCode::FAILURE;
116 ATH_MSG_INFO(
"TRT Geometry Options:" << std::boolalpha );
125 ATH_MSG_INFO(
" Building TRT geometry from GeoModel factory TRTDetectorFactory_Full" );
137 theTRTFactory.
create(world);
143 if (!
m_manager)
return StatusCode::FAILURE;
147 return StatusCode::SUCCESS;
166 if (m_useDynamicAlignFolders){
173 if (trttmp.isFailure()) {
174 msg(MSG::ERROR) <<
"Problem when register callback on global Container with folder " <<
folderName <<
endmsg;
176 sc = StatusCode::SUCCESS;
179 msg(MSG::WARNING) <<
"Unable to register callback on global Container with folder " <<
folderName <<
endmsg;
180 return StatusCode::FAILURE;
188 if(sctmp.isFailure()) {
189 msg(MSG::ERROR) <<
"Problem when register callback on AlignableTransformContainer with folder " <<
folderName <<
endmsg;
191 sc = StatusCode::SUCCESS;
195 msg(MSG::WARNING) <<
"Unable to register callback on AlignableTransformContainer with folder "
197 return StatusCode::FAILURE;
207 if (sctmp.isFailure()) {
208 msg(MSG::ERROR) <<
"Problem when register callback on AlignableTransformContainer with folder " <<
folderName <<
endmsg;
210 sc = StatusCode::SUCCESS;
213 msg(MSG::WARNING) <<
"Unable to register callback on AlignableTransformContainer with folder "
214 <<
folderName <<
", Alignments disabled! (Only if no Run2 schema is loaded)" <<
endmsg;
227 if (sctmp.isFailure()) {
228 msg(MSG::ERROR) <<
"Problem when register callback on StrawDxContainer with folder " <<
folderName <<
endmsg;
230 sc = StatusCode::SUCCESS;
238 msg(MSG::INFO) <<
"Alignment disabled. No callback registered" <<
endmsg;
253 return StatusCode::SUCCESS;
262 msg(MSG::WARNING) <<
"Manager does not exist" <<
endmsg;
263 return StatusCode::FAILURE;
269 return StatusCode::SUCCESS;
virtual int getInt(const std::string &fieldName) const =0
Get int field value.
def retrieve(aClass, aKey=None)
virtual const std::string & getString(const std::string &fieldName) const =0
Get string field value.
virtual void create(GeoPhysVol *world) override
const std::string & node() const
Return the version node.
#define IOVSVC_CALLBACK_ARGS_P(I, K)
short hand for IOVSvc call back argument list, to be used when access to formal arguments is needed,...
void setGeoDbTagSvc(IGeoDbTagSvc *)
void setDetStore(StoreGateSvc *)
virtual const InDetDD::TRT_DetectorManager * getDetectorManager() const override
virtual void create(GeoPhysVol *world) override
Definition of the abstract IRDBAccessSvc interface.
msgSvc
Provide convenience handles for various services.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag a...
Default, invalid implementation of ClassID_traits.
const std::string & tag() const
Return version tag.
void setRDBAccessSvc(IRDBAccessSvc *)
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
StatusCode align(IOVSVC_CALLBACK_ARGS) const
Definition of the abstract IRDBRecord interface.
IRDBRecord is one record in the IRDBRecordset object.
void setGeometryDBSvc(IGeometryDBSvc *)
virtual const InDetDD::TRT_DetectorManager * getDetectorManager() const override
Definition of the abstract IRDBRecordset interface.
This class creates the TRT Geometry.
Class for storing/accessing trt endpoint corrections data.