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.
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 
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  // Fp_N=1.3; Fp_c1=0.30; Fp_c2=0.069;
36  Fp_N = 3 * 1.3;
37  Fp_c1 = 0.30;
38  Fp_c2 = 0.069;
39  Fm_N = 0.0;
40  Fm_c1 = 0.0;
41  Fm_c2 = 0.0;
42 }
43 
44 std::string EvtBcBsNPi::getName()
45 {
46  return "BC_BS_NPI";
47 }
48 
50 {
51  return new EvtBcBsNPi;
52 }
53 
55 {
56  checkNArg( 0 );
57 
58  // check spins
61  // the others are scalar
62  for ( int i = 1; i <= ( getNDaug() - 1 ); i++ ) {
64  }
65 }
66 
68 {
69  if ( getNDaug() == 2 ) {
70  setProbMax( 250. );
71  } else if ( getNDaug() == 3 ) {
72  setProbMax( 25000. ); // checked at 30k events
73  } else if ( getNDaug() == 4 ) {
74  setProbMax( 45000. ); // checked at 30k events
75  }
76 }
double _gammaRho
Definition: EvtBcToNPi.hh:65
void initProbMax() override
Definition: EvtBcBsNPi.cpp:67
double Fm_c2
Definition: EvtBcToNPi.hh:60
double Fp_c1
Definition: EvtBcToNPi.hh:59
double Fp_c2
Definition: EvtBcToNPi.hh:59
double Fm_N
Definition: EvtBcToNPi.hh:60
double _beta
Definition: EvtBcToNPi.hh:63
double Fp_N
Definition: EvtBcToNPi.hh:59
void setProbMax(double prbmx)
double _mRho
Definition: EvtBcToNPi.hh:64
EvtBcBsNPi * clone() override
Definition: EvtBcBsNPi.cpp:49
void checkSpinParent(EvtSpinType::spintype sp)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
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
void init() override
Definition: EvtBcBsNPi.cpp:54
double Fm_c1
Definition: EvtBcToNPi.hh:60
double _gammaA1
Definition: EvtBcToNPi.hh:69
std::string getName() override
Definition: EvtBcBsNPi.cpp:44