#include <EvtRadCorr.hh>
Public Member Functions | |
EvtRadCorr () | |
~EvtRadCorr () | |
Static Public Member Functions | |
bool | alwaysRadCorr () |
void | doRadCorr (EvtParticle *p) |
bool | neverRadCorr () |
void | setAlwaysRadCorr () |
void | setNeverRadCorr () |
void | setNormalRadCorr () |
void | setRadCorrEngine (EvtAbsRadCorr *isrEngine) |
Static Private Attributes | |
bool | _alwaysRadCorr = false |
EvtAbsRadCorr * | _isrEngine = 0 |
bool | _neverRadCorr = false |
|
00036 { 00037 _isrEngine=0; 00038 _alwaysRadCorr=false; 00039 _neverRadCorr=false; 00040 }
|
|
00042 { 00043 if ( _isrEngine ) delete _isrEngine; 00044 _isrEngine=0; 00045 }
|
|
00065 {return _alwaysRadCorr;}
|
|
00052 { 00053 00054 if (_isrEngine==0){ 00055 report(ERROR,"EvtGen") <<"No RadCorr model available in " 00056 <<"EvtRadCorr::doRadCorr()."<<endl; 00057 ::abort(); 00058 } 00059 00060 if ( !_neverRadCorr) _isrEngine->doRadCorr(p); 00061 return; 00062 }
|
|
00066 {return _neverRadCorr;}
|
|
00068 { _alwaysRadCorr=true; _neverRadCorr=false;}
|
|
00069 { _alwaysRadCorr=false; _neverRadCorr=true;}
|
|
00070 {_alwaysRadCorr=false; _neverRadCorr=false;}
|
|
00047 { 00048 _isrEngine=isrEngine; 00049 }
|
|
|
|
|
|
|