|
ATLAS Offline Software
|
Go to the documentation of this file.
15 const std::string&
name,
26 std::string cavernInfraVersion = geoDbTag->cavernInfraVersion();
27 if(cavernInfraVersion.empty()) {
28 ATH_MSG_INFO(
"No Cavern Infra version for the given configuration. Skip building CavernInfraGeoModel");
29 return StatusCode::SUCCESS;
32 ATH_MSG_INFO(
"Building Cavern geometry version " << cavernInfraVersion);
35 std::string versionNode =
"CavernInfra";
46 theCavernInfraFactory.
setTagNode(cavernInfraVersion,versionNode);
47 theCavernInfraFactory.
create(world);
56 ATH_MSG_ERROR(
"ERROR. Failed to build Cavern Version " << cavernInfraVersion);
57 return StatusCode::FAILURE;
60 return StatusCode::SUCCESS;
70 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
GeoPhysVol * getPhysVol()
Destructor.
virtual const CavernInfraDetectorManager * getDetectorManager() const override
Definition of the abstract IRDBAccessSvc interface.
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
virtual void create(GeoPhysVol *world) override
void addManager(const GeoVDetectorManager *)
void setTagNode(const std::string &tag, const std::string &node)