Backward compatibility with Root v3-10-02 and v4-00-08
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Aug 2004 05:36:49 +0000 (05:36 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Aug 2004 05:36:49 +0000 (05:36 +0000)
STEER/AliMC.cxx

index 8673d45..3ad7044 100644 (file)
@@ -21,6 +21,7 @@
 // Author: F.Carminati
 //         Federico.Carminati@cern.ch
 
+#include <RVersion.h>
 #include <TBrowser.h>
 #include <TStopwatch.h>
 #include <TSystem.h>
@@ -481,8 +482,10 @@ void AliMC::FinishPrimary()
   //  static Int_t count=0;
   //  const Int_t times=10;
   // This primary is finished, purify stack
+#if ROOT_VERSION_CODE > 262152
   if (!(gMC->SecondariesAreOrdered()))
        runloader->Stack()->ReorderKine();
+#endif
   runloader->Stack()->PurifyKine();
   
   TIter next(gAlice->Modules());