|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "G4PVPlacement.hh"
10 #include "G4RotationMatrix.hh"
11 #include "G4LogicalVolumeStore.hh"
50 return StatusCode::SUCCESS;
55 ATH_MSG_VERBOSE(
name() <<
"::Build() (Base class method): Starting. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->
size() );
58 ATH_MSG_VERBOSE(
name() <<
"::Build() - Envelope set. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->
size() );
62 ATH_MSG_VERBOSE(
name() <<
"::Build() - Geometry built. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->
size() );
65 ATH_MSG_VERBOSE(
name() <<
"::Build() - Volume moved around. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->
size() );
68 ATH_MSG_VERBOSE(
name() <<
"::Build() - Connected with parent. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->
size() );
71 ATH_MSG_VERBOSE(
name() <<
"::Build() (Base class method): Finished. Number of registered volumes "<<G4LogicalVolumeStore::GetInstance()->
size() );
77 ATH_MSG_VERBOSE(
"DetectorGeometryBase::BuildGeometry(): Using base-class method. Anything going wrong?");
128 G4VPhysicalVolume* physWorld=
new G4PVPlacement(0,G4ThreeVector(),
161 subDetTool->SetParent(
this);
206 ATH_MSG_ERROR(
"trying to get World from a DetectorTool which World is not!");
virtual void SetEnvelope() override
Gaudi::Property< double > m_rotateX
G4VPhysicalVolume * thePositionedVolume
std::string GetDetectorName() const override
G4LogicalVolume * theEnvelope
Gaudi::Property< double > m_rotateZ
virtual void BuildGeometry() override
void SetDetectorName(const std::string &) override
ToolHandleArray< IDetectorGeometryTool > m_subDetTools
StatusCode initialize() override
Athena method.
virtual void Build() override
purely virtual methods being implemented here
#define ATH_MSG_VERBOSE(x)
virtual void SetRotationAndOffset()
Envelope & GetEnvelope() override final
Gaudi::Property< double > m_offsetZ
virtual void SetAsWorld() override
G4VPhysicalVolume * GetWorldVolume() override final
Gaudi::Property< double > m_offsetY
void SetParent(IDetectorGeometryTool *) override
Gaudi::Property< double > m_offsetX
G4ThreeVector thePosition
virtual void ResetEnvelope() override
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
DetectorGeometryBase(const std::string &type, const std::string &name, const IInterface *parent)
ServiceHandle< IG4GeometryNotifierSvc > m_notifierSvc
virtual void PositionInParent() override
Gaudi::Property< std::string > m_detectorName
virtual void BuildSubDetectors() override
G4RotationMatrix * theRotation
Gaudi::Property< double > m_rotateY
IDetectorGeometryTool * m_theParent