52#ifndef G4LossTableManager_h
53#define G4LossTableManager_h 1
250 void CopyDEDXTables();
260 PD currentParticle{
nullptr};
262 PD theGenericIon{
nullptr};
263 PD firstParticle{
nullptr};
282 G4bool all_tables_are_built{
false};
283 G4bool startInitialisation{
false};
286 std::vector<G4VEnergyLossProcess*> loss_vector;
287 std::vector<PD> part_vector;
288 std::vector<PD> base_part_vector;
289 std::vector<G4PhysicsTable*> dedx_vector;
290 std::vector<G4PhysicsTable*> range_vector;
291 std::vector<G4PhysicsTable*> inv_range_vector;
292 std::vector<G4bool> tables_are_built;
293 std::vector<G4bool> isActive;
294 std::vector<G4VMultipleScattering*> msc_vector;
295 std::vector<G4VEmProcess*> emp_vector;
296 std::vector<G4VEmModel*> mod_vector;
297 std::vector<G4VEmFluctuationModel*> fmod_vector;
298 std::vector<G4VProcess*> p_vector;
300 std::map<PD,G4VEnergyLossProcess*,std::less<PD> > loss_map;
312 return currentLoss ? currentLoss->
GetDEDX(kineticEnergy, couple) : 0.0;
335 return currentLoss ? currentLoss->
GetRange(kineticEnergy, couple) :
DBL_MAX;
346 return currentLoss ? currentLoss->
GetRange(kineticEnergy, couple) :
DBL_MAX;
384 return emCorrections;
391 return atomDeexcitation;
398 return subcutProducer;
const G4ParticleDefinition * GetParticleDefinition() const
void SetAtomDeexcitation(G4VAtomDeexcitation *)
static G4LossTableManager * Instance()
const std::vector< G4VEmProcess * > & GetEmProcessVector()
G4double GetCSDARange(const G4ParticleDefinition *aParticle, G4double kineticEnergy, const G4MaterialCutsCouple *couple)
G4VEnergyLossProcess * GetEnergyLossProcess(const G4ParticleDefinition *)
void SetGammaGeneralProcess(G4VEmProcess *)
void LocalPhysicsTables(const G4ParticleDefinition *aParticle, G4VEnergyLossProcess *p)
G4LossTableBuilder * GetTableBuilder()
void BuildPhysicsTable(const G4ParticleDefinition *aParticle)
void SetPositronGeneralProcess(G4VEmProcess *)
G4VSubCutProducer * SubCutProducer()
G4double GetEnergy(const G4ParticleDefinition *aParticle, G4double range, const G4MaterialCutsCouple *couple)
const std::vector< G4VMultipleScattering * > & GetMultipleScatteringVector()
G4VEmProcess * GetGammaGeneralProcess()
void SetVerbose(G4int val)
void DeRegister(G4VEnergyLossProcess *p)
G4NIELCalculator * NIELCalculator()
void SetNIELCalculator(G4NIELCalculator *)
G4VEmProcess * GetPositronGeneralProcess()
G4EmConfigurator * EmConfigurator()
void Register(G4VEnergyLossProcess *p)
G4ElectronIonPair * ElectronIonPair()
void SetElectronGeneralProcess(G4VEmProcess *)
G4EmSaturation * EmSaturation()
G4VEmProcess * GetElectronGeneralProcess()
const std::vector< G4VEnergyLossProcess * > & GetEnergyLossProcessVector()
G4VAtomDeexcitation * AtomDeexcitation()
G4double GetRangeFromRestricteDEDX(const G4ParticleDefinition *aParticle, G4double kineticEnergy, const G4MaterialCutsCouple *couple)
G4LossTableManager & operator=(const G4LossTableManager &right)=delete
void PreparePhysicsTable(const G4ParticleDefinition *aParticle, G4VEnergyLossProcess *p)
G4EmCorrections * EmCorrections()
void SetSubCutProducer(G4VSubCutProducer *)
G4double GetDEDXDispersion(const G4MaterialCutsCouple *couple, const G4DynamicParticle *dp, G4double &length)
void RegisterExtraParticle(const G4ParticleDefinition *aParticle, G4VEnergyLossProcess *p)
G4double GetRange(const G4ParticleDefinition *aParticle, G4double kineticEnergy, const G4MaterialCutsCouple *couple)
G4LossTableManager(G4LossTableManager &)=delete
G4double GetDEDX(const G4ParticleDefinition *aParticle, G4double kineticEnergy, const G4MaterialCutsCouple *couple)
G4double GetKineticEnergy(G4double range, const G4MaterialCutsCouple *)
G4double GetCSDARange(G4double kineticEnergy, const G4MaterialCutsCouple *)
G4double GetDEDX(G4double kineticEnergy, const G4MaterialCutsCouple *)
G4double GetRange(G4double kineticEnergy, const G4MaterialCutsCouple *)
G4double GetDEDXDispersion(const G4MaterialCutsCouple *couple, const G4DynamicParticle *dp, G4double length)