#include <LArDetectorToolH62004.h>
Definition at line 10 of file LArDetectorToolH62004.h.
◆ LArDetectorToolH62004()
LArDetectorToolH62004::LArDetectorToolH62004 |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~LArDetectorToolH62004()
LArDetectorToolH62004::~LArDetectorToolH62004 |
( |
| ) |
|
|
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 LArDetectorToolH62004::create |
( |
| ) |
|
|
finaloverridevirtual |
Create the Detector Node corresponding to this tool.
Definition at line 58 of file LArDetectorToolH62004.cxx.
80 if (StatusCode::SUCCESS !=
sc) {
81 log << MSG::ERROR <<
"Could not find GeoDbTagSvc" <<
endmsg;
83 return (StatusCode::FAILURE);
90 sc=service(
"RDBAccessSvc",accessSvc);
91 if (StatusCode::SUCCESS !=
sc) {
93 <<
"Could not find RDBAccessSvc"
96 return (StatusCode::FAILURE);
99 std::string detectorKey = LArVersion.empty() ?
AtlasVersion : LArVersion;
100 std::string detectorNode = LArVersion.empty() ?
"ATLAS" :
"LAr";
101 log << MSG::INFO <<
"Keys for LAr are " << detectorKey <<
" " << detectorNode <<
endmsg;
104 log << MSG::INFO <<
"Creating the LAr " <<
endmsg;
105 log << MSG::INFO <<
"LAr Geometry Options:" <<
endmsg;
115 if (StatusCode::SUCCESS !=
sc) {
117 <<
"Could not find GeoModelExperiment ATLAS"
120 return (StatusCode::FAILURE);
125 std::string geometryLayout =
"Atlas";
126 std::string LArTag = accessSvc->
getChildTag(
"LAr",detectorKey,detectorNode);
144 GeoIntrusivePtr<GeoPhysVol>world=&*theExpt->
getPhysVol();
145 theLArFactory.create(world);
146 }
catch (
const std::bad_alloc&) {
149 return StatusCode::FAILURE;
152 theExpt->
addManager(theLArFactory.getDetectorManager());
153 sc=
detStore()->record(theLArFactory.getDetectorManager(),theLArFactory.getDetectorManager()->getName());
154 if (StatusCode::SUCCESS !=
sc) {
156 <<
"Could not record LArFactory to DetStore"
159 return (StatusCode::FAILURE);
163 return StatusCode::SUCCESS;
169 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_checkother
bool LArDetectorToolH62004::m_checkother |
|
private |
◆ m_checkprim
bool LArDetectorToolH62004::m_checkprim |
|
private |
◆ m_coldnose
bool LArDetectorToolH62004::m_coldnose |
|
private |
◆ m_detector
GeoVDetectorManager* GeoModelTool::m_detector |
|
protectedinherited |
◆ m_emec
bool LArDetectorToolH62004::m_emec |
|
private |
◆ m_fcal
bool LArDetectorToolH62004::m_fcal |
|
private |
◆ m_hec
bool LArDetectorToolH62004::m_hec |
|
private |
◆ m_isrun1
bool LArDetectorToolH62004::m_isrun1 |
|
private |
◆ m_printstep
bool LArDetectorToolH62004::m_printstep |
|
private |
◆ m_xcryo
float LArDetectorToolH62004::m_xcryo |
|
private |
◆ m_ytable
float LArDetectorToolH62004::m_ytable |
|
private |
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.