DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Helper class to one limit type. More...
#include <Geant4UserLimits.h>
Public Member Functions | |
Handler ()=default | |
Default constructor. More... | |
void | set (const std::string &particles, double val) |
Set the handler value(s) More... | |
double | value (const G4Track &track) const |
Access value according to track. More... | |
Public Attributes | |
double | defaultValue = 0.0 |
Default value (either from base class or value if Limit.particles='*') More... | |
std::map< const G4ParticleDefinition *, double > | particleLimits |
Handler particle ids for the limit (pdgID) More... | |
|
default |
Default constructor.
void Geant4UserLimits::Handler::set | ( | const std::string & | particles, |
double | val | ||
) |
Set the handler value(s)
Definition at line 61 of file Geant4UserLimits.cpp.
double Geant4UserLimits::Handler::value | ( | const G4Track & | track | ) | const |
Access value according to track.
Definition at line 41 of file Geant4UserLimits.cpp.
double dd4hep::sim::Geant4UserLimits::Handler::defaultValue = 0.0 |
Default value (either from base class or value if Limit.particles='*')
Definition at line 49 of file Geant4UserLimits.h.
std::map<const G4ParticleDefinition*, double> dd4hep::sim::Geant4UserLimits::Handler::particleLimits |
Handler particle ids for the limit (pdgID)
Definition at line 51 of file Geant4UserLimits.h.