1#ifndef TG4_PARTICLES_CHECKER_H
2#define TG4_PARTICLES_CHECKER_H
67 void SetChecking(ParticleProperty property, G4bool check);
81 G4bool
IsEqualRel(G4double dx, G4double dy, G4double epsilon)
const;
123inline const std::set<TG4ParticlesChecker::ParticleProperty>&
130inline const std::set<TG4ParticlesChecker::ParticleProperty>&
Definition of the TG4ParticlesCheckerMessenger class.
Definition of the TG4Verbose class.
Messenger class that defines commands for TG4ParticlesChecker.
A helper class for comparing the basic particles properties in between Root and Geant4.
const std::set< ParticleProperty > & GetAvailableProperties() const
G4double fPrecision
precision for checking
G4bool CheckParticle(G4int pdgEncoding) const
ParticleProperty
The enumeration of "checkable" particle properties.
void SetChecking(ParticleProperty property, G4bool check)
std::set< ParticleProperty > fCheckedProperties
set of properties selected for checking
static G4String GetParticlePropertyName(ParticleProperty property)
static ParticleProperty GetParticleProperty(const G4String &propertyName)
TG4ParticlesChecker & operator=(const TG4ParticlesChecker &right)
Not implemented.
static const G4double fgkDefaultPrecision
default precision
TG4ParticlesCheckerMessenger fMessenger
messenger for this class
void PrintCheckedProperties() const
TG4ParticlesChecker(const TG4ParticlesChecker &right)
Not implemented.
const std::set< ParticleProperty > & GetCheckedProperties() const
G4bool CheckParticles() const
G4bool CheckName(G4ParticleDefinition *g4Particle, TParticlePDG *rtParticle) const
G4bool IsEqualRel(G4double dx, G4double dy, G4double epsilon) const
std::set< ParticleProperty > fAvailableProperties
set of available properties
G4double GetPropertyValue(ParticleProperty property, G4ParticleDefinition *g4Particle) const
G4bool CheckProperty(ParticleProperty property, G4ParticleDefinition *g4Particle, TParticlePDG *rtParticle) const
void SetPrecision(G4double precision)
Base class for defining the verbose level and a common messenger.