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