8 #include "SimG4Core/CustomPhysics/interface/CMSDarkPairProductionProcess.hh"
9 #include "G4PhysicalConstants.hh"
10 #include "G4SystemOfUnits.hh"
11 #include "G4BetheHeitlerModel.hh"
12 #include "G4PairProductionRelModel.hh"
13 #include "G4Electron.hh"
20 CMSDarkPairProductionProcess::CMSDarkPairProductionProcess(
23 G4ProcessType
type):G4VEmProcess (processName, type),
27 SetMinKinEnergy(2.0*electron_mass_c2);
28 SetProcessSubType(fGammaConversion);
29 SetStartFromNullFlag(
true);
30 SetBuildTableFlag(
true);
32 SetLambdaBinning(220);
36 CMSDarkPairProductionProcess::~CMSDarkPairProductionProcess()
40 G4bool CMSDarkPairProductionProcess::IsApplicable(
const G4ParticleDefinition&
p)
42 return (p.GetParticleType()==
"darkpho");
46 void CMSDarkPairProductionProcess::InitialiseProcess(
const G4ParticleDefinition* p)
51 AddEmModel(0,
new CMSDarkPairProduction(p,
darkFactor));
57 G4double CMSDarkPairProductionProcess::MinPrimaryEnergy(
const G4ParticleDefinition*,
60 return 2*electron_mass_c2;
64 void CMSDarkPairProductionProcess::PrintInfo()
static G4double darkFactor
volatile std::atomic< bool > shutdown_flag false