1 #ifndef ALITAGCREATOR_H
2 #define ALITAGCREATOR_H
3 /* See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
10 // This is the AliTagCreator class for the tag creation (post process)
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
17 //////////////////////////////////////////////////////////////////////////
21 // Implementation of the tag creation mechanism. //
23 //////////////////////////////////////////////////////////////////////////
33 //___________________________________________________________________________
34 class AliTagCreator : public TObject {
40 //____________________________________________________//
42 Bool_t MergeTags(TGridResult *result);
44 void SetSE(const char *se){fSE = se;}
45 void SetStorage(Int_t storage);
46 void SetGridPath(const char *gridpath){fgridpath = gridpath;}
48 Bool_t ReadGridCollection(TGridResult *result);
49 Bool_t ReadLocalCollection(const char *localpath);
50 Bool_t ReadCAFCollection(const char *filename);
52 //____________________________________________________//
54 TString fSE; //the defined storage element
55 TString fgridpath; //the alien location of the tag files
56 Int_t fStorage; //0:local - 1:grid
58 void CreateTag(TFile* file, const char *guid, const char *md5, const char *turl, Long64_t size, Int_t Counter);
59 void CreateTag(TFile* file, const char *filepath, Int_t Counter);
61 ClassDef(AliTagCreator,0)