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"; }
double x() const
The mixing variable.
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.
double _zmag
The magnitude of .
static PDPtr Create(long newId, string newPDGName)
Create a Particle which is its own anti-particle.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
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 .
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.
void setDeltaM(Energy)
Function for the interface to set the mass difference.
Energy deltaM() const
Mixing parameters.
pair< double, double > _prob
The time-integrated mixing probabilities.
double y() const
the mixing variable
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.
virtual PDPtr pdclone() const
ParticleData clone method.
pair< double, double > prob() const
The time-integrated mixing probabilities.
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.
pair< Complex, Complex > mixingAmplitudes(Length, bool) const
The amplitudes for the different states.
void setPQMagnitude(double)
Function for the interface to set the magnitude of p/q.
QTY< 1, 0, 0 >::Type Length
Length.
void setPQPhase(double)
Function for the interface to set the phase of p/q.
pair< PDPtr, PDPtr > PDPair
A pair of pointers to ParticleData objects.
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...
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.
pair< bool, Length > generateLifeTime() const
For a given paricle decide is it undergoes mixing and generate the lifetime.
BaseClassTraits describes the base classes of the templated class.
void setZPhase(double)
Function for the interface to set the phase of z.
Energy deltaGamma() const
The width difference.
MixedParticleData()
The default constructor.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...