52 <<
"> - only G4GenericIon is allowed";
53 G4Exception(
"G4DNAIonChargeDecreaseModel::Initialise(...)",
67 fDummy->Initialise(part, v);
84 G4int Q =
G4lrint(fDynParticle->GetCharge()/CLHEP::eplus);
86 if (Q <= 0) {
return 0.0; }
89 fCurrentModel = fDummy;
92 return fCurrentModel->CrossSectionPerVolume(mat, p, ekin);
103 fCurrentModel->SampleSecondaries(fvect, couple, dp);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double, G4double) override
G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double, G4double) override
G4DNAIonChargeDecreaseModel(const G4ParticleDefinition *p=nullptr, const G4String &nam="DNAIonChargeDecrease")
void StartTracking(G4Track *) override
void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
G4ParticleChangeForGamma * fParticleChangeForGamma
static G4GenericIon * GenericIon()
const G4String & GetParticleName() const
const G4DynamicParticle * GetDynamicParticle() const
G4ParticleChangeForGamma * GetParticleChangeForGamma()
G4VEmModel(const G4String &nam)