MCPcopy Create free account
hub / github.com/Geant4/geant4 / SetMaxKinEnergy

Method SetMaxKinEnergy

source/processes/electromagnetic/utils/src/G4VEmProcess.cc:846–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

844//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
845
846void G4VEmProcess::SetMaxKinEnergy(G4double e)
847{
848 if(minKinEnergy < e && e < 1.e+6*TeV) {
849 nLambdaBins = G4lrint(nLambdaBins*G4Log(e/minKinEnergy)
850 /G4Log(maxKinEnergy/minKinEnergy));
851 maxKinEnergy = e;
852 actMaxKinEnergy = true;
853 } else { PrintWarning("SetMaxKinEnergy", e); }
854}
855
856//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
857

Callers 14

ConstructProcessMethod · 0.45
ConstructProcessMethod · 0.45
ConstructProcessMethod · 0.45
ConstructProcessMethod · 0.45
ConstructProcessMethod · 0.45
ConstructProcessMethod · 0.45
ConstructProcessMethod · 0.45
ConstructProcessMethod · 0.45
BuildMethod · 0.45
BuildMethod · 0.45
BuildMethod · 0.45

Calls 2

G4lrintFunction · 0.85
G4LogFunction · 0.85

Tested by

no test coverage detected