]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Getter and Setter for ESDpid
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Mar 2010 14:43:17 +0000 (14:43 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Mar 2010 14:43:17 +0000 (14:43 +0000)
STEER/AliESDInputHandler.cxx
STEER/AliESDInputHandler.h

index d5722a498c332beb9062316fa6deca25b14f1b5b..a2d70820a313ae5bf78ffea0a7cc1f7f29f091f0 100644 (file)
@@ -49,6 +49,7 @@ AliESDInputHandler::AliESDInputHandler() :
   AliInputEventHandler(),
   fEvent(0x0),
   fFriend(0x0),
+  fESDpid(0x0),
   fAnalysisType(0),
   fNEvents(0),
   fHLTEvent(0x0),
@@ -72,7 +73,7 @@ AliESDInputHandler::~AliESDInputHandler()
 
 //______________________________________________________________________________
 AliESDInputHandler::AliESDInputHandler(const char* name, const char* title):
-    AliInputEventHandler(name, title), fEvent(0x0), fFriend(0x0), fAnalysisType(0),
+    AliInputEventHandler(name, title), fEvent(0x0), fFriend(0x0), fESDpid(0x0), fAnalysisType(0),
     fNEvents(0),  fHLTEvent(0x0), fHLTTree(0x0), fUseHLT(kFALSE), fTagCutSumm(0x0), fUseTags(kFALSE), fChainT(0), fTreeT(0), fRunTag(0)
 {
     // Constructor
index 98e84dc94a3d83ef48b8b39370f744dead6702fe..c20288747bc0ff2b941e260cdde4e5a2fea7bd07 100644 (file)
@@ -17,6 +17,8 @@ class TTree;
 class AliRunTag;
 class TMap;
 class AliESDfriend;
+class AliESDpid;
+
 
 class AliESDInputHandler : public AliInputEventHandler {
 
@@ -38,11 +40,14 @@ class AliESDInputHandler : public AliInputEventHandler {
     Int_t                GetNEventRejectedInFile();
     Bool_t               GetCutSummaryForChain(Int_t *aTotal, Int_t *aAccepted, Int_t *aRejected);
     Int_t                GetNFilesEmpty();
-    // HLT analysis
-    AliESDfriend        *GetESDfriend()    const {return fFriend;}
+    // HLT  analysis
     AliESDEvent         *GetHLTEvent()     const {return fHLTEvent;}
     TTree               *GetHLTTree()      const {return fHLTTree;}    
     void                SetReadHLT()             {fUseHLT = kTRUE;}
+    // Friends&Co
+    AliESDfriend        *GetESDfriend()    const {return fFriend;}
+    AliESDpid           *GetESDpid()       const {return fESDpid;}
+    void                 SetESDpid(AliESDpid* pid) {fESDpid = pid;}
     // Tag analysis
     void SetReadTags() {fUseTags = kTRUE;}
     AliRunTag           *GetRunTag() const {return fRunTag;}
@@ -54,6 +59,7 @@ class AliESDInputHandler : public AliInputEventHandler {
     // ESD event
     AliESDEvent    *fEvent;        //! Pointer to the event
     AliESDfriend   *fFriend;       //! Pointer to the esd friend
+    AliESDpid      *fESDpid;       //! Pointer to PID information
     Option_t       *fAnalysisType; //! local, proof, grid
     Int_t           fNEvents;      //! Number of events in the current tree
     // HLT event