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
EvtBcBsNPi.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 // Fp_N=1.3; Fp_c1=0.30; Fp_c2=0.069;
35 m_Fp_N = 3 * 1.3;
36 m_Fp_c1 = 0.30;
37 m_Fp_c2 = 0.069;
38 m_Fm_N = 0.0;
39 m_Fm_c1 = 0.0;
40 m_Fm_c2 = 0.0;
41}
42
43std::string EvtBcBsNPi::getName() const
44{
45 return "BC_BS_NPI";
46}
47
49{
50 return new EvtBcBsNPi;
51}
52
54{
55 checkNArg( 0 );
56
57 // check spins
60 // the others are scalar
61 for ( int i = 1; i <= ( getNDaug() - 1 ); i++ ) {
63 }
64}
65
67{
68 if ( getNDaug() == 2 ) {
69 setProbMax( 250. );
70 } else if ( getNDaug() == 3 ) {
71 setProbMax( 25000. ); // checked at 30k events
72 } else if ( getNDaug() == 4 ) {
73 setProbMax( 45000. ); // checked at 30k events
74 }
75}
EvtBcBsNPi * clone() const override
std::string getName() const override
void init() override
void initProbMax() override
double m_Fm_N
Definition EvtBcToNPi.hh:60
double m_Fm_c1
Definition EvtBcToNPi.hh:60
double m_mRhopr
Definition EvtBcToNPi.hh:66
double m_Fp_N
Definition EvtBcToNPi.hh:59
double m_gammaRho
Definition EvtBcToNPi.hh:65
double m_gammaRhopr
Definition EvtBcToNPi.hh:67
double m_gammaA1
Definition EvtBcToNPi.hh:69
double m_Fp_c2
Definition EvtBcToNPi.hh:59
double m_beta
Definition EvtBcToNPi.hh:63
double m_Fp_c1
Definition EvtBcToNPi.hh:59
double m_mRho
Definition EvtBcToNPi.hh:64
double m_Fm_c2
Definition EvtBcToNPi.hh:60
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)