]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TEvtGen/EvtGen/EvtGenBase/EvtRadCorr.hh
Converting TEvtGen to native cmake
[u/mrichter/AliRoot.git] / TEvtGen / EvtGen / EvtGenBase / EvtRadCorr.hh
diff --git a/TEvtGen/EvtGen/EvtGenBase/EvtRadCorr.hh b/TEvtGen/EvtGen/EvtGenBase/EvtRadCorr.hh
new file mode 100644 (file)
index 0000000..f91c799
--- /dev/null
@@ -0,0 +1,54 @@
+//--------------------------------------------------------------------------
+//
+// Environment:
+//      This software is part of the EvtGen package developed jointly
+//      for the BaBar and CLEO collaborations.  If you use all or part
+//      of it, please give an appropriate acknowledgement.
+//
+// Copyright Information: See EvtGen/COPYRIGHT
+//      Copyright (C) 1998      Caltech, UCSB
+//
+// Module: EvtGen/EvtRadCorr.hh
+//
+// Description:FSR interface 
+//
+// Modification history:
+//
+//    Lange   April 27, 2002 Created
+//
+//------------------------------------------------------------------------
+
+#ifndef EVTRADCORR_HH
+#define EVTRADCORR_HH
+
+
+class EvtAbsRadCorr;
+class EvtParticle;
+
+class EvtRadCorr{
+
+public:
+  EvtRadCorr();
+  ~EvtRadCorr();
+
+  static void doRadCorr(EvtParticle *p);
+  
+  //This class does not take ownership of the fsr engine;
+  //the caller needs to make sure that the engine is not
+  //destroyed.
+  static void setRadCorrEngine(EvtAbsRadCorr* fsrEngine);
+  static bool alwaysRadCorr();
+  static bool neverRadCorr();
+  static void setAlwaysRadCorr();
+  static void setNeverRadCorr();
+  static void setNormalRadCorr();
+
+private:
+
+  static EvtAbsRadCorr* _fsrEngine;
+  static bool _alwaysRadCorr;
+  static bool _neverRadCorr;
+};
+
+#endif
+