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
EvtBcPsiNPi.cpp
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
22
24
26{
27 m_beta = -0.108;
28 m_mRho = 0.775;
29 m_gammaRho = 0.149;
30 m_mRhopr = 1.364;
31 m_gammaRhopr = 0.400;
32 m_mA1 = 1.23;
33 m_gammaA1 = 0.4;
34
35 m_FA0_N = 5.9;
36 m_FA0_c1 = 0.049;
37 m_FA0_c2 = 0.0015;
38 m_FAm_N = 0.0;
39 m_FAm_c1 = 0.0;
40 m_FAm_c2 = 0.0;
41 m_FAp_N = -0.074;
42 m_FAp_c1 = 0.049;
43 m_FAp_c2 = 0.0015;
44 m_FV_N = 0.11;
45 m_FV_c1 = 0.049;
46 m_FV_c2 = 0.0015;
47}
48
49std::string EvtBcPsiNPi::getName() const
50{
51 return "BC_PSI_NPI";
52}
53
55{
56 return new EvtBcPsiNPi;
57}
58
60{
61 checkNArg( 0 );
62
63 // check spins
66 // the others are scalar
67 for ( int i = 1; i <= ( getNDaug() - 1 ); i++ ) {
69 }
70}
71
73{
74 setProbMax( 100. );
75 if ( getNDaug() == 2 ) {
76 setProbMax( 330. );
77 } else if ( getNDaug() == 3 ) {
78 setProbMax( 11000. ); // checked with 30k events
79 } else if ( getNDaug() == 4 ) {
80 setProbMax( 36000. );
81 }
82}
void initProbMax() override
std::string getName() const override
EvtBcPsiNPi * clone() const override
void init() override
double m_FAm_N
Definition EvtBcToNPi.hh:55
double m_mRhopr
Definition EvtBcToNPi.hh:66
double m_FAm_c1
Definition EvtBcToNPi.hh:55
double m_FAp_c2
Definition EvtBcToNPi.hh:56
double m_FAp_N
Definition EvtBcToNPi.hh:56
double m_gammaRho
Definition EvtBcToNPi.hh:65
double m_gammaRhopr
Definition EvtBcToNPi.hh:67
double m_FAm_c2
Definition EvtBcToNPi.hh:55
double m_FV_c2
Definition EvtBcToNPi.hh:57
double m_gammaA1
Definition EvtBcToNPi.hh:69
double m_beta
Definition EvtBcToNPi.hh:63
double m_FV_N
Definition EvtBcToNPi.hh:57
double m_FA0_c2
Definition EvtBcToNPi.hh:54
double m_FA0_N
Definition EvtBcToNPi.hh:54
double m_FV_c1
Definition EvtBcToNPi.hh:57
double m_FAp_c1
Definition EvtBcToNPi.hh:56
double m_FA0_c1
Definition EvtBcToNPi.hh:54
double m_mRho
Definition EvtBcToNPi.hh:64
double m_mA1
Definition EvtBcToNPi.hh:68
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
int getNDaug() const
void checkSpinParent(EvtSpinType::spintype sp)
void setProbMax(double prbmx)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)