]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/TGliteXmlEventlist.cxx
Modifying the GetChainFromCollection function based on the additions of the TEntryList
[u/mrichter/AliRoot.git] / ANALYSIS / TGliteXmlEventlist.cxx
index 57ae2da535f6b960152352c87d0398e83e6c22f8..28f9ef0e0ca919739ca22a52de2c7f4f325951a3 100644 (file)
 ClassImp(TGliteXmlEventlist)
 
 
-TGliteXmlEventlist::TGliteXmlEventlist(const char* localfilename) {
+TGliteXmlEventlist::TGliteXmlEventlist(const char* localfilename):
+  TObject(),
+  fXmlFile(localfilename),
+  fEventList(new TList()),
+  fEventListIter(new TIter(fEventList)),
+  fCurrent(0)
+{
 //Andi - please put a comment
-  fXmlFile = localfilename;
-  fEventList = new TList();
   fEventList->SetOwner(kTRUE);
-  fEventListIter = new TIter(fEventList);
-  fCurrent = 0;
   ReadXML();
 }