|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef G4DEBUGGINGTOOLS_VolumeDebugger_H
6 #define G4DEBUGGINGTOOLS_VolumeDebugger_H
11 #include "G4UserRunAction.hh"
14 class G4LogicalVolume;
15 class G4VPhysicalVolume;
43 std::string
path{
"./test_volume.gdml"};
70 std::string
printVolume(
const G4VPhysicalVolume *
pv,
const std::string& delim =
"")
const;
76 #endif //G4DEBUGGINGTOOLS_VolumeDebugger_H
a user action to debug G4 geometries
std::string printVolume(const G4VPhysicalVolume *pv, const std::string &delim="") const
bool recursiveCheck(G4VPhysicalVolume *pv) const
Returns true if there were overlaps.
virtual void BeginOfRunAction(const G4Run *) override
hook for G4 UA functionality
std::pair< std::vector< unsigned int >, bool > res
Class to provide easy MsgStream access and capabilities.
VolumeDebugger(const Config &config)
Config m_config
configuration data
void PullVolumes(G4LogicalVolume *v) const
volume filter
double targetMaxCopiesToCheck
void DumpGeometry() const
wrapper function for the gdml dump