evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtCPUtil.hh>

Public Types

enum  MixingType { Coherent = 0, Incoherent = 1 }
 

Public Member Functions

 EvtCPUtil (int mixingType)
 
 ~EvtCPUtil ()
 
void setMixingType (int mixingType)
 
int getMixingType ()
 
void fractB0CP (EvtComplex Af, EvtComplex Abarf, double deltam, double beta, double &fract)
 
void fractB0nonCP (EvtComplex Af, EvtComplex Abarf, EvtComplex Afbar, EvtComplex Abarfbar, double deltam, double beta, int flip, double &fract)
 
bool isB0Mixed (EvtParticle *)
 
bool isBsMixed (EvtParticle *)
 
bool flipIsEnabled ()
 
void enableFlip ()
 
void disableFlip ()
 
void OtherB (EvtParticle *p, double &t, EvtId &otherb)
 
void OtherCoherentB (EvtParticle *p, double &t, EvtId &otherb, double probB0)
 
void OtherIncoherentB (EvtParticle *p, double &t, EvtId &otherb, double probB0)
 
void OtherB (EvtParticle *p, double &t, EvtId &otherb, double probB0)
 
void incoherentMix (const EvtId id, double &t, int &mix)
 
double getDeltaGamma (const EvtId id)
 
double getDeltaM (const EvtId id)
 

Static Public Member Functions

static EvtCPUtilgetInstance ()
 

Private Attributes

bool _enableFlip
 
int _mixingType
 

Detailed Description

Definition at line 29 of file EvtCPUtil.hh.

Member Enumeration Documentation

◆ MixingType

Enumerator
Coherent 
Incoherent 

Definition at line 34 of file EvtCPUtil.hh.

Constructor & Destructor Documentation

◆ EvtCPUtil()

EvtCPUtil::EvtCPUtil ( int  mixingType)

Definition at line 37 of file EvtCPUtil.cpp.

◆ ~EvtCPUtil()

EvtCPUtil::~EvtCPUtil ( )

Member Function Documentation

◆ disableFlip()

void EvtCPUtil::disableFlip ( )

Definition at line 571 of file EvtCPUtil.cpp.

◆ enableFlip()

void EvtCPUtil::enableFlip ( )

Definition at line 567 of file EvtCPUtil.cpp.

◆ flipIsEnabled()

bool EvtCPUtil::flipIsEnabled ( )

Definition at line 563 of file EvtCPUtil.cpp.

◆ fractB0CP()

void EvtCPUtil::fractB0CP ( EvtComplex  Af,
EvtComplex  Abarf,
double  deltam,
double  beta,
double &  fract 
)

Definition at line 57 of file EvtCPUtil.cpp.

◆ fractB0nonCP()

void EvtCPUtil::fractB0nonCP ( EvtComplex  Af,
EvtComplex  Abarf,
EvtComplex  Afbar,
EvtComplex  Abarfbar,
double  deltam,
double  beta,
int  flip,
double &  fract 
)

Definition at line 85 of file EvtCPUtil.cpp.

◆ getDeltaGamma()

double EvtCPUtil::getDeltaGamma ( const EvtId  id)

Definition at line 529 of file EvtCPUtil.cpp.

◆ getDeltaM()

double EvtCPUtil::getDeltaM ( const EvtId  id)

Definition at line 549 of file EvtCPUtil.cpp.

◆ getInstance()

EvtCPUtil * EvtCPUtil::getInstance ( )
static

Definition at line 43 of file EvtCPUtil.cpp.

◆ getMixingType()

int EvtCPUtil::getMixingType ( )
inline

Definition at line 43 of file EvtCPUtil.hh.

◆ incoherentMix()

void EvtCPUtil::incoherentMix ( const EvtId  id,
double &  t,
int &  mix 
)

Definition at line 461 of file EvtCPUtil.cpp.

◆ isB0Mixed()

bool EvtCPUtil::isB0Mixed ( EvtParticle p)

Definition at line 310 of file EvtCPUtil.cpp.

◆ isBsMixed()

bool EvtCPUtil::isBsMixed ( EvtParticle p)

Definition at line 292 of file EvtCPUtil.cpp.

◆ OtherB() [1/2]

void EvtCPUtil::OtherB ( EvtParticle p,
double &  t,
EvtId otherb 
)

Definition at line 372 of file EvtCPUtil.cpp.

◆ OtherB() [2/2]

void EvtCPUtil::OtherB ( EvtParticle p,
double &  t,
EvtId otherb,
double  probB0 
)

Definition at line 143 of file EvtCPUtil.cpp.

◆ OtherCoherentB()

void EvtCPUtil::OtherCoherentB ( EvtParticle p,
double &  t,
EvtId otherb,
double  probB0 
)

Definition at line 153 of file EvtCPUtil.cpp.

◆ OtherIncoherentB()

void EvtCPUtil::OtherIncoherentB ( EvtParticle p,
double &  t,
EvtId otherb,
double  probB0 
)

Definition at line 330 of file EvtCPUtil.cpp.

◆ setMixingType()

void EvtCPUtil::setMixingType ( int  mixingType)
inline

Definition at line 42 of file EvtCPUtil.hh.

Member Data Documentation

◆ _enableFlip

bool EvtCPUtil::_enableFlip
private

Definition at line 80 of file EvtCPUtil.hh.

◆ _mixingType

int EvtCPUtil::_mixingType
private

Definition at line 81 of file EvtCPUtil.hh.


The documentation for this class was generated from the following files: