ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
BoxEnvelope Class Referencefinal

#include <BoxEnvelope.h>

Inheritance diagram for BoxEnvelope:
Collaboration diagram for BoxEnvelope:

Public Member Functions

 BoxEnvelope (const std::string &type, const std::string &name, const IInterface *parent)
 Basic constructor and destructor. More...
 
 ~BoxEnvelope ()=default
 
virtual void BuildGeometry () override final
 virtual methods being implemented here More...
 
StatusCode initialize () override
 Athena method. More...
 
virtual void Build () override
 purely virtual methods being implemented here More...
 
virtual void PositionInParent () override
 
virtual void SetRotationAndOffset ()
 
virtual void BuildSubDetectors () override
 
virtual void SetEnvelope () override
 
virtual void ResetEnvelope () override
 
virtual void SetAsWorld () override
 
std::string GetDetectorName () const override
 
void SetDetectorName (const std::string &) override
 
void SetParent (IDetectorGeometryTool *) override
 
EnvelopeGetEnvelope () override final
 
G4VPhysicalVolume * GetWorldVolume () override final
 

Protected Attributes

ToolHandleArray< IDetectorGeometryToolm_subDetTools {this, "SubDetectors", {}, "Tool handle array of all subdetector tools"}
 
ServiceHandle< IG4GeometryNotifierSvcm_notifierSvc {this, "GeometryNotifierSvc", "G4GeometryNotifierSvc", "Detector name (same as the Tool name if not set"}
 
IDetectorGeometryToolm_theParent {}
 
Envelope m_envelope
 
Gaudi::Property< std::string > m_detectorName {this, "DetectorName", "", "Detector name (same as the Tool name if not set"}
 
bool m_isWorld {false}
 
Gaudi::Property< double > m_rotateX {this, "RotateX" , 0.0, "Rotation around the X-axis"}
 
Gaudi::Property< double > m_rotateY {this, "RotateY" , 0.0, "Rotation around the Y-axis"}
 
Gaudi::Property< double > m_rotateZ {this, "RotateZ" , 0.0, "Rotation around the Z-axis"}
 
Gaudi::Property< double > m_offsetX {this, "OffsetX" , 0.0, "Offset in the X-direction"}
 
Gaudi::Property< double > m_offsetY {this, "OffsetY" , 0.0, "Offset in the Y-direction"}
 
Gaudi::Property< double > m_offsetZ {this, "OffsetZ" , 0.0, "Offset in the Z-direction"}
 

Private Attributes

Gaudi::Property< double > m_dX {this, "dX", 0., "Envelope dX"}
 
Gaudi::Property< double > m_dY {this, "dY", 0., "Envelope dY"}
 
Gaudi::Property< double > m_dZ {this, "dZ", 0., "Envelope dZ"}
 
Gaudi::Property< std::string > m_materialName {this, "Material", "Air", "Envelope Material"}
 
Gaudi::Property< unsigned int > m_numberOfHoles {this, "NumberOfHoles", 0, "Number of hole volumes to subtract from the initial envelope volume."}
 
Gaudi::Property< std::vector< std::string > > m_holeNames {this, "HoleNames", {} }
 
Gaudi::Property< std::vector< double > > m_hole_dX {this, "Hole_dX", {} }
 
Gaudi::Property< std::vector< double > > m_hole_dY {this, "Hole_dY", {} }
 
Gaudi::Property< std::vector< double > > m_hole_dZ {this, "Hole_dZ", {} }
 
Gaudi::Property< std::vector< double > > m_holePosX {this, "HolePosX", {} }
 
Gaudi::Property< std::vector< double > > m_holePosY {this, "HolePosY", {} }
 
Gaudi::Property< std::vector< double > > m_holePosZ {this, "HolePosZ", {} }
 

Detailed Description

Todo:
TODO needs documentation

Definition at line 21 of file BoxEnvelope.h.

Constructor & Destructor Documentation

◆ BoxEnvelope()

BoxEnvelope::BoxEnvelope ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Basic constructor and destructor.

Definition at line 18 of file BoxEnvelope.cxx.

20 {
21 }

◆ ~BoxEnvelope()

BoxEnvelope::~BoxEnvelope ( )
default

Member Function Documentation

◆ Build()

void DetectorGeometryBase::Build ( )
overridevirtualinherited

purely virtual methods being implemented here

Definition at line 53 of file DetectorGeometryBase.cxx.

