#include <G4eeToPGammaModel.hh>
Definition at line 59 of file G4eeToPGammaModel.hh.
◆ G4eeToPGammaModel() [1/2]
Definition at line 64 of file G4eeToPGammaModel.cc.
69 npart=="pi0" ? 782.62*MeV:1019.46*MeV,
70 maxkinEnergy,
71 binWidth)
72{
73 G4cout <<
"####G4eeToPGammaModel & particle:" << npart
75
77 if(npart == "pi0") {
78 massR = 782.62*MeV;
79 particle = pi0;
80 } else {
81 massR = 1019.46*MeV;
83 }
85}
G4GLOB_DLL std::ostream G4cout
G4double GetPDGMass() const
static G4PionZero * PionZero()
G4Vee2hadrons(G4eeCrossSections *cr, G4double vlowEnergy, G4double vhighEnergy, G4double vdelta)
◆ ~G4eeToPGammaModel()
G4eeToPGammaModel::~G4eeToPGammaModel |
( |
| ) |
|
|
override |
◆ G4eeToPGammaModel() [2/2]
◆ ComputeCrossSection()
Implements G4Vee2hadrons.
Definition at line 101 of file G4eeToPGammaModel.cc.
102{
106 return xs;
107}
G4eeCrossSections * cross
G4double CrossSectionEtaG(G4double)
G4double CrossSectionPi0G(G4double)
◆ operator=()
◆ PeakEnergy()
G4double G4eeToPGammaModel::PeakEnergy |
( |
| ) |
const |
|
overridevirtual |
◆ SampleSecondaries()
Implements G4Vee2hadrons.
Definition at line 111 of file G4eeToPGammaModel.cc.
113{
114 G4double egam = 0.5*e*(1.0 - massP*massP/(massR*massR));
116 if(tkin < 0.0) tkin = 0.0;
118 do {
120
122
123 G4double sint = sqrt(1.0 - cost*cost);
125
127 dir.rotateUz(direction);
128
129
134 newp->push_back(p1);
135 newp->push_back(p2);
136}
The documentation for this class was generated from the following files: