]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Using the event range in the selectors mode as well. To be used in CAF reco in order...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Oct 2009 13:07:38 +0000 (13:07 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Oct 2009 13:07:38 +0000 (13:07 +0000)
STEER/AliReconstruction.cxx

index f82eef660a1372fe50a06b997b1457f8379ee98f..25991ce494ba9cf13f1906489405200714551864 100644 (file)
@@ -1229,6 +1229,7 @@ Bool_t AliReconstruction::Run(const char* input)
 
   TChain *chain = NULL;
   if (fRawReader && (chain = fRawReader->GetChain())) {
+    Long64_t nEntries = (fLastEvent < 0) ? (TChain::kBigNumber) : (fLastEvent - fFirstEvent + 1);
     // Proof mode
     if (gProof) {
 
@@ -1248,10 +1249,10 @@ Bool_t AliReconstruction::Run(const char* input)
       gProof->AddInput(new TNamed("PROOF_OUTPUTFILE",fESDOutput.GetUrl()));
       gProof->SetParameter("PROOF_MaxSlavesPerNode", 9999);
       chain->SetProof();
-      chain->Process("AliReconstruction");
+      chain->Process("AliReconstruction","",nEntries,fFirstEvent);
     }
     else {
-      chain->Process(this);
+      chain->Process(this,"",nEntries,fFirstEvent);
     }
   }
   else {