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" 17 CMSDarkPairProductionProcess::CMSDarkPairProductionProcess(
20 G4ProcessType
type):G4VEmProcess (processName, type),
21 isInitialised(
false), darkFactor(df)
23 SetMinKinEnergy(2.0*electron_mass_c2);
24 SetProcessSubType(fGammaConversion);
25 SetStartFromNullFlag(
true);
26 SetBuildTableFlag(
true);
28 SetLambdaBinning(220);
32 CMSDarkPairProductionProcess::~CMSDarkPairProductionProcess()
36 G4bool CMSDarkPairProductionProcess::IsApplicable(
const G4ParticleDefinition&
p)
38 return (p.GetParticleType()==
"darkpho");
42 void CMSDarkPairProductionProcess::InitialiseProcess(
const G4ParticleDefinition* p)
47 AddEmModel(0,
new CMSDarkPairProduction(p,darkFactor));
53 G4double CMSDarkPairProductionProcess::MinPrimaryEnergy(
const G4ParticleDefinition*,
56 return 2*electron_mass_c2;
60 void CMSDarkPairProductionProcess::PrintInfo()