BOSS
6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtCPUtil.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of the EvtGen package developed jointly
5
// for the BaBar and CLEO collaborations. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/COPYRIGHT
9
// Copyright (C) 1998 Caltech, UCSB
10
//
11
// Module: EvtGen/EvtCPUtil.hh
12
//
13
// Description:Class to hold CP physics utilities.
14
//
15
// Modification history:
16
//
17
// RYD March 24, 1998 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTCPUTIL_HH
22
#define EVTCPUTIL_HH
23
24
#include "
EvtGenBase/EvtComplex.hh
"
25
#include "
EvtGenBase/EvtPatches.hh
"
26
class
EvtParticle
;
27
class
EvtId
;
28
29
class
EvtCPUtil
{
30
31
public
:
32
33
static
void
fractB0CP
(
EvtComplex
Af,
EvtComplex
Abarf,
34
double
deltam,
double
beta,
double
&fract);
35
36
static
void
fractB0nonCP
(
EvtComplex
Af,
EvtComplex
Abarf,
37
EvtComplex
Afbar,
EvtComplex
Abarfbar,
38
double
deltam,
double
beta,
int
flip,
39
double
&fract);
40
41
static
void
OtherB
(
EvtParticle
*p,
double
&
t
,
EvtId
&otherb);
42
43
static
void
OtherB
(
EvtParticle
*p,
double
&
t
,
EvtId
&otherb,
double
probB0);
44
45
//id is the produced particle
46
//t returns the lifetime of the particle
47
//and mix will be 1 if it mixed otherwise 0
48
static
void
incoherentMix
(
const
EvtId
id
,
double
&
t
,
int
&mix);
49
50
51
52
};
53
54
55
#endif
56
EvtComplex.hh
EvtPatches.hh
EvtCPUtil
Definition:
EvtCPUtil.hh:29
EvtCPUtil::fractB0nonCP
static void fractB0nonCP(EvtComplex Af, EvtComplex Abarf, EvtComplex Afbar, EvtComplex Abarfbar, double deltam, double beta, int flip, double &fract)
Definition:
EvtCPUtil.cc:66
EvtCPUtil::fractB0CP
static void fractB0CP(EvtComplex Af, EvtComplex Abarf, double deltam, double beta, double &fract)
Definition:
EvtCPUtil.cc:41
EvtCPUtil::incoherentMix
static void incoherentMix(const EvtId id, double &t, int &mix)
Definition:
EvtCPUtil.cc:294
EvtCPUtil::OtherB
static void OtherB(EvtParticle *p, double &t, EvtId &otherb)
Definition:
EvtCPUtil.cc:229
EvtComplex
Definition:
EvtComplex.hh:28
EvtId
Definition:
EvtId.hh:27
EvtParticle
Definition:
EvtParticle.hh:42
t
int t()
Definition:
t.c:1
source
Generator
BesEvtGen
BesEvtGen-00-01-94
src
EvtGen
EvtGenBase
EvtCPUtil.hh
Generated by
1.9.6