#include <EvtBtoXsgammaFixedMass.hh>
Inheritance diagram for EvtBtoXsgammaFixedMass:
Public Member Functions | |
EvtBtoXsgammaFixedMass () | |
double | GetMass (int code) |
void | init (int, double *) |
virtual | ~EvtBtoXsgammaFixedMass () |
Private Attributes | |
double | _mH |
|
00031 {}
|
|
00029 { 00030 }
|
|
Implements EvtBtoXsgammaAbsModel. 00050 {
00051 return _mH;
00052 }
|
|
Reimplemented from EvtBtoXsgammaAbsModel. 00032 { 00033 00034 if ((nArg) > 2 || (nArg > 1 && nArg <2)){ 00035 00036 report(ERROR,"EvtGen") << "EvtBtoXsgamma generator model " 00037 << "EvtBtoXsgammaFixedMass expected " 00038 << "either 1(default config) or two arguments but found: "<<nArg<<endl; 00039 report(ERROR,"EvtGen") << "Will terminate execution!"<<endl; 00040 ::abort(); 00041 } 00042 00043 if(nArg == 1){ 00044 _mH = 2.0; 00045 }else{ 00046 _mH=args[1]; 00047 } 00048 }
|
|
|