StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EvtRadCorr.hh
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:FSR 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 
25 class EvtAbsRadCorr;
26 class EvtParticle;
27 
28 class EvtRadCorr{
29 
30 public:
31  EvtRadCorr();
32  ~EvtRadCorr();
33 
34  static void doRadCorr(EvtParticle *p);
35 
36  //This class does not take ownership of the fsr engine;
37  //the caller needs to make sure that the engine is not
38  //destroyed.
39  static void setRadCorrEngine(EvtAbsRadCorr* fsrEngine);
40  static bool alwaysRadCorr();
41  static bool neverRadCorr();
42  static void setAlwaysRadCorr();
43  static void setNeverRadCorr();
44  static void setNormalRadCorr();
45 
46 private:
47 
48  static EvtAbsRadCorr* _fsrEngine;
49  static bool _alwaysRadCorr;
50  static bool _neverRadCorr;
51 };
52 
53 #endif
54