#include <EvtBtoXsgammaFixedMass.hh>
Definition at line 27 of file EvtBtoXsgammaFixedMass.hh.
◆ EvtBtoXsgammaFixedMass()
EvtBtoXsgammaFixedMass::EvtBtoXsgammaFixedMass |
( |
| ) |
|
|
inline |
◆ ~EvtBtoXsgammaFixedMass()
EvtBtoXsgammaFixedMass::~EvtBtoXsgammaFixedMass |
( |
| ) |
|
|
virtual |
◆ GetMass()
double EvtBtoXsgammaFixedMass::GetMass |
( |
int | code | ) |
|
|
virtual |
◆ init()
void EvtBtoXsgammaFixedMass::init |
( |
int | nArg, |
|
|
double * | args ) |
|
virtual |
Reimplemented from EvtBtoXsgammaAbsModel.
Definition at line 32 of file 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)
The documentation for this class was generated from the following files: