Definition at line 16 of file BertiniNothingHardModel.h.
◆ BertiniNothingHardProcess()
simcore::BertiniNothingHardProcess::BertiniNothingHardProcess |
( |
double |
threshold, |
|
|
int |
Zmin, |
|
|
double |
Emin, |
|
|
bool |
count_light_ions |
|
) |
| |
|
inline |
Definition at line 18 of file BertiniNothingHardModel.h.
20 : BertiniEventTopologyProcess{count_light_ions},
21 threshold_{threshold},
22 Zmin_{Zmin},
23 Emin_{Emin} {}
◆ acceptEvent()
bool simcore::BertiniNothingHardProcess::acceptEvent |
( |
| ) |
const |
|
overridevirtual |
Implements simcore::BertiniEventTopologyProcess.
Definition at line 4 of file BertiniNothingHardModel.cxx.
4 {
5 int secondaries{theParticleChange.GetNumberOfSecondaries()};
6 for (int i{0}; i < secondaries; ++i) {
7 const auto secondary{theParticleChange.GetSecondary(i)->GetParticle()};
8 const auto pdgCode{secondary->GetDefinition()->GetPDGEncoding()};
10 continue;
11 }
12 const auto energy{secondary->GetKineticEnergy()};
13 if (energy > threshold_) {
14 return false;
15 }
16 }
17 return true;
18}
constexpr bool skipCountingParticle(const int pdgcode) const
Whether or not to include a particular particle type in any counting.
◆ acceptProjectile()
bool simcore::BertiniNothingHardProcess::acceptProjectile |
( |
const G4HadProjectile & |
projectile | ) |
const |
|
inlineoverridevirtual |
◆ acceptTarget()
bool simcore::BertiniNothingHardProcess::acceptTarget |
( |
const G4Nucleus & |
targetNucleus | ) |
const |
|
inlineoverridevirtual |
◆ Emin_
double simcore::BertiniNothingHardProcess::Emin_ |
|
private |
◆ threshold_
double simcore::BertiniNothingHardProcess::threshold_ |
|
private |
◆ Zmin_
int simcore::BertiniNothingHardProcess::Zmin_ |
|
private |
The documentation for this class was generated from the following files: