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;
164 const ThreeVector rcol = (rcolnucleon1+rcolnucleon2)*0.5;
static const G4double angularSlope
void generateBiased(const G4double sqrtS, ParticleList &particles, const size_t index, const G4double slope)
Generate a biased event in the CM system.
void fillFinalState(FinalState *fs)
const G4double effectiveDeltaMass
void addModifiedParticle(Particle *p)
NDeltaEtaProductionChannel(Particle *, Particle *)
const G4INCL::ThreeVector & getPosition() const
const G4double effectiveNucleonMass
void setMass(G4double mass)
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
const G4INCL::ThreeVector & getMomentum() const
G4double dot(const ThreeVector &v) const
G4double sampleDeltaMass(G4double ecm)
void setHelicity(G4double h)
G4bool isDelta() const
Is it a Delta?
static const G4int maxTries
void setType(ParticleType t)
const G4double effectiveDeltaWidth
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
G4INCL::ParticleType getType() const
virtual ~NDeltaEtaProductionChannel()
void addCreatedParticle(Particle *p)
G4ThreadLocal G4double minDeltaMassRndm
G4ThreadLocal G4double minDeltaMass