CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRadCorr.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 1998 Caltech, UCSB
10//
11// Module: EvtGen/EvtRadCorr.hh
12//
13// Description:ISR interface
14//
15// Modification history:
16//
17// Lange April 27, 2002 Created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTRADCORR_HH
22#define EVTRADCORR_HH
23
24
25class EvtAbsRadCorr;
26class EvtParticle;
27
29
30public:
31 EvtRadCorr();
33
34 static void doRadCorr(EvtParticle *p);
35
36 //This class does not take ownership of the random engine;
37 //the caller needs to make sure that the engine is not
38 //destroyed.
39 static void setRadCorrEngine(EvtAbsRadCorr* isrEngine);
40 static bool alwaysRadCorr();
41 static bool neverRadCorr();
42 static void setAlwaysRadCorr();
43 static void setNeverRadCorr();
44 static void setNormalRadCorr();
45
46private:
47
48 static EvtAbsRadCorr* _isrEngine;
49 static bool _alwaysRadCorr;
50 static bool _neverRadCorr;
51};
52
53#endif
54
static void setAlwaysRadCorr()
Definition: EvtRadCorr.cc:68
static void setNormalRadCorr()
Definition: EvtRadCorr.cc:70
static bool alwaysRadCorr()
Definition: EvtRadCorr.cc:65
static bool neverRadCorr()
Definition: EvtRadCorr.cc:66
static void setRadCorrEngine(EvtAbsRadCorr *isrEngine)
Definition: EvtRadCorr.cc:47
static void setNeverRadCorr()
Definition: EvtRadCorr.cc:69
static void doRadCorr(EvtParticle *p)
Definition: EvtRadCorr.cc:52