LDMX Software
BertiniWithHistoryModel.h
Go to the documentation of this file.
1
6#ifndef SIMCORE_BERTINI_BERTINIWITHHISTORYMODEL_H
7#define SIMCORE_BERTINI_BERTINIWITHHISTORYMODEL_H
8
9#include "Framework/Configure/Parameters.h"
10#include "Framework/Logger.h"
11#include "SimCore/PhotoNuclearModels/PhotoNuclearModel.h"
12
13class G4ProcessManager;
14
15namespace simcore {
16namespace bertini {
17
18class LDMXCascadeInterface;
19
33 public:
34 BertiniWithHistoryModel(const std::string& name,
35 const framework::config::Parameters& parameters);
36 virtual ~BertiniWithHistoryModel() = default;
37
38 void constructGammaProcess(G4ProcessManager* processManager) override;
39
40 private:
42 double max_energy_{15000.0};
43
45 double energy_threshold_{5000.0};
46
47 enableLogging("BertiniWithHistoryModel")
48};
49
50} // namespace bertini
51} // namespace simcore
52
53#endif // SIMCORE_BERTINI_BERTINIWITHHISTORYMODEL_H
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:29
PhotoNuclear model that records Bertini cascade history.
double energy_threshold_
Minimum photon energy to record history [MeV].
void constructGammaProcess(G4ProcessManager *processManager) override
The primary part of the model interface, responsible for adding the desired G4HadronicInteraction to ...
double max_energy_
Maximum energy for the model [MeV].
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...