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.
EvtBcBsStarNPi.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 = 8.1;
37  FA0_c1 = 0.30;
38  FA0_c2 = 0.069;
39  FAm_N = 0.0;
40  FAm_c1 = 0.0;
41  FAm_c2 = 0.0;
42  FAp_N = 0.15;
43  FAp_c1 = 0.30;
44  FAp_c2 = 0.069;
45  FV_N = 1.08;
46  FV_c1 = 0.30;
47  FV_c2 = 0.069;
48 }
49 
51 {
52  return "BC_BSSTAR_NPI";
53 }
54 
56 {
57  return new EvtBcBsStarNPi;
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  if ( getNDaug() == 2 ) {
76  setProbMax( 100. );
77  } else if ( getNDaug() == 3 ) {
78  setProbMax( 40000. );
79  } else if ( getNDaug() == 4 ) {
80  setProbMax( 620. ); // checked, 30k events
81  }
82 }
double _gammaRho
Definition: EvtBcToNPi.hh:65
double FAm_N
Definition: EvtBcToNPi.hh:55
double FAm_c1
Definition: EvtBcToNPi.hh:55
double FA0_N
Definition: EvtBcToNPi.hh:54
double FAp_N
Definition: EvtBcToNPi.hh:56
double FAp_c2
Definition: EvtBcToNPi.hh:56
EvtBcBsStarNPi * clone() override
void init() override
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)
std::string getName() override
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
void initProbMax() override
double _gammaA1
Definition: EvtBcToNPi.hh:69