/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtCPUtil.hh

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 // Environment:
00004 //      This software is part of the EvtGen package developed jointly
00005 //      for the BaBar and CLEO collaborations.  If you use all or part
00006 //      of it, please give an appropriate acknowledgement.
00007 //
00008 // Copyright Information: See EvtGen/COPYRIGHT
00009 //      Copyright (C) 1998      Caltech, UCSB
00010 //
00011 // Module: EvtGen/EvtCPUtil.hh
00012 //
00013 // Description:Class to hold CP physics utilities.
00014 //
00015 // Modification history:
00016 //
00017 //    RYD     March 24, 1998         Module created
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   //id is the produced particle
00046   //t returns the lifetime of the particle
00047   //and mix will be 1 if it mixed otherwise 0
00048   static void incoherentMix(const EvtId id, double &t, int &mix);
00049 
00050 
00051 
00052 };
00053 
00054 
00055 #endif
00056 

Generated on Tue Nov 29 23:12:12 2016 for BOSS_7.0.2 by  doxygen 1.4.7