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
EvtBcVHad.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 EvtBcVHad_HH
22
#define EvtBcVHad_HH
23
24
#include "
EvtGenBase/EvtDecayAmp.hh
"
25
#include "
EvtGenBase/EvtVector4C.hh
"
26
27
#include "
EvtGenModels/EvtBCVFF2.hh
"
28
#include "
EvtGenModels/EvtWHad.hh
"
29
30
#include <array>
31
#include <memory>
32
#include <string>
33
34
class
EvtParticle
;
35
36
// Description: Module to implement Bc -> psi + (n pi) + (m K) decays
37
38
class
EvtBcVHad
:
public
EvtDecayAmp
{
39
public
:
40
std::string
getName
()
const override
;
41
EvtDecayBase
*
clone
()
const override
;
42
void
initProbMax
()
override
;
43
void
init
()
override
;
44
void
decay
(
EvtParticle
* parent )
override
;
45
46
protected
:
47
// Hadronic current function
48
EvtVector4C
hardCurr
(
EvtParticle
* parent )
const
;
49
void
parseDecay
();
50
51
private
:
52
// Code of the Bc -> VW formfactor set:
53
// 1 - SR
54
// 2 - PM
55
int
m_whichFit
;
56
57
// Final vector particle code
58
int
m_idVector
;
59
60
// Code of the hadronic final state
61
// 1: B_c+ -> V pi+
62
// 2: B_c+ -> V pi+ pi0
63
// 3: B_c+ -> V 2pi+ pi-
64
// 4: B_c+ -> V 2pi+ pi- pi0 (not implemented)
65
// 5: B_c+ -> V 3pi+ 2pi-
66
// 6: B_c+ -> V K+ K- pi+
67
// 7: B_c+ -> V K+ pi+ pi-
68
// 8: B_c+ -> V K_S0 K+
69
// 9: B_c+ -> V K+ K- 2pi+ pi-
70
// 10: B_c+ -> V 4pi+ 3pi-
71
// 11: B_c+ -> V K+ 2pi+ 2pi-
72
int
m_outCode
;
73
74
std::unique_ptr<EvtBCVFF2>
m_FFModel
;
75
std::unique_ptr<EvtWHad>
m_WCurr
;
76
77
std::array<int, 4>
m_iPiPlus
= { { -1, -1, -1, -1 } };
78
std::array<int, 4>
m_iPiMinus
= { { -1, -1, -1, -1 } };
79
std::array<int, 4>
m_iPiZero
= { { -1, -1, -1, -1 } };
80
std::array<int, 4>
m_iKPlus
= { { -1, -1, -1, -1 } };
81
std::array<int, 4>
m_iKMinus
= { { -1, -1, -1, -1 } };
82
};
83
84
#endif
EvtBCVFF2.hh
EvtDecayAmp.hh
EvtVector4C.hh
EvtWHad.hh
EvtBcVHad
Definition
EvtBcVHad.hh:38
EvtBcVHad::init
void init() override
Definition
EvtBcVHad.cpp:48
EvtBcVHad::m_iKMinus
std::array< int, 4 > m_iKMinus
Definition
EvtBcVHad.hh:81
EvtBcVHad::m_iPiPlus
std::array< int, 4 > m_iPiPlus
Definition
EvtBcVHad.hh:77
EvtBcVHad::m_iPiMinus
std::array< int, 4 > m_iPiMinus
Definition
EvtBcVHad.hh:78
EvtBcVHad::getName
std::string getName() const override
Definition
EvtBcVHad.cpp:36
EvtBcVHad::m_outCode
int m_outCode
Definition
EvtBcVHad.hh:72
EvtBcVHad::hardCurr
EvtVector4C hardCurr(EvtParticle *parent) const
Definition
EvtBcVHad.cpp:312
EvtBcVHad::m_WCurr
std::unique_ptr< EvtWHad > m_WCurr
Definition
EvtBcVHad.hh:75
EvtBcVHad::parseDecay
void parseDecay()
Definition
EvtBcVHad.cpp:82
EvtBcVHad::clone
EvtDecayBase * clone() const override
Definition
EvtBcVHad.cpp:41
EvtBcVHad::m_iKPlus
std::array< int, 4 > m_iKPlus
Definition
EvtBcVHad.hh:80
EvtBcVHad::decay
void decay(EvtParticle *parent) override
Definition
EvtBcVHad.cpp:394
EvtBcVHad::m_whichFit
int m_whichFit
Definition
EvtBcVHad.hh:55
EvtBcVHad::m_iPiZero
std::array< int, 4 > m_iPiZero
Definition
EvtBcVHad.hh:79
EvtBcVHad::m_FFModel
std::unique_ptr< EvtBCVFF2 > m_FFModel
Definition
EvtBcVHad.hh:74
EvtBcVHad::m_idVector
int m_idVector
Definition
EvtBcVHad.hh:58
EvtBcVHad::initProbMax
void initProbMax() override
Definition
EvtBcVHad.cpp:172
EvtDecayAmp
Definition
EvtDecayAmp.hh:29
EvtDecayBase::EvtDecayBase
EvtDecayBase()=default
EvtParticle
Definition
EvtParticle.hh:45
EvtVector4C
Definition
EvtVector4C.hh:30
Generated by
1.16.1