Introducing Decay_t in AliRoot decayers
[u/mrichter/AliRoot.git] / EVGEN / AliDecayer.h
index 8ee2b80e69f1ffbea9d918e5348a1d2807ba1f44..b6c1b46416212c7951b7d46d3e0fa63f781fe2fe 100644 (file)
@@ -5,8 +5,20 @@
 
 /* $Id$ */
 
+#include "RVersion.h"
 #include "TVirtualMCDecayer.h"
 
 typedef TVirtualMCDecayer AliDecayer;
 
+#if ROOT_VERSION_CODE >= ROOT_VERSION(3,04,1)
+typedef enum 
+{
+    kSemiElectronic, kDiElectron, kSemiMuonic, kDiMuon,
+    kBJpsiDiMuon, kBJpsiDiElectron, 
+    kBPsiPrimeDiMuon, kBPsiPrimeDiElectron, kPiToMu,
+    kKaToMu, kNoDecay,
+    kHadronicD, kOmega, kPhiKK, kAll, kNoDecayHeavy
+} Decay_t;
+#endif
+
 #endif //ALI_DECAYER__H