61 : fModel(mod), fVerbose(verb)
65 G4cout <<
"G4NIELCalculator: is created with the model <"
74 if(mod && mod != fModel) {
77 G4cout <<
"G4NIELCalculator: new model <" << fModel->
GetName()
94 if(fModel && T2 > 0.) {
99 if(length > 0.0 && part->
GetPDGMass() > 100*CLHEP::MeV) {
107 niel = std::min(niel, T1);
121 for(
auto track : *sec) {
124 erec += track->GetKineticEnergy();
G4GLOB_DLL std::ostream G4cout
static G4LossTableManager * Instance()
void SetNIELCalculator(G4NIELCalculator *)
const G4Material * GetMaterial() const
G4NIELCalculator(G4VEmModel *, G4int verb)
void AddEmModel(G4VEmModel *)
G4double ComputeNIEL(const G4Step *)
G4double RecoilEnergy(const G4Step *)
G4bool IsGeneralIon() const
G4double GetPDGMass() const
const G4MaterialCutsCouple * GetMaterialCutsCouple() const
G4double GetKineticEnergy() const
G4Track * GetTrack() const
const std::vector< const G4Track * > * GetSecondaryInCurrentStep() const
G4StepPoint * GetPreStepPoint() const
G4double GetStepLength() const
G4StepPoint * GetPostStepPoint() const
const G4ParticleDefinition * GetParticleDefinition() const
const G4String & GetName() const
virtual G4double ComputeDEDXPerVolume(const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)