CMS 3D CMS Logo

CMSDarkPairProduction.cc
Go to the documentation of this file.
1 //
2 // Authors of this file: Dustin Stolp (dostolp@ucdavis.edu)
3 // Sushil S. Chauhan (schauhan@cern.ch)
4 // Creation date: 01.22.2015
5 //
6 // -------------------------------------------------------------------
7 //
9 #include "G4PhysicalConstants.hh"
10 #include <CLHEP/Units/SystemOfUnits.h>
11 #include "G4PairProductionRelModel.hh"
12 
13 using namespace std;
14 
15 CMSDarkPairProduction::CMSDarkPairProduction(const G4ParticleDefinition* p, G4double df, const G4String& nam)
16  : G4PairProductionRelModel(p, nam), dark_factor(df) {}
17 
19 
21  const G4ParticleDefinition* p, G4double e, G4double Z, G4double e1, G4double e2, G4double e3) {
22  return dark_factor * G4PairProductionRelModel::ComputeCrossSectionPerAtom(p, e, Z, e1, e2, e3);
23 }
G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cut=0., G4double emax=DBL_MAX) override
CMSDarkPairProduction(const G4ParticleDefinition *p=nullptr, G4double df=1.0, const G4String &nam="BetheHeitlerLPM")