47 if((!(aPrimaryMomentum.e()>-1)) && (!(aPrimaryMomentum.e()<1)) )
50 "G4GammaParticipants::SelectInteractions: primary nan energy.");
52 G4double S = (aPrimaryMomentum + theTargetNuc[0].Get4Momentum()).mag2();
53 G4double ThresholdMass = thePrimary.
GetMass() + theTargetNuc[0].GetDefinition()->GetPDGMass();
71 #ifdef debug_G4GammaParticipants
73 G4int nucleonCount = theTargetNuc.size();
77 const G4Nucleon& pNucleon = theTargetNuc[theCurrent];
80 const_cast<G4Nucleon&
>(pNucleon).Hit(aTarget);
G4bool ExciteParticipants(G4VSplitableHadron *aPartner, G4VSplitableHadron *bPartner) const
const G4double QGSMThreshold
G4bool IsSingleDiffractive()
void IncrementCollisionCount(G4int aCount)
G4QGSDiffractiveExcitation theDiffExcitaton
virtual G4bool ExciteParticipants(G4VSplitableHadron *aPartner, G4VSplitableHadron *bPartner) const
G4V3DNucleus * theNucleus
G4double GetKineticEnergy() const
G4double GetTotalEnergy() const
void SetNumberOfDiffractiveCollisions(int)
void SetNumberOfSoftCollisions(int)
std::vector< G4VSplitableHadron * > theTargets
static constexpr double GeV
G4ThreeVector GetMomentum() const
virtual const std::vector< G4Nucleon > & GetNucleons()=0
G4SingleDiffractiveExcitation theSingleDiffExcitation
std::vector< G4InteractionContent * > theInteractions
const G4double ThresholdParameter
void SetTarget(G4VSplitableHadron *aTarget)