#include <LArDetectorToolH62002.h>
Definition at line 10 of file LArDetectorToolH62002.h.
◆ LArDetectorToolH62002()
LArDetectorToolH62002::LArDetectorToolH62002 |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~LArDetectorToolH62002()
LArDetectorToolH62002::~LArDetectorToolH62002 |
( |
| ) |
|
|
finaloverridevirtual |
◆ align()
◆ ATLAS_NOT_THREAD_SAFE()
virtual StatusCode registerCallback GeoModelTool::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
overridevirtualinherited |
◆ clear()
StatusCode GeoModelTool::clear |
( |
| ) |
|
|
overridevirtualinherited |
Reimplemented in ITk::StripDetectorTool, PixelDetectorTool, ITk::PixelDetectorTool, HGTD_DetectorTool, TRT_DetectorTool, MuonDetectorTool, MuonGMR4::MuonDetectorTool, PLRDetectorTool, SCT_DetectorTool, BCMPrimeDetectorTool, TileDetectorTool, HGTD_GMX_DetectorTool, BeamPipeDetectorTool, ForDetEnvelopeTool, LUCID_DetectorTool, LArDetectorToolNV, InDetServMatTool, and CavernInfraDetectorTool.
Definition at line 28 of file GeoModelTool.cxx.
30 return StatusCode::SUCCESS;
◆ create()
StatusCode LArDetectorToolH62002::create |
( |
| ) |
|
|
finaloverridevirtual |
Create the Detector Node corresponding to this tool.
Definition at line 48 of file LArDetectorToolH62002.cxx.
54 ATH_CHECK(service (
"GeoModelSvc",geoDbTag));
60 ATH_CHECK(service(
"RDBAccessSvc",accessSvc));
62 std::string detectorKey = LArVersion.empty() ?
AtlasVersion : LArVersion;
63 std::string detectorNode = LArVersion.empty() ?
"ATLAS" :
"LAr";
64 log << MSG::INFO <<
"Keys for LAr are " << detectorKey <<
" " << detectorNode <<
endmsg;
67 log << MSG::INFO <<
"Creating the LAr " <<
endmsg;
68 log << MSG::INFO <<
"LAr Geometry Options:" <<
endmsg;
76 <<
"Could not find GeoModelExperiment ATLAS"
78 return (StatusCode::FAILURE);
83 std::string geometryLayout =
"Atlas";
84 std::string LArTag = accessSvc->
getChildTag(
"LAr",detectorKey,detectorNode);
104 GeoIntrusivePtr<GeoPhysVol>world=&*theExpt->
getPhysVol();
105 theLArFactory.create(world);
106 }
catch (
const std::bad_alloc&) {
108 return StatusCode::FAILURE;
111 theExpt->
addManager(theLArFactory.getDetectorManager());
113 theLArFactory.getDetectorManager()->getName()));
116 return StatusCode::SUCCESS;
122 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_detector
GeoVDetectorManager* GeoModelTool::m_detector |
|
protectedinherited |
The documentation for this class was generated from the following files:
virtual std::string getChildTag(const std::string &childNode, const std::string &parentTag, const std::string &parentNode, const std::string &connName="ATLASDD")=0
Gets the tag name for the node by giving its parent node tag.