1#ifndef TG4_G3_CUT_VECTOR_H
2#define TG4_G3_CUT_VECTOR_H
103 std::array<G4bool, 4>
fIsBDCut = {
false,
false,
false,
false};
111 std::array<G4bool, 4>
fApplyBDCut = {
false,
false,
false,
false};
Definition of the enumeration TG4G3Cut.
Definition of the TG4Globals class and basic container types.
Vector of kinetic energy cut values with convenient set/get methods.
std::array< G4bool, 4 > fApplyBDCut
flag set if [B/D]CUT[E/M] cut is different from CUT[ELE/GAM]
IsBDCutIndex
local enumeration for the indices in the flags arrays
G4bool fIsCut
flag if any value is set
G4double GetMinEkineForChargedHadron(const G4Track &track) const
static TG4G3Cut GetCut(const G4String &cutName)
TG4doubleVector fCutVector
vector of kinetic energy cut values
ApplyBDCutIndex
local enumeration for the indices in the flags arrays
G4double GetMinEtotPair() const
static G4double Tolerance()
static TG4StringVector fgCutNameVector
vector of cut parameters names
static const G4double fgkDCUTMOff
cut for delta rays by mu (if off)
static G4bool CheckCutValue(TG4G3Cut cut, G4double value)
std::array< G4bool, 4 > fIsBDCut
flag to prevent overwiting [B/D]CUT[E/M] cut if set by user
G4double operator[](G4int index) const
G4double GetMinEkineForGamma(const G4Track &track) const
static const G4String & GetCutName(TG4G3Cut cut)
G4double GetMinEkineForMuon(const G4Track &track) const
G4double GetMinEkineForNeutralHadron(const G4Track &track) const
static const G4double fgkDCUTEOff
cut for delta rays by e- (if off)
G4bool fDeltaRaysOn
delta rays process control
TG4G3CutVector & operator=(const TG4G3CutVector &right)
G4double GetMinEkineForElectron(const G4Track &track) const
static void FillCutNameVector()
void SetDeltaRaysOn(G4bool value)
void SetCut(TG4G3Cut cut, G4double cutValue)
static const G4double fgkTolerance
tolerance for comparing cuts
std::vector< G4String > TG4StringVector
std::vector< G4double > TG4doubleVector
TG4G3Cut
Enumeration for G3 types of kinetic energy cuts.