#include <G4NIELCalculator.hh>
Definition at line 60 of file G4NIELCalculator.hh.
◆ G4NIELCalculator() [1/2]
Definition at line 60 of file G4NIELCalculator.cc.
61 : fModel(mod), fVerbose(verb)
62{
64 if(fVerbose > 0) {
65 G4cout <<
"G4NIELCalculator: is created with the model <"
67 }
68}
G4GLOB_DLL std::ostream G4cout
static G4LossTableManager * Instance()
void SetNIELCalculator(G4NIELCalculator *)
const G4String & GetName() const
◆ ~G4NIELCalculator()
G4NIELCalculator::~G4NIELCalculator |
( |
| ) |
|
|
default |
◆ G4NIELCalculator() [2/2]
◆ AddEmModel()
void G4NIELCalculator::AddEmModel |
( |
G4VEmModel * | mod | ) |
|
Definition at line 72 of file G4NIELCalculator.cc.
73{
74 if(mod && mod != fModel) {
75 fModel = mod;
76 if(fVerbose > 0) {
77 G4cout <<
"G4NIELCalculator: new model <" << fModel->
GetName()
79 }
80 }
81}
◆ ComputeNIEL()
Definition at line 90 of file G4NIELCalculator.cc.
91{
94 if(fModel && T2 > 0.) {
98
99 if(length > 0.0 && part->
GetPDGMass() > 100*CLHEP::MeV) {
100
101
107 niel = std::min(niel, T1);
108 }
109 }
110 return niel;
111}
const G4Material * GetMaterial() const
G4double GetPDGMass() const
const G4MaterialCutsCouple * GetMaterialCutsCouple() const
G4double GetKineticEnergy() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4double GetStepLength() const
G4StepPoint * GetPostStepPoint() const
const G4ParticleDefinition * GetParticleDefinition() const
virtual G4double ComputeDEDXPerVolume(const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
◆ Initialise()
void G4NIELCalculator::Initialise |
( |
| ) |
|
◆ operator=()
◆ RecoilEnergy()
Definition at line 115 of file G4NIELCalculator.cc.
116{
119
120 if(sec) {
121 for(auto track : *sec) {
124 erec += track->GetKineticEnergy();
125 }
126 }
127 }
128 return erec;
129}
G4bool IsGeneralIon() const
const std::vector< const G4Track * > * GetSecondaryInCurrentStep() const
The documentation for this class was generated from the following files: