evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
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 
23 #include "EvtGenBase/EvtPatches.hh"
25 
27 {
28  _beta = -0.108;
29  _mRho = 0.775;
30  _gammaRho = 0.149;
31  _mRhopr = 1.364;
32  _gammaRhopr = 0.400;
33  _mA1 = 1.23;
34  _gammaA1 = 0.4;
35 
36  FA0_N = 5.9;
37  FA0_c1 = 0.049;
38  FA0_c2 = 0.0015;
39  FAm_N = 0.0;
40  FAm_c1 = 0.0;
41  FAm_c2 = 0.0;
42  FAp_N = -0.074;
43  FAp_c1 = 0.049;
44  FAp_c2 = 0.0015;
45  FV_N = 0.11;
46  FV_c1 = 0.049;
47  FV_c2 = 0.0015;
48 }
49 
50 std::string EvtBcPsiNPi::getName()
51 {
52  return "BC_PSI_NPI";
53 }
54 
56 {
57  return new EvtBcPsiNPi;
58 }
59 
61 {
62  checkNArg( 0 );
63 
64  // check spins
67  // the others are scalar
68  for ( int i = 1; i <= ( getNDaug() - 1 ); i++ ) {
70  }
71 }
72 
74 {
75  setProbMax( 100. );
76  if ( getNDaug() == 2 ) {
77  setProbMax( 330. );
78  } else if ( getNDaug() == 3 ) {
79  setProbMax( 11000. ); // checked with 30k events
80  } else if ( getNDaug() == 4 ) {
81  setProbMax( 36000. );
82  }
83 }
void init() override
Definition: EvtBcPsiNPi.cpp:60
double _gammaRho
Definition: EvtBcToNPi.hh:65
double FAm_N
Definition: EvtBcToNPi.hh:55
void initProbMax() override
Definition: EvtBcPsiNPi.cpp:73
double FAm_c1
Definition: EvtBcToNPi.hh:55
std::string getName() override
Definition: EvtBcPsiNPi.cpp:50
double FA0_N
Definition: EvtBcToNPi.hh:54
double FAp_N
Definition: EvtBcToNPi.hh:56
double FAp_c2
Definition: EvtBcToNPi.hh:56
double FV_N
Definition: EvtBcToNPi.hh:57
double FA0_c2
Definition: EvtBcToNPi.hh:54
double _beta
Definition: EvtBcToNPi.hh:63
void setProbMax(double prbmx)
double FA0_c1
Definition: EvtBcToNPi.hh:54
double FAp_c1
Definition: EvtBcToNPi.hh:56
double _mRho
Definition: EvtBcToNPi.hh:64
double FV_c2
Definition: EvtBcToNPi.hh:57
void checkSpinParent(EvtSpinType::spintype sp)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
double FAm_c2
Definition: EvtBcToNPi.hh:55
double _gammaRhopr
Definition: EvtBcToNPi.hh:67
double _mA1
Definition: EvtBcToNPi.hh:68
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
int getNDaug() const
Definition: EvtDecayBase.hh:65
double _mRhopr
Definition: EvtBcToNPi.hh:66
double FV_c1
Definition: EvtBcToNPi.hh:57
EvtBcPsiNPi * clone() override
Definition: EvtBcPsiNPi.cpp:55
double _gammaA1
Definition: EvtBcToNPi.hh:69