1#ifndef SIMCORE_BERTINI_NOTHING_HARD_MODEL_H
2#define SIMCORE_BERTINI_NOTHING_HARD_MODEL_H
3#include <G4CrossSectionDataSetRegistry.hh>
5#include <G4HadProjectile.hh>
6#include <G4HadronInelasticProcess.hh>
8#include <G4PhotoNuclearCrossSection.hh>
9#include <G4ProcessManager.hh>
11#include "Framework/Configure/Parameters.h"
12#include "SimCore/PhotoNuclearModel.h"
13#include "SimCore/PhotoNuclearModels/BertiniEventTopologyProcess.h"
19 bool count_light_ions)
21 threshold_{threshold},
25 bool acceptProjectile(
const G4HadProjectile& projectile)
const override {
26 return projectile.GetKineticEnergy() >= Emin_;
28 bool acceptTarget(
const G4Nucleus& targetNucleus)
const override {
29 return targetNucleus.GetZ_asInt() >= Zmin_;
31 bool acceptEvent()
const override;
44 threshold_{parameters.
getParameter<
double>(
"hard_particle_threshold")},
47 count_light_ions_{parameters.
getParameter<
bool>(
"count_light_ions")} {}
55 bool count_light_ions_;
Class encapsulating parameters for configuring a processor.
T getParameter(const std::string &name) const
Retrieve the parameter of the given name.
void ConstructGammaProcess(G4ProcessManager *processManager) override
The primary part of the model interface, responsible for adding the desired G4HadronicInteraction to ...