34#define INCLXX_IN_GEANT4_MODE 1
52 : particle1(p1), particle2(p2)
59 const G4double ecm = ecmorigin - 581.437;
66 G4double q2=(y-1.157776E6)*(y-6.4E5)/y/4.0;
67 G4double q3=std::pow(std::sqrt(q2), 3.);
68 const G4double f3max=q3/(q3+5.832E6);
75 INCL_WARN(
"NDeltaEtaProductionChannel::sampleDeltaMass loop was stopped because maximum number of tries was reached. Minimum delta mass "
88 q2=(y-1.157776E6)*(y-6.4E5)/y/4.0;
89 q3=std::pow(std::sqrt(q2), 3.);
115 const G4int isospin = is1+is2;
123 if (rndm < 0.5) index2=1;
163 const ThreeVector rcol = (rcolnucleon1+rcolnucleon2)*0.5;
void addModifiedParticle(Particle *p)
void addCreatedParticle(Particle *p)
G4double sampleDeltaMass(G4double ecm)
NDeltaEtaProductionChannel(Particle *, Particle *)
static const G4double angularSlope
virtual ~NDeltaEtaProductionChannel()
void fillFinalState(FinalState *fs)
static const G4int maxTries
void setMass(G4double mass)
void setHelicity(G4double h)
const G4INCL::ThreeVector & getPosition() const
const G4INCL::ThreeVector & getMomentum() const
G4INCL::ParticleType getType() const
void setType(ParticleType t)
G4bool isDelta() const
Is it a Delta?
G4double dot(const ThreeVector &v) const
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
const G4double effectiveDeltaWidth
const G4double effectiveDeltaMass
G4ThreadLocal G4double minDeltaMass
G4ThreadLocal G4double minDeltaMassRndm
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
const G4double effectiveNucleonMass
void generateBiased(const G4double sqrtS, ParticleList &particles, const size_t index, const G4double slope)
Generate a biased event in the CM system.
static const G4LorentzVector zero(0., 0., 0., 0.)