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
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
26
29
30#include <array>
31#include <memory>
32#include <string>
33
34class EvtParticle;
35
36// Description: Module to implement Bc -> psi + (n pi) + (m K) decays
37
38class 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
56
57 // Final vector particle code
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-
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
void init() override
Definition EvtBcVHad.cpp:48
std::array< int, 4 > m_iKMinus
Definition EvtBcVHad.hh:81
std::array< int, 4 > m_iPiPlus
Definition EvtBcVHad.hh:77
std::array< int, 4 > m_iPiMinus
Definition EvtBcVHad.hh:78
std::string getName() const override
Definition EvtBcVHad.cpp:36
int m_outCode
Definition EvtBcVHad.hh:72
EvtVector4C hardCurr(EvtParticle *parent) const
std::unique_ptr< EvtWHad > m_WCurr
Definition EvtBcVHad.hh:75
void parseDecay()
Definition EvtBcVHad.cpp:82
EvtDecayBase * clone() const override
Definition EvtBcVHad.cpp:41
std::array< int, 4 > m_iKPlus
Definition EvtBcVHad.hh:80
void decay(EvtParticle *parent) override
int m_whichFit
Definition EvtBcVHad.hh:55
std::array< int, 4 > m_iPiZero
Definition EvtBcVHad.hh:79
std::unique_ptr< EvtBCVFF2 > m_FFModel
Definition EvtBcVHad.hh:74
int m_idVector
Definition EvtBcVHad.hh:58
void initProbMax() override
EvtDecayBase()=default