doxy: do not show whitespace diffs on bulk edit
[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}