#include <G4EnergyLossForExtrapolator.hh>
|
| G4EnergyLossForExtrapolator (G4int verb=1) |
|
| ~G4EnergyLossForExtrapolator () |
|
void | Initialisation () |
|
G4double | ComputeDEDX (G4double kinEnergy, const G4ParticleDefinition *, const G4Material *) |
|
G4double | ComputeRange (G4double kinEnergy, const G4ParticleDefinition *, const G4Material *) |
|
G4double | ComputeEnergy (G4double range, const G4ParticleDefinition *, const G4Material *) |
|
G4double | EnergyAfterStep (G4double kinEnergy, G4double step, const G4Material *, const G4ParticleDefinition *) |
|
G4double | EnergyBeforeStep (G4double kinEnergy, G4double step, const G4Material *, const G4ParticleDefinition *) |
|
G4double | TrueStepLength (G4double kinEnergy, G4double step, const G4Material *, const G4ParticleDefinition *part) |
|
G4double | EnergyAfterStep (G4double kinEnergy, G4double step, const G4Material *, const G4String &particleName) |
|
G4double | EnergyBeforeStep (G4double kinEnergy, G4double step, const G4Material *, const G4String &particleName) |
|
G4double | AverageScatteringAngle (G4double kinEnergy, G4double step, const G4Material *, const G4ParticleDefinition *part) |
|
G4double | AverageScatteringAngle (G4double kinEnergy, G4double step, const G4Material *, const G4String &particleName) |
|
G4double | ComputeTrueStep (const G4Material *, const G4ParticleDefinition *part, G4double kinEnergy, G4double stepLength) |
|
G4double | EnergyDispersion (G4double kinEnergy, G4double step, const G4Material *, const G4ParticleDefinition *) |
|
G4double | EnergyDispersion (G4double kinEnergy, G4double step, const G4Material *, const G4String &particleName) |
|
void | SetVerbose (G4int val) |
|
void | SetMinKinEnergy (G4double) |
|
void | SetMaxKinEnergy (G4double) |
|
void | SetMaxEnergyTransfer (G4double) |
|
G4EnergyLossForExtrapolator & | operator= (const G4EnergyLossForExtrapolator &right)=delete |
|
| G4EnergyLossForExtrapolator (const G4EnergyLossForExtrapolator &)=delete |
|
◆ G4EnergyLossForExtrapolator() [1/2]
G4EnergyLossForExtrapolator::G4EnergyLossForExtrapolator |
( |
G4int | verb = 1 | ) |
|
|
explicit |
◆ ~G4EnergyLossForExtrapolator()
G4EnergyLossForExtrapolator::~G4EnergyLossForExtrapolator |
( |
| ) |
|
◆ G4EnergyLossForExtrapolator() [2/2]
◆ AverageScatteringAngle() [1/2]
◆ AverageScatteringAngle() [2/2]
◆ ComputeDEDX()
Definition at line 224 of file G4EnergyLossForExtrapolator.cc.
227{
230 if(part == electron) {
232 } else if(part == positron) {
234 } else if(part == muonPlus || part == muonMinus) {
236 } else {
240 }
241 return x;
242}
static std::size_t GetNumberOfMaterials()
std::size_t GetIndex() const
G4double GetPDGCharge() const
Referenced by EnergyAfterStep(), and EnergyBeforeStep().
◆ ComputeEnergy()
◆ ComputeRange()
◆ ComputeTrueStep()
◆ EnergyAfterStep() [1/2]
◆ EnergyAfterStep() [2/2]
◆ EnergyBeforeStep() [1/2]
◆ EnergyBeforeStep() [2/2]
◆ EnergyDispersion() [1/2]
Definition at line 296 of file G4EnergyLossForExtrapolator.cc.
300{
302 if(SetupKinematics(part, mat, kinEnergy)) {
304 sig2 = (1.0/beta2 - 0.5)
305 *CLHEP::twopi_mc2_rcl2*tmax*step*electronDensity*charge2;
306 }
307 return sig2;
308}
Referenced by EnergyDispersion().
◆ EnergyDispersion() [2/2]
◆ Initialisation()
void G4EnergyLossForExtrapolator::Initialisation |
( |
| ) |
|
Definition at line 330 of file G4EnergyLossForExtrapolator.cc.
331{
332 if(verbose>0) {
333 G4cout <<
"### G4EnergyLossForExtrapolator::Initialisation tables= "
335 }
341
342
343 if(nullptr == tables) {
344#ifdef G4MULTITHREADED
346 if(nullptr == tables) {
347#endif
348 isMaster = true;
352 if(verbose > 0) {
353 G4cout <<
"### G4EnergyLossForExtrapolator::BuildTables for "
354 << nmat << " materials Nbins= "
355 << nbins << " Emin(MeV)= " << emin << " Emax(MeV)= " << emax
357 }
358#ifdef G4MULTITHREADED
359 }
361#endif
362 }
363
364
366#ifdef G4MULTITHREADED
368#endif
370#ifdef G4MULTITHREADED
372#endif
373 }
375}
#define G4MUTEXLOCK(mutex)
#define G4MUTEXUNLOCK(mutex)
G4GLOB_DLL std::ostream G4cout
static G4Electron * Electron()
static G4MuonMinus * MuonMinus()
static G4MuonPlus * MuonPlus()
static G4Positron * Positron()
static G4Proton * Proton()
Referenced by ComputeDEDX(), ComputeEnergy(), and ComputeRange().
◆ operator=()
◆ SetMaxEnergyTransfer()
void G4EnergyLossForExtrapolator::SetMaxEnergyTransfer |
( |
G4double | val | ) |
|
|
inline |
◆ SetMaxKinEnergy()
void G4EnergyLossForExtrapolator::SetMaxKinEnergy |
( |
G4double | val | ) |
|
|
inline |
◆ SetMinKinEnergy()
void G4EnergyLossForExtrapolator::SetMinKinEnergy |
( |
G4double | val | ) |
|
|
inline |
◆ SetVerbose()
void G4EnergyLossForExtrapolator::SetVerbose |
( |
G4int | val | ) |
|
|
inline |
◆ TrueStepLength()
The documentation for this class was generated from the following files: