1 #ifndef TGLITEXMLEVENTLIST_H
2 #define TGLITEXMLEVENTLIST_H
4 ///////////////////////////////////////////////////////////////////////////////////////
5 // class to read gLite XML collections
6 // Autor: Dr. A.-J. Peters - CERN 2004/ALICE Mail-to: Andreas.Joachim.Peters@cern.ch
7 ///////////////////////////////////////////////////////////////////////////////////////
10 // ---------------------------------------------------------------------------------
11 // TGliteXmlEventlist* evlist = new TGliteXmlEventlist("/tmp/fileset.rxml");
13 // // loop over all events
14 // while (evlist->Next()) {
15 // printf("URL for file AliESDs.root is: \n", evlist->GetURL("AliESDs.root"));
18 // ---------------------------------------------------------------------------------
27 class TGliteXmlEventlist : public TObject {
29 TGliteXmlEventlist(const char* localfilename);
30 virtual ~TGliteXmlEventlist();
33 const char* GetURL(const char* name) const ;
34 void Print(Option_t* opt) const;
36 TGliteXmlEventlist(const TGliteXmlEventlist & src);
37 TGliteXmlEventlist & operator=(const TGliteXmlEventlist & src);
39 TString fXmlFile;//Andi - please put a comment
40 TList* fEventList;//Andi - please put a comment
41 TIter* fEventListIter;//Andi - please put a comment
42 TMap* fCurrent;//Andi - please put a comment
44 virtual void ReadXML();
46 ClassDef(TGliteXmlEventlist,0);