]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDInputHandler.cxx
Events by default are selected.
[u/mrichter/AliRoot.git] / STEER / AliESDInputHandler.cxx
index b6da2ddabca688959d52a930964703a3b792619c..1ba3e8bc5660d4a446c05ba97c676c4cfb0ee9a9 100644 (file)
@@ -99,6 +99,7 @@ Bool_t AliESDInputHandler::Init(TTree* tree,  Option_t* opt)
 
 Bool_t AliESDInputHandler::BeginEvent(Long64_t entry)
 {
+    
     // Copy from old to new format if necessary
   AliESD* old = ((AliESDEvent*) fEvent)->GetAliESDOld();
   if (old) {
@@ -115,8 +116,7 @@ Bool_t AliESDInputHandler::BeginEvent(Long64_t entry)
   // Event selection
   // 
   if (fEventCuts)
-    fIsSelected = fEventCuts->IsSelected(fEvent); 
-
+    fIsSelected = fEventCuts->IsSelected((AliESDEvent*)fEvent); 
   return kTRUE;
 }