X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliTagCreator.h;h=cfeb6c53dee8f9e6112f12e911352990c62152ea;hb=dd474063b690f0356c150cdbe2887b807c7675d7;hp=de2836fbdf5dc5033cafccfb18a6cc8ed30e7d6e;hpb=442646f2a704fca53bfb46a72315c97ae9a34cca;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliTagCreator.h b/STEER/AliTagCreator.h index de2836fbdf5..cfeb6c53dee 100644 --- a/STEER/AliTagCreator.h +++ b/STEER/AliTagCreator.h @@ -26,9 +26,8 @@ //ROOT #include -class TFile; class TGridResult; - +class TChain; //___________________________________________________________________________ class AliTagCreator : public TObject { @@ -38,26 +37,27 @@ class AliTagCreator : public TObject { ~AliTagCreator(); //____________________________________________________// - Bool_t MergeTags(); - Bool_t MergeTags(TGridResult *result); + Bool_t MergeTags(const char* type); + Bool_t MergeTags(const char* type, TGridResult *result); + Bool_t MergeTags(const char* type, const char *inflist); + + Bool_t MergeTagsForRun(const char* type); + Bool_t MergeTagsForRun(const char* type, TGridResult *result); + Bool_t MergeTagsForRun(const char* type, const char *inflist); void SetSE(const char *se){fSE = se;} void SetStorage(Int_t storage); void SetGridPath(const char *gridpath){fgridpath = gridpath;} - Bool_t ReadGridCollection(TGridResult *result); - Bool_t ReadLocalCollection(const char *localpath); - Bool_t ReadCAFCollection(const char *filename); - //____________________________________________________// protected: + + Bool_t MergeToSingleRunTag(TChain *chain, const char *filename); + TString fSE; //the defined storage element TString fgridpath; //the alien location of the tag files Int_t fStorage; //0:local - 1:grid - - void CreateTag(TFile* file, const char *guid, const char *md5, const char *turl, Long64_t size, Int_t Counter); - void CreateTag(TFile* file, const char *filepath, Int_t Counter); - + ClassDef(AliTagCreator,0) };