00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef EVTCPUTIL_HH
00022 #define EVTCPUTIL_HH
00023
00024 #include "EvtGenBase/EvtComplex.hh"
00025 #include "EvtGenBase/EvtPatches.hh"
00026 class EvtParticle;
00027 class EvtId;
00028
00029 class EvtCPUtil{
00030
00031 public:
00032
00033 static void fractB0CP(EvtComplex Af, EvtComplex Abarf,
00034 double deltam, double beta, double &fract);
00035
00036 static void fractB0nonCP(EvtComplex Af, EvtComplex Abarf,
00037 EvtComplex Afbar, EvtComplex Abarfbar,
00038 double deltam, double beta, int flip,
00039 double &fract);
00040
00041 static void OtherB(EvtParticle *p, double &t, EvtId &otherb);
00042
00043 static void OtherB(EvtParticle *p, double &t, EvtId &otherb, double probB0);
00044
00045
00046
00047
00048 static void incoherentMix(const EvtId id, double &t, int &mix);
00049
00050
00051
00052 };
00053
00054
00055 #endif
00056