#include <G4NIELCalculator.hh>
Definition at line 60 of file G4NIELCalculator.hh.
◆ G4NIELCalculator()
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 |
( |
| ) |
|
◆ AddEmModel()
void G4NIELCalculator::AddEmModel |
( |
G4VEmModel * |
mod | ) |
|
Definition at line 77 of file G4NIELCalculator.cc.
78{
79 if(mod && mod != fModel) {
80 fModel = mod;
81 if(fVerbose > 0) {
82 G4cout <<
"G4NIELCalculator: new model <" << fModel->
GetName()
84 }
85 }
86}
◆ ComputeNIEL()
Definition at line 95 of file G4NIELCalculator.cc.
96{
99 if(fModel && T2 > 0.) {
103
104 if(length > 0.0 && part->
GetPDGMass() > 100*CLHEP::MeV) {
105
106
112 niel = std::min(niel, T1);
113 }
114 }
115 return niel;
116}
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 |
( |
| ) |
|
◆ RecoilEnergy()
Definition at line 120 of file G4NIELCalculator.cc.
121{
124
125 if(sec) {
126 for(auto track : *sec) {
129 erec += track->GetKineticEnergy();
130 }
131 }
132 }
133 return erec;
134}
G4bool IsGeneralIon() const
const std::vector< const G4Track * > * GetSecondaryInCurrentStep() const
The documentation for this class was generated from the following files: