X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HMPID%2FAliHMPIDQaEsd.C;h=2ce1b7129c6ee0326f6869afd937c78736d27a69;hb=30cd6a86dcdd3c1f195019d83b1ab55fa0e52281;hp=5707a9b4dab6a96680eb5af5f23b782b0d67af8b;hpb=e4290ede7e570d62fe1c836296e71c28048198a0;p=u%2Fmrichter%2FAliRoot.git diff --git a/HMPID/AliHMPIDQaEsd.C b/HMPID/AliHMPIDQaEsd.C index 5707a9b4dab..2ce1b7129c6 100644 --- a/HMPID/AliHMPIDQaEsd.C +++ b/HMPID/AliHMPIDQaEsd.C @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include @@ -45,7 +45,7 @@ public: private: TTree * fChain ; //!pointer to the analyzed TTree or TChain - AliESD * fESD ; //! Declaration of leave types + AliESDEvent * fESD ; //! Declaration of leave types TObjArray * fOutputContainer; //output data container @@ -77,9 +77,9 @@ void AliHMPIDQaEsd::ConnectInputData(const Option_t*) // One should first check if the branch address was taken by some other task char ** address = (char **)GetBranchAddress(0, "ESD"); if (address) { - fESD = (AliESD*)(*address); + fESD = (AliESDEvent*)(*address); } else { - fESD = new AliESD(); + fESD = new AliESDEvent(); fESD->ReadFromTree(fChain); //clm: new ESD access works for local, need to test it for PROOF! //SetBranchAddress(0, "esdTree", &fESD); //fChain->SetBranchStatus("*", 1);