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)
164 if((kt1 == NULL) || (kt2 == NULL))
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));
289 theta = std::acos(theta);
291 G4ThreeVector direction(std::sin(theta)*std::cos(phi), std::sin(theta)*std::sin(phi), std::cos(theta));
static G4PionMinus * PionMinus()
const G4LorentzVector & Get4Momentum() const
static const G4double pos
G4ThreeVector GetRandomDirection()
G4Absorber(G4double cutOnP)
static G4PionPlus * PionPlus()
const G4ParticleDefinition * GetDefinition() const
G4double GetPDGCharge() const
static G4Proton * Proton()
G4double GetPDGMass() const
G4bool WillBeAbsorbed(const G4KineticTrack &kt)
G4bool FindAbsorbers(G4KineticTrack &kt, G4KineticTrackVector &tgt)
G4bool FindProducts(G4KineticTrack &kt)
G4KineticTrackVector * theAbsorbers
G4double GetActualMass() const
G4bool Absorb(G4KineticTrack &kt, G4KineticTrackVector &tgt)
static constexpr double eplus
G4KineticTrackVector * theProducts
static G4Neutron * Neutron()
static G4PionZero * PionZero()
Hep3Vector boostVector() const
static constexpr double pi
const G4ThreeVector & GetPosition() const