Definition at line 12 of file BertiniNothingHardModel.h.
◆ BertiniNothingHardProcess()
| simcore::BertiniNothingHardProcess::BertiniNothingHardProcess |
( |
double | threshold, |
|
|
int | Zmin, |
|
|
double | Emin, |
|
|
bool | count_light_ions ) |
|
inline |
Definition at line 14 of file BertiniNothingHardModel.h.
16 : BertiniEventTopologyProcess{count_light_ions},
17 threshold_{threshold},
18 zmin_{Zmin},
19 emin_{Emin} {}
◆ acceptEvent()
| bool simcore::BertiniNothingHardProcess::acceptEvent |
( |
| ) |
const |
|
overridevirtual |
Implements simcore::BertiniEventTopologyProcess.
Definition at line 7 of file BertiniNothingHardModel.cxx.
7 {
8 int secondaries{theParticleChange.GetNumberOfSecondaries()};
9 for (int i{0}; i < secondaries; ++i) {
10 const auto secondary{theParticleChange.GetSecondary(i)->GetParticle()};
11 const auto pdg_code{secondary->GetDefinition()->GetPDGEncoding()};
13 continue;
14 }
15 const auto energy{secondary->GetKineticEnergy()};
16 if (energy > threshold_) {
17 return false;
18 }
19 }
20 return true;
21}
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: