Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtCPUtil.hh
Show All 33 Lines | public: | ||||
enum MixingType | enum MixingType | ||||
{ | { | ||||
Coherent = 0, | Coherent = 0, | ||||
Incoherent = 1 | Incoherent = 1 | ||||
}; | }; | ||||
static EvtCPUtil* getInstance(); | static EvtCPUtil* getInstance(); | ||||
void setMixingType( int mixingType ) { _mixingType = mixingType; } | void setMixingType( int mixingType ) { m_mixingType = mixingType; } | ||||
int getMixingType() { return _mixingType; } | int getMixingType() { return m_mixingType; } | ||||
void fractB0CP( EvtComplex Af, EvtComplex Abarf, double deltam, double beta, | void fractB0CP( EvtComplex Af, EvtComplex Abarf, double deltam, double beta, | ||||
double& fract ); | double& fract ); | ||||
void fractB0nonCP( EvtComplex Af, EvtComplex Abarf, EvtComplex Afbar, | void fractB0nonCP( EvtComplex Af, EvtComplex Abarf, EvtComplex Afbar, | ||||
EvtComplex Abarfbar, double deltam, double beta, | EvtComplex Abarfbar, double deltam, double beta, | ||||
int flip, double& fract ); | int flip, double& fract ); | ||||
Show All 20 Lines | public: | ||||
//t returns the lifetime of the particle | //t returns the lifetime of the particle | ||||
//and mix will be 1 if it mixed otherwise 0 | //and mix will be 1 if it mixed otherwise 0 | ||||
void incoherentMix( const EvtId id, double& t, int& mix ); | void incoherentMix( const EvtId id, double& t, int& mix ); | ||||
double getDeltaGamma( const EvtId id ); | double getDeltaGamma( const EvtId id ); | ||||
double getDeltaM( const EvtId id ); | double getDeltaM( const EvtId id ); | ||||
private: | private: | ||||
bool _enableFlip; | bool m_enableFlip; | ||||
int _mixingType; | int m_mixingType; | ||||
}; | }; | ||||
#endif | #endif |