9#include "G4GDMLParser.hh"
10#include "G4NistManager.hh"
11#include "G4LogicalVolume.hh"
12#include "G4PVPlacement.hh"
21 declareProperty(
"GeoDetectorName",
m_geoDetectorName,
"Name of the detector in GeoModel, if different from G4.");
22 declareProperty(
"GDMLFileName",
m_GDMLFileName,
"Name of the GDML file to be used as input.");
28 ATH_MSG_DEBUG( name() <<
" GDMLDetectorTool::initialize(): Starting" );
54 ATH_MSG_DEBUG( name() <<
" GDMLDetectorTool::initialize(): Finished" );
55 return StatusCode::SUCCESS;
61 ATH_MSG_VERBOSE( name() <<
" GDMLDetectorTool::BuildGeometry(): Starting" );
65 m_envelope.theEnvelope=parser.GetWorldVolume()->GetLogicalVolume();
67 ATH_MSG_VERBOSE( name() <<
" GDMLDetectorTool::BuildGeometry(): Finished" );
77 ATH_MSG_VERBOSE( name() <<
" GDMLDetectorTool::SetInitialTransformation(): Starting" );
80 ATH_MSG_VERBOSE( name() <<
" GDMLDetectorTool::SetInitialTransformation(): Creating new G4RotationMatrix" );
85 ATH_MSG_VERBOSE( name() <<
" GDMLDetectorTool::SetInitialTransformation(): Finished" );
#define ATH_MSG_VERBOSE(x)
DetectorGeometryBase(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::string > m_detectorName