LDMX Software
APrimePhysics.h
Go to the documentation of this file.
1
8#ifndef SIMCORE_DARKBREM_APRIMEPHYSICS_H_
9#define SIMCORE_DARKBREM_APRIMEPHYSICS_H_
10
11// Geant4
12#include "G4VPhysicsConstructor.hh"
13
14// LDMX
15#include "Framework/Configure/Parameters.h"
16#include "G4DarkBreM/G4DarkBremsstrahlung.h"
17
18namespace simcore {
19
35class APrimePhysics : public G4VPhysicsConstructor {
36 public:
44 static const std::string NAME;
45
52
58 virtual ~APrimePhysics() {}
59
72 void ConstructParticle();
73
85 void ConstructProcess();
86
87 private:
89 G4double ap_mass_;
90
92 bool enable_;
93
102
103 std::unique_ptr<G4DarkBremsstrahlung> process_;
104};
105
106} // namespace simcore
107
108#endif
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
Defines basic APrime physics.
framework::config::Parameters parameters_
Dark brem parameters to pass to the process (if enabled)
void ConstructParticle()
Construct particle.
G4double ap_mass_
the mass of the A' for this run
static const std::string NAME
The name of this physics constructor.
virtual ~APrimePhysics()
Class destructor.
bool enable_
is dark brem enabled for this run?
void ConstructProcess()
Construct the process.