#include <EvtBtoXsgammaFixedMass.hh>
◆ EvtBtoXsgammaFixedMass() [1/2]
EvtBtoXsgammaFixedMass::EvtBtoXsgammaFixedMass |
( |
| ) |
|
|
inline |
◆ ~EvtBtoXsgammaFixedMass() [1/2]
EvtBtoXsgammaFixedMass::~EvtBtoXsgammaFixedMass |
( |
| ) |
|
|
virtual |
◆ EvtBtoXsgammaFixedMass() [2/2]
EvtBtoXsgammaFixedMass::EvtBtoXsgammaFixedMass |
( |
| ) |
|
|
inline |
◆ ~EvtBtoXsgammaFixedMass() [2/2]
virtual EvtBtoXsgammaFixedMass::~EvtBtoXsgammaFixedMass |
( |
| ) |
|
|
virtual |
◆ GetMass() [1/2]
double EvtBtoXsgammaFixedMass::GetMass |
( |
int |
code | ) |
|
|
virtual |
◆ GetMass() [2/2]
double EvtBtoXsgammaFixedMass::GetMass |
( |
int |
code | ) |
|
|
virtual |
◆ init() [1/2]
void EvtBtoXsgammaFixedMass::init |
( |
int |
nArg, |
|
|
double * |
args |
|
) |
| |
|
virtual |
Reimplemented from EvtBtoXsgammaAbsModel.
Definition at line 32 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/EvtBtoXsgammaFixedMass.cc.
32 {
33
34 if ((nArg) > 2 || (nArg > 1 && nArg <2)){
35
36 report(
ERROR,
"EvtGen") <<
"EvtBtoXsgamma generator model "
37 << "EvtBtoXsgammaFixedMass expected "
38 << "either 1(default config) or two arguments but found: "<<nArg<<endl;
39 report(
ERROR,
"EvtGen") <<
"Will terminate execution!"<<endl;
40 ::abort();
41 }
42
43 if(nArg == 1){
44 _mH = 2.0;
45 }else{
46 _mH=args[1];
47 }
48}
ostream & report(Severity severity, const char *facility)
◆ init() [2/2]
void EvtBtoXsgammaFixedMass::init |
( |
int |
, |
|
|
double * |
|
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: