34 #define INCLXX_IN_GEANT4_MODE 1
52 : particle1(p1), particle2(p2)
64 G4double q2=(y-1.157776E6)*(y-6.4E5)/y/4.0;
65 G4double q3=std::pow(std::sqrt(q2), 3.);
66 const G4double f3max=q3/(q3+5.832E6);
72 if(++nTries >= 100000) {
73 INCL_WARN(
"NDeltaToDeltaSKChannel::sampleDeltaMass loop was stopped because maximum number of tries was reached. Minimum delta mass "
86 q2=(y-1.157776E6)*(y-6.4E5)/y/4.0;
87 q3=std::pow(std::sqrt(q2), 3.);
90 if (rndm*f3max < f3) success =
true;
141 if(std::abs(iso) == 4){
174 else if(rdm*13 < 10){
179 else if(rdm*13 < 11){
228 else if(rdm*15 < 12){
233 else if(rdm*15 < 14){
256 list.push_back(kaon);
void generateBiased(const G4double sqrtS, ParticleList &particles, const size_t index, const G4double slope)
Generate a biased event in the CM system.
const G4double effectiveDeltaMass
G4double sampleDeltaMass(G4double ecm)
void addModifiedParticle(Particle *p)
const G4INCL::ThreeVector & getPosition() const
void setMass(G4double mass)
G4double totalEnergyInCM(Particle const *const p1, Particle const *const p2)
void fillFinalState(FinalState *fs)
G4bool isResonance() const
Is it a resonance?
ParticleType getDeltaType(const G4int isosp)
Get the type of delta.
const G4double effectiveSigmaMass
static const G4double angularSlope
ParticleType getKaonType(const G4int isosp)
Get the type of kaon.
void setType(ParticleType t)
const G4double effectiveDeltaWidth
G4int getIsospin(const ParticleType t)
Get the isospin of a particle.
G4INCL::ParticleType getType() const
NDeltaToDeltaSKChannel(Particle *, Particle *)
ParticleType getSigmaType(const G4int isosp)
Get the type of sigma.
const G4double effectiveKaonMass
virtual ~NDeltaToDeltaSKChannel()
void addCreatedParticle(Particle *p)
G4ThreadLocal G4double minDeltaMassRndm
G4ThreadLocal G4double minDeltaMass