48#ifndef G4ContinuousGainOfEnergy_h
49#define G4ContinuousGainOfEnergy_h 1
137 size_t currentMaterialIndex;
138 size_t currentCoupleIndex;
146 G4bool lossFluctuationFlag;
147 G4bool lossFluctuationArePossible;
173inline void G4ContinuousGainOfEnergy::DefineMaterial(
176 if(couple != currentCouple) {
177 currentCouple = couple;
179 currentCoupleIndex = couple->
GetIndex();
180 currentMaterialIndex = currentMaterial->
GetIndex();
184 currentTcut=(*aVec)[currentCoupleIndex];
void SetDirectEnergyLossProcess(G4VEnergyLossProcess *aProcess)
virtual G4double GetContinuousStepLimit(const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double ¤tSafety)
void SetLossFluctuations(G4bool val)
void BuildPhysicsTable(const G4ParticleDefinition &)
void SetIsIntegral(G4bool val)
G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
void SetDirectParticle(G4ParticleDefinition *p)
virtual ~G4ContinuousGainOfEnergy()
void PreparePhysicsTable(const G4ParticleDefinition &)
const G4Material * GetMaterial() const
G4ProductionCuts * GetProductionCuts() const
const G4String & GetParticleName() const
const std::vector< G4double > * GetEnergyCutsVector(size_t pcIdx) const
static G4ProductionCutsTable * GetProductionCutsTable()
G4double GetProductionCut(G4int index) const