]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliXMLCollection.h
Check the overlaps above 1cm after the (mis)alignment (Raffaele)
[u/mrichter/AliRoot.git] / STEER / AliXMLCollection.h
CommitLineData
c1b83ab9 1#ifndef ALIXMLCOLLECTION_H
2#define ALIXMLCOLLECTION_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
9//-------------------------------------------------------------------------
10// Class AliXMLCollection
11// This is the class that creates XML collections after querying the tags
12//
13// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
14//-------------------------------------------------------------------------
15
16#include <TObject.h>
17#include <Riostream.h>
18#include <TString.h>
19
20class TEventList;
21
22//___________________________________________________________________________
23class AliXMLCollection : public TObject {
24
25 public:
26 AliXMLCollection();
27 ~AliXMLCollection();
28
29 //____________________________________________________//
30 Bool_t WriteHeader();
ab02b208 31 Bool_t WriteBody(Int_t counter, const char* guid, const char *turl, TEventList *fEventList);
c1b83ab9 32 Bool_t Export();
33
34 void SetCollectionName(const char* name) {fCollectionName = name;}
35
36 //____________________________________________________//
37 const char* GetCollectionName() {return fCollectionName.Data();}
38
39 //____________________________________________________//
40 protected:
41 TString fCollectionName; //the name of the xml file
42 ofstream fout; // The output stream
43
44 ClassDef(AliXMLCollection,0) //(ClassName, ClassVersion)
45};
46//___________________________________________________________________________
47
48#endif