]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/TGliteXmlEventlist.cxx
- AliMUONRecoParam.cxx:
[u/mrichter/AliRoot.git] / ANALYSIS / TGliteXmlEventlist.cxx
index 57ae2da535f6b960152352c87d0398e83e6c22f8..1b387cf418809938c2dd9773e0d7ae53aada729a 100644 (file)
@@ -16,6 +16,7 @@
 //   delete evlist;
 //   ---------------------------------------------------------------------------------
 
+#include <cstdlib>
 #include <TCollection.h>
 #include <TMap.h>
 #include <TObjString.h>
 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();
 }