35#ifndef G4ContinuousGainOfEnergy_h
36#define G4ContinuousGainOfEnergy_h 1
65 fDirectEnergyLossProcess = aProcess;
99 size_t fCurrentCoupleIndex = 9999999;
102 G4bool fLossFluctuationFlag =
true;
103 G4bool fLossFluctuationArePossible =
true;
107inline void G4ContinuousGainOfEnergy::DefineMaterial(
110 if(couple != fCurrentCouple)
112 fCurrentCouple = couple;
114 fCurrentCoupleIndex = couple->
GetIndex();
116 const std::vector<G4double>* aVec =
118 fCurrentTcut = (*aVec)[fCurrentCoupleIndex];
G4GLOB_DLL std::ostream G4cout
void SetDirectEnergyLossProcess(G4VEnergyLossProcess *aProcess)
void SetLossFluctuations(G4bool val)
G4ContinuousGainOfEnergy & operator=(const G4ContinuousGainOfEnergy &right)=delete
~G4ContinuousGainOfEnergy() override
void SetDirectParticle(G4ParticleDefinition *p)
G4double GetContinuousStepLimit(const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double ¤tSafety) override
void DumpInfo() const override
G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &) override
void ProcessDescription(std::ostream &) const override
G4ContinuousGainOfEnergy(G4ContinuousGainOfEnergy &)=delete
G4ContinuousGainOfEnergy(const G4String &name="EnergyGain", G4ProcessType type=fElectromagnetic)
const G4Material * GetMaterial() const
const std::vector< G4double > * GetEnergyCutsVector(std::size_t pcIdx) const
static G4ProductionCutsTable * GetProductionCutsTable()