BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRadCorr Class Reference

#include <EvtRadCorr.hh>

Public Member Functions

 EvtRadCorr ()
 
 ~EvtRadCorr ()
 
 EvtRadCorr ()
 
 ~EvtRadCorr ()
 

Static Public Member Functions

static void doRadCorr (EvtParticle *p)
 
static void setRadCorrEngine (EvtAbsRadCorr *isrEngine)
 
static bool alwaysRadCorr ()
 
static bool neverRadCorr ()
 
static void setAlwaysRadCorr ()
 
static void setNeverRadCorr ()
 
static void setNormalRadCorr ()
 
static void doRadCorr (EvtParticle *p)
 
static void setRadCorrEngine (EvtAbsRadCorr *isrEngine)
 
static bool alwaysRadCorr ()
 
static bool neverRadCorr ()
 
static void setAlwaysRadCorr ()
 
static void setNeverRadCorr ()
 
static void setNormalRadCorr ()
 

Detailed Description

Constructor & Destructor Documentation

◆ EvtRadCorr() [1/2]

EvtRadCorr::EvtRadCorr ( )

Definition at line 36 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtRadCorr.cc.

36 {
37 _isrEngine=0;
38 _alwaysRadCorr=false;
39 _neverRadCorr=false;
40}

◆ ~EvtRadCorr() [1/2]

EvtRadCorr::~EvtRadCorr ( )

Definition at line 42 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtRadCorr.cc.

42 {
43 if ( _isrEngine ) delete _isrEngine;
44 _isrEngine=0;
45}

◆ EvtRadCorr() [2/2]

EvtRadCorr::EvtRadCorr ( )

◆ ~EvtRadCorr() [2/2]

EvtRadCorr::~EvtRadCorr ( )

Member Function Documentation

◆ alwaysRadCorr() [1/2]

bool EvtRadCorr::alwaysRadCorr ( )
static

◆ alwaysRadCorr() [2/2]

static bool EvtRadCorr::alwaysRadCorr ( )
static

◆ doRadCorr() [1/2]

void EvtRadCorr::doRadCorr ( EvtParticle p)
static

Definition at line 52 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtRadCorr.cc.

52 {
53
54 if (_isrEngine==0){
55 report(ERROR,"EvtGen") <<"No RadCorr model available in "
56 <<"EvtRadCorr::doRadCorr()."<<endl;
57 ::abort();
58 }
59
60 if ( !_neverRadCorr) _isrEngine->doRadCorr(p);
61 return;
62}
ostream & report(Severity severity, const char *facility)
virtual void doRadCorr(EvtParticle *p)=0

Referenced by EvtDecayAmp::makeDecay(), EvtDecayIncoherent::makeDecay(), and EvtDecayProb::makeDecay().

◆ doRadCorr() [2/2]

static void EvtRadCorr::doRadCorr ( EvtParticle p)
static

◆ neverRadCorr() [1/2]

bool EvtRadCorr::neverRadCorr ( )
static

Definition at line 66 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtRadCorr.cc.

66{return _neverRadCorr;}

◆ neverRadCorr() [2/2]

static bool EvtRadCorr::neverRadCorr ( )
static

◆ setAlwaysRadCorr() [1/2]

void EvtRadCorr::setAlwaysRadCorr ( )
static

Definition at line 68 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtRadCorr.cc.

68{ _alwaysRadCorr=true; _neverRadCorr=false;}

Referenced by EvtDecayTable::readDecayFile().

◆ setAlwaysRadCorr() [2/2]

static void EvtRadCorr::setAlwaysRadCorr ( )
static

◆ setNeverRadCorr() [1/2]

void EvtRadCorr::setNeverRadCorr ( )
static

Definition at line 69 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtRadCorr.cc.

69{ _alwaysRadCorr=false; _neverRadCorr=true;}

Referenced by EvtDecayTable::readDecayFile().

◆ setNeverRadCorr() [2/2]

static void EvtRadCorr::setNeverRadCorr ( )
static

◆ setNormalRadCorr() [1/2]

void EvtRadCorr::setNormalRadCorr ( )
static

Definition at line 70 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtRadCorr.cc.

70{_alwaysRadCorr=false; _neverRadCorr=false;}

Referenced by EvtDecayTable::readDecayFile().

◆ setNormalRadCorr() [2/2]

static void EvtRadCorr::setNormalRadCorr ( )
static

◆ setRadCorrEngine() [1/2]

void EvtRadCorr::setRadCorrEngine ( EvtAbsRadCorr isrEngine)
static

Definition at line 47 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtRadCorr.cc.

47 {
48 _isrEngine=isrEngine;
49}

Referenced by EvtGen::EvtGen().

◆ setRadCorrEngine() [2/2]

static void EvtRadCorr::setRadCorrEngine ( EvtAbsRadCorr isrEngine)
static

The documentation for this class was generated from the following files: