ATLAS Offline Software
EvtPHSPBMix.h
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) 2002 INFN-Pisa
10 //
11 // Module: EvtPHSPBMix.cc
12 //
13 // Description:
14 // Routine to decay vector-> particle particle with B0 mixing, coherent B0B0-like mixing if any.
15 // EvtPHSPBBMix: handle states with two neutral B
16 // EvtPHSPBMix : handles states with only one neutral B
17 // Phase-space kinematics, CP conservation, deltaGamma=0, p/q=1
18 //
19 // Based on EvtVSSBMixCPT
20 //
21 // Modification history:
22 //
23 // R. Louvot, EPFL, 2010/03/09
24 // C. MacQueen, 2016/10/03 Adapted to Belle II
25 //
26 //------------------------------------------------------------------------
27 
28 #ifndef EVTPHSPBMIX_HH
29 #define EVTPHSPBMIX_HH
30 
31 #include "EvtGenBase/EvtDecayAmp.hh"
32 #include "EvtGenBase/EvtParticle.hh"
33 #include "EvtGenBase/EvtComplex.hh"
34 
37 class EvtPHSPBBMix: public EvtDecayAmp {
38 
39 public:
40 
43 
45  virtual ~EvtPHSPBBMix();
46 
48  std::string getName();
49 
51  EvtDecayBase* clone();
52 
54  void decay(EvtParticle* p);
55 
57  void init();
58 
60  void initProbMax();
61 
64 
65 private:
66 
68  void prlp(int)const;
69 
71  EvtComplex Amplitude(const double& t1, const double& t2, bool B1_is_B0, bool B2_is_B0) const;
72 
74  double m_freq{0}; //
75 
77  double m_C{0}; //
78 
80  bool m_BBpipi{0};
81 
82 };
83 
86 class EvtPHSPBMix : public EvtDecayAmp {
87 
88 public:
89 
92 
94  virtual ~EvtPHSPBMix();
95 
97  std::string getName();
98 
100  EvtDecayBase* clone();
101 
103  void decay(EvtParticle* p);
104 
106  void init();
107 
109  void initProbMax();
110 
113 
114 private:
115 
117  double m_freq{0};
118 
119 };
120 
121 #endif
EvtPHSPBMix
The class provides routine to decay vector-> particle particle with B0 mixing, handles states with on...
Definition: EvtPHSPBMix.h:86
EvtPHSPBBMix
The class provides routine to decay vector-> particle particle with B0 mixing, coherent B0B0-like mix...
Definition: EvtPHSPBMix.h:37
EvtPHSPBBMix::m_freq
double m_freq
mixing frequency in hbar/mm
Definition: EvtPHSPBMix.h:74
EvtPHSPBBMix::nRealDaughters
int nRealDaughters()
Number of real daughters.
EvtPHSPBMix::nRealDaughters
int nRealDaughters()
Number of real daughters.
EvtPHSPBBMix::getName
std::string getName()
Get function Name
ALFA_EventTPCnv_Dict::t1
std::vector< ALFA_RawDataCollection_p1 > t1
Definition: ALFA_EventTPCnvDict.h:43
EvtPHSPBMix::initProbMax
void initProbMax()
Init maximal prob.
EvtPHSPBMix::getName
std::string getName()
Get function Name
EvtPHSPBBMix::EvtPHSPBBMix
EvtPHSPBBMix()
Default constructor.
Definition: EvtPHSPBMix.h:42
EvtPHSPBMix::decay
void decay(EvtParticle *p)
Decay function.
EvtPHSPBBMix::~EvtPHSPBBMix
virtual ~EvtPHSPBBMix()
Default destructor.
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
EvtPHSPBMix::m_freq
double m_freq
mixing frequency in hbar/mm
Definition: EvtPHSPBMix.h:117
EvtPHSPBBMix::clone
EvtDecayBase * clone()
Clone the decay
EvtPHSPBMix::~EvtPHSPBMix
virtual ~EvtPHSPBMix()
Default destructor.
EvtPHSPBBMix::Amplitude
EvtComplex Amplitude(const double &t1, const double &t2, bool B1_is_B0, bool B2_is_B0) const
Calculate amplitude.
EvtPHSPBMix::clone
EvtDecayBase * clone()
Clone the decay
EvtPHSPBBMix::init
void init()
Init function.
EvtPHSPBBMix::prlp
void prlp(int) const
Number of real daughters.
ALFA_EventTPCnv_Dict::t2
std::vector< ALFA_RawDataContainer_p1 > t2
Definition: ALFA_EventTPCnvDict.h:44
EvtPHSPBBMix::initProbMax
void initProbMax()
Init maximal prob.
EvtPHSPBBMix::m_C
double m_C
C eigenvalue, 0= incoherent.
Definition: EvtPHSPBMix.h:77
EvtPHSPBMix::EvtPHSPBMix
EvtPHSPBMix()
Default constructor.
Definition: EvtPHSPBMix.h:91
EvtPHSPBMix::init
void init()
Init function.
EvtPHSPBBMix::decay
void decay(EvtParticle *p)
Decay function.
EvtPHSPBBMix::m_BBpipi
bool m_BBpipi
Is BBpipi?
Definition: EvtPHSPBMix.h:80