]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Load 1st event in Notify()
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Nov 2009 15:35:04 +0000 (15:35 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Nov 2009 15:35:04 +0000 (15:35 +0000)
ANALYSIS/AliAnalysisTaskSE.cxx

index dfcf96aafbed8a77f46f6a55f8bea3dc409e7908..125256e71c53414db788ac70163e6bbc91c4262a 100644 (file)
@@ -452,6 +452,11 @@ Bool_t AliAnalysisTaskSE::IsStandardAOD() const
 Bool_t AliAnalysisTaskSE::Notify()
 {
     // Called for every change of input file
+    if (fInputHandler) {
+       if (fInputHandler->GetTree()) 
+           fInputHandler->GetTree()->GetEntry(0);
+    }
+    
     if (InputEvent()->GetRunNumber() != fCurrentRunNumber) {
        fCurrentRunNumber = InputEvent()->GetRunNumber();
        NotifyRun();