]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/hlt-macros/ReadESDTree.C
- synchronized the overlay macro to the changes of the drawing one
[u/mrichter/AliRoot.git] / EVE / hlt-macros / ReadESDTree.C
CommitLineData
7279ee15 1int ReadESDTree(TString fileName = "ESD_TPC.root")
2{
3 TFile *esdFile = TFile::Open(fileName.Data());
4 AliESDEvent *esdEvent = new AliESDEvent();
5 TTree *tr = (TTree*)esdFile->Get("esdTree");
6 esdEvent->ReadFromTree(tr);
7 tr->StartViewer();
8
9 return 0;
10}