29 #ifndef G4SampleResonance_h
30 #define G4SampleResonance_h 1
59 {
return 2.0*gamma*std::atan( 2.0 * (x-m0)/ gamma ); }
62 {
return 0.5*gamma*gamma*std::log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*BrWigInt0(x,gamma,m0); }
65 {
return 0.5*gamma*std::tan( 0.5*x/gamma )+m0; }
69 typedef std::map<const G4ParticleDefinition*, G4double, std::less<const G4ParticleDefinition*> >::const_iterator
minMassMapIterator;
70 typedef std::map<const G4ParticleDefinition*, G4double, std::less<const G4ParticleDefinition*> >
minMassMapType;