EvtGen
2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtGenModels
EvtBToKpipiCP.hh
Go to the documentation of this file.
1
2
/***********************************************************************
3
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
4
* *
5
* This file is part of EvtGen. *
6
* *
7
* EvtGen is free software: you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation, either version 3 of the License, or *
10
* (at your option) any later version. *
11
* *
12
* EvtGen is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
16
* *
17
* You should have received a copy of the GNU General Public License *
18
* along with EvtGen. If not, see <https://www.gnu.org/licenses/>. *
19
***********************************************************************/
20
21
#ifndef EVTBTOKPIPICP_HH
22
#define EVTBTOKPIPICP_HH
23
24
#include "
EvtGenBase/EvtDecayAmp.hh
"
25
#include "
EvtGenBase/EvtVector4R.hh
"
26
27
#include "
EvtGenModels/EvtBTo3hCP.hh
"
28
29
class
EvtParticle
;
30
31
// Description: Routine to decay B->K pi pi
32
// and has CP violation.
33
// --- This is the routine to be called by the Main generator
34
// to get the decay of B0 -->-- K+ pi- pi0
35
// The decay proceeeds through three channels:
36
// a) B0 -->-- K*+ pi- ; K*+ -->-- K+ pi0
37
// b) K*0 pi0 ; K*0bar -->-- K+ pi-
38
// c) K- rho+ ; rho+ -->-- pi+ pi0
39
// It provides at the same time the CP conjugate decay
40
// B0bar -->-- K- pi+ pi0
41
42
class
EvtBToKpipiCP
:
public
EvtDecayAmp
{
43
public
:
44
EvtBToKpipiCP
() {}
45
46
std::string
getName
()
const override
;
47
EvtBToKpipiCP
*
clone
()
const override
;
48
49
void
init
()
override
;
50
void
initProbMax
()
override
;
51
void
decay
(
EvtParticle
* p )
override
;
52
53
private
:
54
EvtBTo3hCP
m_generator
;
55
};
56
57
#endif
EvtBTo3hCP.hh
EvtDecayAmp.hh
EvtVector4R.hh
EvtBTo3hCP
Definition
EvtBTo3hCP.hh:29
EvtBToKpipiCP
Definition
EvtBToKpipiCP.hh:42
EvtBToKpipiCP::m_generator
EvtBTo3hCP m_generator
Definition
EvtBToKpipiCP.hh:54
EvtBToKpipiCP::clone
EvtBToKpipiCP * clone() const override
Definition
EvtBToKpipiCP.cpp:39
EvtBToKpipiCP::init
void init() override
Definition
EvtBToKpipiCP.cpp:44
EvtBToKpipiCP::getName
std::string getName() const override
Definition
EvtBToKpipiCP.cpp:34
EvtBToKpipiCP::EvtBToKpipiCP
EvtBToKpipiCP()
Definition
EvtBToKpipiCP.hh:44
EvtBToKpipiCP::initProbMax
void initProbMax() override
Definition
EvtBToKpipiCP.cpp:69
EvtBToKpipiCP::decay
void decay(EvtParticle *p) override
Definition
EvtBToKpipiCP.cpp:74
EvtDecayAmp
Definition
EvtDecayAmp.hh:29
EvtParticle
Definition
EvtParticle.hh:45
Generated by
1.16.1