]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDInputHandler.h
Avoid segmentation violation in Notify when MC event handler is used at the same...
[u/mrichter/AliRoot.git] / STEER / AliESDInputHandler.h
index 6a0f39a221de3b7dd7a55057cad4ec1ace9cd8a6..198fd1ac203f37bec0be18205b5ad77e295de21b 100644 (file)
@@ -43,12 +43,13 @@ class AliESDInputHandler : public AliInputEventHandler {
     void SwitchOnBranches()  const;
     AliESDInputHandler(const AliESDInputHandler& handler);             
     AliESDInputHandler& operator=(const AliESDInputHandler& handler);  
- private:
+ protected:
     // ESD event
     AliESDEvent    *fEvent;        //! Pointer to the event
     TString         fBranches;     //  List of branches to be switched off (separated by space)
     TString         fBranchesOn;   //  List of branches to be switched on  (separated by space)
     Option_t       *fAnalysisType; //! local, proof, grid
+    Int_t           fNEvents;      //! Number of events in the current tree 
     
     // ESD Tags (optional)
     Bool_t          fUseTags;    //  Flag to use tags