47#ifndef G4ContinuousGainOfEnergy_h
48#define G4ContinuousGainOfEnergy_h 1
136 size_t currentMaterialIndex;
137 size_t currentCoupleIndex;
145 G4bool lossFluctuationFlag;
146 G4bool lossFluctuationArePossible;
172inline void G4ContinuousGainOfEnergy::DefineMaterial(
175 if(couple != currentCouple) {
176 currentCouple = couple;
178 currentCoupleIndex = couple->
GetIndex();
179 currentMaterialIndex = currentMaterial->
GetIndex();
183 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(std::size_t pcIdx) const
static G4ProductionCutsTable * GetProductionCutsTable()
G4double GetProductionCut(G4int index) const