File indexing completed on 2024-05-10 02:21:24
0001
0002
0003
0004
0005
0006
0007
0008 #include "SimG4Core/CustomPhysics/interface/CMSDarkPairProduction.h"
0009 #include "G4PhysicalConstants.hh"
0010 #include <CLHEP/Units/SystemOfUnits.h>
0011 #include "G4PairProductionRelModel.hh"
0012
0013 using namespace std;
0014
0015 CMSDarkPairProduction::CMSDarkPairProduction(const G4ParticleDefinition* p, G4double df, const G4String& nam)
0016 : G4PairProductionRelModel(p, nam), dark_factor(df) {}
0017
0018 CMSDarkPairProduction::~CMSDarkPairProduction() {}
0019
0020 G4double CMSDarkPairProduction::ComputeCrossSectionPerAtom(
0021 const G4ParticleDefinition* p, G4double e, G4double Z, G4double e1, G4double e2, G4double e3) {
0022 return dark_factor * G4PairProductionRelModel::ComputeCrossSectionPerAtom(p, e, Z, e1, e2, e3);
0023 }