#include <G4eeToPGammaModel.hh>
|
| G4eeToPGammaModel (G4eeCrossSections *, const G4String &, G4double, G4double) |
|
| ~G4eeToPGammaModel () override |
|
G4double | PeakEnergy () const override |
|
G4double | ComputeCrossSection (G4double) const override |
|
void | SampleSecondaries (std::vector< G4DynamicParticle * > *, G4double, const G4ThreeVector &) override |
|
G4eeToPGammaModel & | operator= (const G4eeToPGammaModel &right)=delete |
|
| G4eeToPGammaModel (const G4eeToPGammaModel &)=delete |
|
| G4Vee2hadrons (G4eeCrossSections *cr, G4double vlowEnergy, G4double vhighEnergy, G4double vdelta) |
|
virtual | ~G4Vee2hadrons () |
|
virtual G4double | PeakEnergy () const =0 |
|
virtual G4double | ComputeCrossSection (G4double) const =0 |
|
G4PhysicsVector * | PhysicsVector () const |
|
virtual void | SampleSecondaries (std::vector< G4DynamicParticle * > *, G4double, const G4ThreeVector &)=0 |
|
G4double | LowEnergy () const |
|
G4double | HighEnergy () const |
|
G4Vee2hadrons & | operator= (const G4Vee2hadrons &right)=delete |
|
| G4Vee2hadrons (const G4Vee2hadrons &)=delete |
|
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()
◆ ~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: