54 if ( iter!=minMassCache.end() )
56 minResonanceMass = (*iter).second;
65 for (
G4int i=0; i<nDecays; i++)
72 for (
G4int j=0; j<nDaughters; j++)
76 if (!minMass) minMass =
DBL_MAX;
77 minChannelMass+=minMass;
80 if (minChannelMass < minResonanceMass) minResonanceMass = minChannelMass;
85 (
self->minMassCache)[p] = minResonanceMass;
97 return minResonanceMass;
117 if ( minMass > maxMass )
120 "SampleResonanceMass: mass range negative (minMass>maxMass)");
127 returnMass = std::max(minMass, std::min(maxMass, poleMass));
131 double fmin = BrWigInt0(minMass, gamma, poleMass);
132 double fmax = BrWigInt0(maxMass, gamma, poleMass);
134 returnMass = BrWigInv(f, gamma, poleMass);