54 {
55  ATH_MSG_VERBOSE( name() << "::Build() (Base class method): Starting. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->size() );
56 
57  SetEnvelope();
58  ATH_MSG_VERBOSE( name() << "::Build() - Envelope set. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->size() );
59 
60  m_notifierSvc->SetCurrentDetectorName(m_detectorName.value());
61  BuildGeometry();
62  ATH_MSG_VERBOSE( name() << "::Build() - Geometry built. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->size() );
63 
65  ATH_MSG_VERBOSE( name() << "::Build() - Volume moved around. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->size() );
66 
68  ATH_MSG_VERBOSE( name() << "::Build() - Connected with parent. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->size() );
69 
71  ATH_MSG_VERBOSE( name() << "::Build() (Base class method): Finished. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->size() );
72  return;
73 }

◆ BuildGeometry()

void BoxEnvelope::BuildGeometry ( )
finaloverridevirtual

virtual methods being implemented here

Reimplemented from DetectorGeometryBase.

Definition at line 23 of file BoxEnvelope.cxx.

24 {
25  ATH_MSG_VERBOSE( "BoxEnvelope::BuildGeometry: Name " << this->name() );
26  ATH_MSG_VERBOSE( "BoxEnvelope::BuildGeometry: "<<m_dX<<" "<<m_dY<<" "<<m_dZ );
27 
28  // Get nist material manager
29  G4NistManager *nist = G4NistManager::Instance();
30 
31  G4Material *mat = nist->FindOrBuildMaterial(m_materialName.value());
32 
33  G4VSolid *solid = new G4Box(m_detectorName.value(),m_dX,m_dY,m_dZ);
34  if (m_numberOfHoles)
35  {
36  if(m_holeNames.size() != m_numberOfHoles)
37  {
38  ATH_MSG_ERROR("Size of m_holeNames("<<m_holeNames.size()<<") differs from no. of holes "<<m_numberOfHoles<<"!!!");
39  }
40  if(m_hole_dX.size() != m_numberOfHoles)
41  {
42  ATH_MSG_ERROR("Size of m_hole_dX("<<m_hole_dX.size()<<") differs from no. of holes "<<m_numberOfHoles<<"!!!");
43  }
44  if(m_hole_dY.size() != m_numberOfHoles)
45  {
46  ATH_MSG_ERROR("Size of m_hole_dY("<<m_hole_dY.size()<<") differs from no. of holes "<<m_numberOfHoles<<"!!!");
47  }
48  if(m_hole_dZ.size() != m_numberOfHoles)
49  {
50  ATH_MSG_ERROR("Size of m_hole_dZ("<<m_hole_dZ.size()<<") differs from no. of holes "<<m_numberOfHoles<<"!!!");
51  }
52  if(m_holePosX.size() != m_numberOfHoles)
53  {
54  ATH_MSG_ERROR("Size of m_holePosX("<<m_holePosX.size()<<") differs from no. of holes "<<m_numberOfHoles<<"!!!");
55  }
56  if(m_holePosY.size() != m_numberOfHoles)
57  {
58  ATH_MSG_ERROR("Size of m_holePosY("<<m_holePosY.size()<<") differs from no. of holes "<<m_numberOfHoles<<"!!!");
59  }
60  if(m_holePosZ.size() != m_numberOfHoles)
61  {
62  ATH_MSG_ERROR("Size of m_holePosZ("<<m_holePosZ.size()<<") differs from no. of holes "<<m_numberOfHoles<<"!!!");
63  }
64  for(unsigned int nSub(0); nSub<m_numberOfHoles; ++nSub)
65  {
66  G4ThreeVector size=G4ThreeVector();
67  std::string n=m_holeNames.value().at(nSub);
68  G4VSolid *temp=new G4Box("",m_hole_dX.value().at(nSub), m_hole_dY.value().at(nSub), m_hole_dZ.value().at(nSub));
69  G4ThreeVector tPos=G4ThreeVector(m_holePosX.value().at(nSub), m_holePosY.value().at(nSub), m_holePosZ.value().at(nSub));
70  solid=new G4SubtractionSolid(m_detectorName.value(),solid,temp,0,tPos);
71  }
72  }
73 
74  G4LogicalVolume* logicWorld = new G4LogicalVolume(solid,mat,m_detectorName.value());
75 
76  m_envelope.theEnvelope=logicWorld;
77 }

◆ BuildSubDetectors()

void DetectorGeometryBase::BuildSubDetectors ( )
overridevirtualinherited

Definition at line 155 of file DetectorGeometryBase.cxx.

156 {
157  ATH_MSG_VERBOSE( name() << "::BuildSubDetectors() (Base class method): Starting");
158  for (auto& subDetTool: m_subDetTools)
159  {
160  ATH_MSG_VERBOSE(name() << "::BuildSubDetectors() (Base class method): Positioning "<<subDetTool->GetDetectorName()<<" within "<<m_detectorName.value());
161  subDetTool->SetParent(this);
162  subDetTool->Build();
163  }
164  ATH_MSG_VERBOSE( name() << "::BuildSubDetectors() (Base class method): Finished");
165 }

◆ GetDetectorName()

std::string DetectorGeometryBase::GetDetectorName ( ) const
overrideinherited

Definition at line 180 of file DetectorGeometryBase.cxx.

181 {
182  return m_detectorName.value();
183 }

◆ GetEnvelope()

Envelope & DetectorGeometryBase::GetEnvelope ( )
finaloverrideinherited

Definition at line 195 of file DetectorGeometryBase.cxx.

196 {
197  return m_envelope;
198 }

◆ GetWorldVolume()

G4VPhysicalVolume * DetectorGeometryBase::GetWorldVolume ( )
finaloverrideinherited

Definition at line 200 of file DetectorGeometryBase.cxx.

201 {
202  if (m_isWorld)
204  else
205  {
206  ATH_MSG_ERROR("trying to get World from a DetectorTool which World is not!");
207  return 0;
208  }
209 }

◆ initialize()

StatusCode DetectorGeometryBase::initialize ( )
overrideinherited

Athena method.

called at initialization time, being customized here

Definition at line 19 of file DetectorGeometryBase.cxx.

20 {
21  ATH_MSG_VERBOSE( name() << "::initialize(): starting." );
22  if(m_detectorName.empty())
23  {
24  m_detectorName = this->name();
25  // re-initialize m_detectorName in order to take the real detector name rather than the path to it
26  size_t ipos=m_detectorName.value().find_last_of('.');
27  size_t length=m_detectorName.value().size();
28  if (ipos<length)
29  {
30  ATH_MSG_VERBOSE( "m_detectorName: " << m_detectorName.value() << " needs to be reset.");
31  m_detectorName=m_detectorName.value().substr(ipos+1,length-ipos-1);
32  ATH_MSG_VERBOSE( "m_detectorName default value reset to " << m_detectorName.value());
33  }
34  }
35  ATH_MSG_DEBUG( name() << "::initialize() (Base class method): Detector name = " << m_detectorName.value() );
36  CHECK(m_notifierSvc.retrieve());
37 
38  // This fires initialize() for each of those tools
39  if (m_subDetTools.size())
40  {
41  ATH_MSG_DEBUG( name() << "::initialize(): Initializing list of " << m_subDetTools.size() << " detectors." );
42  CHECK( m_subDetTools.retrieve() );
43  }
44  else
45  {
46  ATH_MSG_DEBUG( name() << "::initialize(): no sub-detectors to initialize." );
47  }
48 
49  ATH_MSG_VERBOSE( name() << "::initialize(): finished." );
50  return StatusCode::SUCCESS;
51 }

◆ PositionInParent()

void DetectorGeometryBase::PositionInParent ( )
overridevirtualinherited

Reimplemented in GeoDetectorTool.

Definition at line 120 of file DetectorGeometryBase.cxx.

121 {
122  ATH_MSG_VERBOSE( name() << "::PositionInParent() (Base class method)");
123  if (m_isWorld)
124  {
125  // check that the detector is built
126  if (m_envelope.IsBuilt())
127  {
128  G4VPhysicalVolume* physWorld= new G4PVPlacement(0,G4ThreeVector(),
129  m_envelope.theEnvelope,m_envelope.theEnvelope->GetName(),0,false,0,false);
131  }
132  }
133  else
134  {
135  // check that there is a parent
136  if (!m_theParent)
137  {
138  ATH_MSG_ERROR("Parent not set for "<<m_detectorName.value()<<"!!!!!!!!!!");
139  }
140  else
141  {
143  {
144  // G4VPhysicalVolume *physVol = new G4PVPlacement(0,G4ThreeVector(),
145  // m_envelope.theEnvelope,m_envelope.theEnvelope->GetName(),m_theParent->GetEnvelope().theEnvelope,false,0,false);
146  // TODO: implement a possible rotation/displacement - something like this based on the old code?
147  G4VPhysicalVolume *physVol = new G4PVPlacement(m_envelope.theRotation,m_envelope.thePosition,
150  }
151  }
152  }
153 }

◆ ResetEnvelope()

void DetectorGeometryBase::ResetEnvelope ( )
overridevirtualinherited

Definition at line 171 of file DetectorGeometryBase.cxx.

172 {
173 }

◆ SetAsWorld()

void DetectorGeometryBase::SetAsWorld ( )
overridevirtualinherited

Definition at line 185 of file DetectorGeometryBase.cxx.

186 {
187  m_isWorld=true;
188 }

◆ SetDetectorName()

void DetectorGeometryBase::SetDetectorName ( const std::string &  s)
overrideinherited

Definition at line 175 of file DetectorGeometryBase.cxx.

176 {
178 }

◆ SetEnvelope()

void DetectorGeometryBase::SetEnvelope ( )
overridevirtualinherited

Definition at line 167 of file DetectorGeometryBase.cxx.

168 {
169 }

◆ SetParent()

void DetectorGeometryBase::SetParent ( IDetectorGeometryTool p)
overrideinherited

Definition at line 190 of file DetectorGeometryBase.cxx.

191 {
192  m_theParent=p;
193 }

◆ SetRotationAndOffset()

void DetectorGeometryBase::SetRotationAndOffset ( )
virtualinherited

Definition at line 80 of file DetectorGeometryBase.cxx.

81 {
82  ATH_MSG_VERBOSE( name() << "::SetRotationAndOffset() (Base class method)");
83  // Firstly do the rotation
85  {
86  // m_envelope.theRotation is null, so create an identity
87  // rotation first.
88  // FIXME probably a neater way to do this part.
89  m_envelope.theRotation=new G4RotationMatrix;
90  // add the extra rotations.
95  {
96  // Override the rotation for m_envelope.thePositionedVolume.
98  }
99  }
100  else
101  {
102  // m_envelope.theRotation already exists, so just add the
103  // extra rotations.
104  m_envelope.theRotation->rotateX(m_rotateX);
105  m_envelope.theRotation->rotateY(m_rotateY);
106  m_envelope.theRotation->rotateZ(m_rotateZ);
107  }
108  // Secondly add the additional position offset to the existing
109  // m_envelope.thePosition vector.
112  {
113  // Override the translation for m_envelope.thePositionedVolume.
115  }
116 
117  ATH_MSG_VERBOSE( name() << "::SetRotationAndOffset() (Base class method): Finished" );
118  return;
119 }

Member Data Documentation

◆ m_detectorName

Gaudi::Property<std::string> DetectorGeometryBase::m_detectorName {this, "DetectorName", "", "Detector name (same as the Tool name if not set"}
protectedinherited

Definition at line 71 of file DetectorGeometryBase.h.

◆ m_dX

Gaudi::Property<double> BoxEnvelope::m_dX {this, "dX", 0., "Envelope dX"}
private

Definition at line 33 of file BoxEnvelope.h.

◆ m_dY

Gaudi::Property<double> BoxEnvelope::m_dY {this, "dY", 0., "Envelope dY"}
private

Definition at line 34 of file BoxEnvelope.h.

◆ m_dZ

Gaudi::Property<double> BoxEnvelope::m_dZ {this, "dZ", 0., "Envelope dZ"}
private

Definition at line 35 of file BoxEnvelope.h.

◆ m_envelope

Envelope DetectorGeometryBase::m_envelope
protectedinherited

Definition at line 70 of file DetectorGeometryBase.h.

◆ m_hole_dX

Gaudi::Property<std::vector<double> > BoxEnvelope::m_hole_dX {this, "Hole_dX", {} }
private

Definition at line 39 of file BoxEnvelope.h.

◆ m_hole_dY

Gaudi::Property<std::vector<double> > BoxEnvelope::m_hole_dY {this, "Hole_dY", {} }
private

Definition at line 40 of file BoxEnvelope.h.

◆ m_hole_dZ

Gaudi::Property<std::vector<double> > BoxEnvelope::m_hole_dZ {this, "Hole_dZ", {} }
private

Definition at line 41 of file BoxEnvelope.h.

◆ m_holeNames

Gaudi::Property<std::vector<std::string> > BoxEnvelope::m_holeNames {this, "HoleNames", {} }
private

Definition at line 38 of file BoxEnvelope.h.

◆ m_holePosX

Gaudi::Property<std::vector<double> > BoxEnvelope::m_holePosX {this, "HolePosX", {} }
private

Definition at line 42 of file BoxEnvelope.h.

◆ m_holePosY

Gaudi::Property<std::vector<double> > BoxEnvelope::m_holePosY {this, "HolePosY", {} }
private

Definition at line 43 of file BoxEnvelope.h.

◆ m_holePosZ

Gaudi::Property<std::vector<double> > BoxEnvelope::m_holePosZ {this, "HolePosZ", {} }
private

Definition at line 44 of file BoxEnvelope.h.

◆ m_isWorld

bool DetectorGeometryBase::m_isWorld {false}
protectedinherited

Definition at line 72 of file DetectorGeometryBase.h.

◆ m_materialName

Gaudi::Property<std::string> BoxEnvelope::m_materialName {this, "Material", "Air", "Envelope Material"}
private

Definition at line 36 of file BoxEnvelope.h.

◆ m_notifierSvc

ServiceHandle<IG4GeometryNotifierSvc> DetectorGeometryBase::m_notifierSvc {this, "GeometryNotifierSvc", "G4GeometryNotifierSvc", "Detector name (same as the Tool name if not set"}
protectedinherited

Definition at line 66 of file DetectorGeometryBase.h.

◆ m_numberOfHoles

Gaudi::Property<unsigned int> BoxEnvelope::m_numberOfHoles {this, "NumberOfHoles", 0, "Number of hole volumes to subtract from the initial envelope volume."}
private

Definition at line 37 of file BoxEnvelope.h.

◆ m_offsetX

Gaudi::Property<double> DetectorGeometryBase::m_offsetX {this, "OffsetX" , 0.0, "Offset in the X-direction"}
protectedinherited

Definition at line 76 of file DetectorGeometryBase.h.

◆ m_offsetY

Gaudi::Property<double> DetectorGeometryBase::m_offsetY {this, "OffsetY" , 0.0, "Offset in the Y-direction"}
protectedinherited

Definition at line 77 of file DetectorGeometryBase.h.

◆ m_offsetZ

Gaudi::Property<double> DetectorGeometryBase::m_offsetZ {this, "OffsetZ" , 0.0, "Offset in the Z-direction"}
protectedinherited

Definition at line 78 of file DetectorGeometryBase.h.

◆ m_rotateX

Gaudi::Property<double> DetectorGeometryBase::m_rotateX {this, "RotateX" , 0.0, "Rotation around the X-axis"}
protectedinherited

Definition at line 73 of file DetectorGeometryBase.h.

◆ m_rotateY

Gaudi::Property<double> DetectorGeometryBase::m_rotateY {this, "RotateY" , 0.0, "Rotation around the Y-axis"}
protectedinherited

Definition at line 74 of file DetectorGeometryBase.h.

◆ m_rotateZ

Gaudi::Property<double> DetectorGeometryBase::m_rotateZ {this, "RotateZ" , 0.0, "Rotation around the Z-axis"}
protectedinherited

Definition at line 75 of file DetectorGeometryBase.h.

◆ m_subDetTools

ToolHandleArray<IDetectorGeometryTool> DetectorGeometryBase::m_subDetTools {this, "SubDetectors", {}, "Tool handle array of all subdetector tools"}
protectedinherited

Definition at line 64 of file DetectorGeometryBase.h.

◆ m_theParent

IDetectorGeometryTool* DetectorGeometryBase::m_theParent {}
protectedinherited

Definition at line 68 of file DetectorGeometryBase.h.


The documentation for this class was generated from the following files:
DetectorGeometryBase::SetEnvelope
virtual void SetEnvelope() override
Definition: DetectorGeometryBase.cxx:167
BoxEnvelope::m_materialName
Gaudi::Property< std::string > m_materialName
Definition: BoxEnvelope.h:36
DetectorGeometryBase::m_rotateX
Gaudi::Property< double > m_rotateX
Definition: DetectorGeometryBase.h:73
BoxEnvelope::m_dZ
Gaudi::Property< double > m_dZ
Definition: BoxEnvelope.h:35
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
Envelope::thePositionedVolume
G4VPhysicalVolume * thePositionedVolume
Definition: IDetectorGeometryTool.h:21
BoxEnvelope::m_holeNames
Gaudi::Property< std::vector< std::string > > m_holeNames
Definition: BoxEnvelope.h:38
Envelope::IsBuilt
bool IsBuilt()
Definition: IDetectorGeometryTool.h:19
Envelope::theEnvelope
G4LogicalVolume * theEnvelope
Definition: IDetectorGeometryTool.h:20
DetectorGeometryBase::m_rotateZ
Gaudi::Property< double > m_rotateZ
Definition: DetectorGeometryBase.h:75
DetectorGeometryBase::BuildGeometry
virtual void BuildGeometry() override
Definition: DetectorGeometryBase.cxx:75
mat
GeoMaterial * mat
Definition: LArDetectorConstructionTBEC.cxx:55
DetectorGeometryBase::m_subDetTools
ToolHandleArray< IDetectorGeometryTool > m_subDetTools
Definition: DetectorGeometryBase.h:64
BoxEnvelope::m_dX
Gaudi::Property< double > m_dX
Definition: BoxEnvelope.h:33
BoxEnvelope::m_dY
Gaudi::Property< double > m_dY
Definition: BoxEnvelope.h:34
DetectorGeometryBase::m_isWorld
bool m_isWorld
Definition: DetectorGeometryBase.h:72
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
DetectorGeometryBase::SetRotationAndOffset
virtual void SetRotationAndOffset()
Definition: DetectorGeometryBase.cxx:80
BoxEnvelope::m_hole_dX
Gaudi::Property< std::vector< double > > m_hole_dX
Definition: BoxEnvelope.h:39
BoxEnvelope::m_hole_dZ
Gaudi::Property< std::vector< double > > m_hole_dZ
Definition: BoxEnvelope.h:41
BoxEnvelope::m_holePosZ
Gaudi::Property< std::vector< double > > m_holePosZ
Definition: BoxEnvelope.h:44
DetectorGeometryBase::m_offsetZ
Gaudi::Property< double > m_offsetZ
Definition: DetectorGeometryBase.h:78
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
DetectorGeometryBase::m_offsetY
Gaudi::Property< double > m_offsetY
Definition: DetectorGeometryBase.h:77
DetectorGeometryBase::m_offsetX
Gaudi::Property< double > m_offsetX
Definition: DetectorGeometryBase.h:76
Envelope::thePosition
G4ThreeVector thePosition
Definition: IDetectorGeometryTool.h:23
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
beamspotman.n
n
Definition: beamspotman.py:731
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
DetectorGeometryBase::DetectorGeometryBase
DetectorGeometryBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition: DetectorGeometryBase.cxx:13
DetectorGeometryBase::m_notifierSvc
ServiceHandle< IG4GeometryNotifierSvc > m_notifierSvc
Definition: DetectorGeometryBase.h:66
IDetectorGeometryTool::GetEnvelope
virtual Envelope & GetEnvelope()=0
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
BoxEnvelope::m_holePosY
Gaudi::Property< std::vector< double > > m_holePosY
Definition: BoxEnvelope.h:43
DetectorGeometryBase::m_envelope
Envelope m_envelope
Definition: DetectorGeometryBase.h:70
DetectorGeometryBase::PositionInParent
virtual void PositionInParent() override
Definition: DetectorGeometryBase.cxx:120
DetectorGeometryBase::m_detectorName
Gaudi::Property< std::string > m_detectorName
Definition: DetectorGeometryBase.h:71
DetectorGeometryBase::BuildSubDetectors
virtual void BuildSubDetectors() override
Definition: DetectorGeometryBase.cxx:155
BoxEnvelope::m_holePosX
Gaudi::Property< std::vector< double > > m_holePosX
Definition: BoxEnvelope.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Envelope::theRotation
G4RotationMatrix * theRotation
Definition: IDetectorGeometryTool.h:22
BoxEnvelope::m_numberOfHoles
Gaudi::Property< unsigned int > m_numberOfHoles
Definition: BoxEnvelope.h:37
BoxEnvelope::m_hole_dY
Gaudi::Property< std::vector< double > > m_hole_dY
Definition: BoxEnvelope.h:40
DetectorGeometryBase::m_rotateY
Gaudi::Property< double > m_rotateY
Definition: DetectorGeometryBase.h:74
DetectorGeometryBase::m_theParent
IDetectorGeometryTool * m_theParent
Definition: DetectorGeometryBase.h:68
length
double length(const pvec &v)
Definition: FPGATrackSimLLPDoubletHoughTransformTool.cxx:26