DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Helper to dump Geant4 volume hierarchy. More...
#include <Geant4UserLimits.h>
Classes | |
struct | Handler |
Helper class to one limit type. More... | |
Public Member Functions | |
Geant4UserLimits (LimitSet limitset) | |
Initializing Constructor. More... | |
virtual | ~Geant4UserLimits () |
Standard destructor. More... | |
virtual void | update (LimitSet limitset) |
Update the object. More... | |
virtual G4double | GetMaxAllowedStep (const G4Track &track) override |
Access the user tracklength for a G4 track object. More... | |
virtual G4double | GetUserMaxTrackLength (const G4Track &track) override |
Access the user tracklength for a G4 track object. More... | |
virtual G4double | GetUserMaxTime (const G4Track &track) override |
Access the proper time cut for a G4 track object. More... | |
virtual G4double | GetUserMinEkine (const G4Track &track) override |
Access the kinetic energy cut for a G4 track object. More... | |
virtual G4double | GetUserMinRange (const G4Track &track) override |
Access the range cut for a G4 track object. More... | |
virtual void | SetMaxAllowedStep (G4double ustepMax) override |
Setters may not be called! More... | |
virtual void | SetUserMaxTrackLength (G4double utrakMax) override |
virtual void | SetUserMaxTime (G4double utimeMax) override |
virtual void | SetUserMinEkine (G4double uekinMin) override |
virtual void | SetUserMinRange (G4double urangMin) override |
Static Public Member Functions | |
static bool | enable_debug (bool value) |
Allow for debugging user limits (very verbose) More... | |
Public Attributes | |
LimitSet | limits |
Handle to the limitset to be applied. More... | |
Handler | maxStepLength |
Handler map for MaxStepLength limit. More... | |
Handler | maxTrackLength |
Handler map for MaxTrackLength limit. More... | |
Handler | maxTime |
Handler map for MaxTime limit. More... | |
Handler | minEKine |
Handler map for MinEKine limit. More... | |
Handler | minRange |
Handler map for MinRange limit. More... | |
Helper to dump Geant4 volume hierarchy.
Definition at line 38 of file Geant4UserLimits.h.
Geant4UserLimits::Geant4UserLimits | ( | LimitSet | limitset | ) |
Initializing Constructor.
Definition at line 73 of file Geant4UserLimits.cpp.
|
virtual |
Standard destructor.
Definition at line 81 of file Geant4UserLimits.cpp.
|
static |
Allow for debugging user limits (very verbose)
Definition at line 34 of file Geant4UserLimits.cpp.
|
inlineoverridevirtual |
Access the user tracklength for a G4 track object.
Definition at line 81 of file Geant4UserLimits.h.
|
inlineoverridevirtual |
Access the proper time cut for a G4 track object.
Definition at line 87 of file Geant4UserLimits.h.
|
inlineoverridevirtual |
Access the user tracklength for a G4 track object.
Definition at line 84 of file Geant4UserLimits.h.
|
inlineoverridevirtual |
Access the kinetic energy cut for a G4 track object.
Definition at line 90 of file Geant4UserLimits.h.
|
inlineoverridevirtual |
Access the range cut for a G4 track object.
Definition at line 93 of file Geant4UserLimits.h.
|
overridevirtual |
Setters may not be called!
Definition at line 112 of file Geant4UserLimits.cpp.
|
overridevirtual |
Definition at line 120 of file Geant4UserLimits.cpp.
|
overridevirtual |
Definition at line 116 of file Geant4UserLimits.cpp.
|
overridevirtual |
Definition at line 124 of file Geant4UserLimits.cpp.
|
overridevirtual |
Definition at line 128 of file Geant4UserLimits.cpp.
|
virtual |
Update the object.
Set defaults
Overwrite with values if present:
Definition at line 86 of file Geant4UserLimits.cpp.
LimitSet dd4hep::sim::Geant4UserLimits::limits |
Handle to the limitset to be applied.
Definition at line 61 of file Geant4UserLimits.h.
Handler dd4hep::sim::Geant4UserLimits::maxStepLength |
Handler map for MaxStepLength limit.
Definition at line 63 of file Geant4UserLimits.h.
Handler dd4hep::sim::Geant4UserLimits::maxTime |
Handler map for MaxTime limit.
Definition at line 67 of file Geant4UserLimits.h.
Handler dd4hep::sim::Geant4UserLimits::maxTrackLength |
Handler map for MaxTrackLength limit.
Definition at line 65 of file Geant4UserLimits.h.
Handler dd4hep::sim::Geant4UserLimits::minEKine |
Handler map for MinEKine limit.
Definition at line 69 of file Geant4UserLimits.h.
Handler dd4hep::sim::Geant4UserLimits::minRange |
Handler map for MinRange limit.
Definition at line 71 of file Geant4UserLimits.h.