]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - prod/acrcaf/reco/run.C
using one single par file for all aliroot versions
[u/mrichter/AliRoot.git] / prod / acrcaf / reco / run.C
index b43a8ef46d090711a9c342ad72e86103320322ca..cc4fa8c1ab2eff1b3a4f4e0a22b873d6842588e6 100644 (file)
@@ -1,8 +1,10 @@
-void run(Int_t runNumber,Int_t nev=10000, Int_t firstev=0)
+void run(Int_t runNumber, Int_t nev = 10000, Int_t firstev = 0, const char* rootVersion = 0)
 {
   gEnv->SetValue("XSec.GSI.DelegProxy","2");
   // Select ROOT version
-  TProof::Mgr("aliprod@alicecaf")->SetROOTVersion("v5-24-00b-caf");
+  if (rootVersion) 
+    TProof::Mgr("aliprod@alicecaf")->SetROOTVersion(rootVersion);
+    
   // Login to CAF
   TProof::Open("aliprod@alicecaf");