#include <G4Absorber.hh>
Definition at line 34 of file G4Absorber.hh.
G4Absorber::G4Absorber |
( |
G4double |
cutOnP | ) |
|
G4Absorber::~G4Absorber |
( |
| ) |
|
Definition at line 72 of file G4Absorber.cc.
G4bool FindAbsorbers(G4KineticTrack &kt, G4KineticTrackVector &tgt)
G4bool FindProducts(G4KineticTrack &kt)
Definition at line 80 of file G4Absorber.cc.
98 std::vector<G4KineticTrack *>::iterator iter;
99 for(iter = tgt.begin(); iter != tgt.end(); ++iter)
126 if((charge0+charge1+charge < 0.) ||
127 (charge0+charge1+charge) > 2*
eplus)
154 if((charge0+charge1+charge < 0.) ||
155 (charge0+charge1+charge) > 2*
eplus)
163 theAbsorbers->clear();
164 if((kt1 == NULL) || (kt2 == NULL))
167 theAbsorbers->push_back(kt1);
168 theAbsorbers->push_back(kt2);
const G4ThreeVector & GetPosition() const
static constexpr double eplus
G4double GetPDGCharge() const
const G4ParticleDefinition * GetDefinition() const
static const G4double pos
Definition at line 174 of file G4Absorber.cc.
191 else if(charge == -
eplus)
216 G4double squareP = (e0*e0*e0*e0-2*e0*e0*(ms1*ms1+ms2*ms2)+
217 (ms2*ms2-ms1*ms1)*(ms2*ms2-ms1*ms1))/(4*e0*e0);
221 mom1CMS = std::sqrt(squareP)*mom1CMS;
223 G4LorentzVector final4Mom2CMS((-1)*mom1CMS, std::sqrt(squareP+ms2*ms2));
278 theProducts->clear();
279 theProducts->push_back(kt1);
280 theProducts->push_back(kt2);
Hep3Vector boostVector() const
const G4ThreeVector & GetPosition() const
static constexpr double eplus
static G4Proton * Proton()
static G4Neutron * Neutron()
G4double GetPDGMass() const
const G4LorentzVector & Get4Momentum() const
G4double GetPDGCharge() const
const G4ParticleDefinition * GetDefinition() const
Definition at line 53 of file G4Absorber.cc.
G4double GetActualMass() const
static G4PionPlus * PionPlus()
static G4PionZero * PionZero()
static G4PionMinus * PionMinus()
const G4LorentzVector & Get4Momentum() const
const G4ParticleDefinition * GetDefinition() const
The documentation for this class was generated from the following files:
- geant4.10.03.p01/source/processes/hadronic/models/binary_cascade/include/G4Absorber.hh
- geant4.10.03.p01/source/processes/hadronic/models/binary_cascade/src/G4Absorber.cc