2 #ifndef THEPEG_MixedParticleData_H 3 #define THEPEG_MixedParticleData_H 8 #include "ParticleData.h" 9 #include "MixedParticleData.fh" 60 _prob(make_pair(1.,0.))
74 static PDPair Create(
long newId,
string newPDGName,
string newAntiPDGName);
106 double x()
const {
return _x;}
111 double y()
const {
return _y;}
177 virtual void doinit()
throw(InitException);
292 #include "ThePEG/Utilities/ClassTraits.h" 312 static string className() {
return "ThePEG::MixedParticleData"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
static void Init()
The standard Init function used to initialize the interfaces.
Energy _deltam
Mixing parameters.
MixedParticleData & operator=(const MixedParticleData &)
The assignment operator is private and must never be called.
double _zmag
The magnitude of .
static PDPtr Create(long newId, string newPDGName)
Create a Particle which is its own anti-particle.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
double _zphase
The phase of .
double _pqmag
The magnitude of .
pair< double, double > prob() const
The time-integrated mixing probabilities.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
double x() const
The mixing variable.
double _y
the mixing variable
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
This is the main namespace within which all identifiers in ThePEG are declared.
pair< Complex, Complex > mixingAmplitudes(Length, bool) const
The amplitudes for the different states.
void setDeltaM(Energy)
Function for the interface to set the mass difference.
pair< double, double > _prob
The time-integrated mixing probabilities.
virtual PDPtr pdclone() const
ParticleData clone method.
void setZMagnitude(double)
Function for the interface to set the magnitude of z.
ParticleData inherits from InterfacedBase and represents the properties of a particle type...
Energy _deltagamma
The width difference.
QTY< 0, 1, 0 >::Type Energy
Energy.
static ClassDescription< MixedParticleData > initMixedParticleData
The static object used to initialize the description of this class.
double _x
The mixing variable.
void setPQMagnitude(double)
Function for the interface to set the magnitude of p/q.
pair< bool, Length > generateLifeTime() const
For a given paricle decide is it undergoes mixing and generate the lifetime.
QTY< 1, 0, 0 >::Type Length
Length.
void setPQPhase(double)
Function for the interface to set the phase of p/q.
Energy deltaGamma() const
The width difference.
pair< PDPtr, PDPtr > PDPair
A pair of pointers to ParticleData objects.
Energy deltaM() const
Mixing parameters.
double _pqphase
The phase of .
void setDeltaGamma(Energy)
Function for the interface to set the width difference.
The MixedParticleData class is designed to store the particle data for particles which undergo mixing...
double y() const
the mixing variable
RCPtr is a reference counted (smart) pointer.
The default concrete implementation of ClassTraitsBase.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
BaseClassTraits describes the base classes of the templated class.
void setZPhase(double)
Function for the interface to set the phase of z.
MixedParticleData()
The default constructor.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...