#include <ToyDetectorTool.h>
Definition at line 11 of file ToyDetectorTool.h.
◆ ToyDetectorTool()
ToyDetectorTool::ToyDetectorTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~ToyDetectorTool()
ToyDetectorTool::~ToyDetectorTool |
( |
| ) |
|
|
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 ToyDetectorTool::create |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 28 of file ToyDetectorTool.cxx.
45 theToyFactory.create(world);
48 catch (
const std::bad_alloc&) {
50 return StatusCode::FAILURE;
53 theExpt->
addManager(theToyFactory.getDetectorManager());
54 if (
detStore()->record(theToyFactory.getDetectorManager(),theToyFactory.getDetectorManager()->getName()).isSuccess())
return StatusCode::SUCCESS;
55 ATH_MSG_FATAL(
"Failed to record Toy Detector Manager into Detector Store!");
58 ATH_MSG_FATAL(
"Attempt to build Toy Detector Geometry one more time. The geometry can be built only once!");
60 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 |
◆ printVolume()
void ToyDetectorTool::printVolume |
( |
GeoPVConstLink |
volime, |
|
|
int |
level = 0 |
|
) |
| |
|
private |
Definition at line 63 of file ToyDetectorTool.cxx.
65 GeoVolumeCursor
cursor(volume);
67 GeoPVConstLink physChild =
cursor.getVolume();
69 for(
int k{0};
k<
level;++
k) std::cout <<
"... ";
71 <<
" Transform:" <<
"\n";
72 for(
int i{0};
i<3;++
i) {
73 for(
int j{0};j<4;++j) {
74 std::cout << position(
i,j) <<
" ";
◆ m_detector
GeoVDetectorManager* GeoModelTool::m_detector |
|
protectedinherited |
The documentation for this class was generated from the following files: