27 #ifndef G4SampleResonance_h
28 #define G4SampleResonance_h 1
57 {
return 2.0*gamma*std::atan( 2.0 * (x-m0)/ gamma ); }
60 {
return 0.5*gamma*gamma*
G4Log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*
BrWigInt0(x,gamma,m0); }
63 {
return 0.5*gamma*std::tan( 0.5*x/gamma )+m0; }
67 typedef std::map<const G4ParticleDefinition*, G4double, std::less<const G4ParticleDefinition*> >::const_iterator
minMassMapIterator;
68 typedef std::map<const G4ParticleDefinition*, G4double, std::less<const G4ParticleDefinition*> >
minMassMapType;