X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=STEER%2FAliTagCreator.h;h=cfeb6c53dee8f9e6112f12e911352990c62152ea;hb=f2cef1b5b1d8646af95064ccd41b3bab8a368707;hp=8225ec19de09c76ea774cc43dee04d4543e682b6;hpb=66eb58640749874251b82466ec38fccbbbcccf9f;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliTagCreator.h b/STEER/AliTagCreator.h index 8225ec19de0..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,28 +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); - - void CreateAODTags(Int_t fFirstEvent, Int_t fLastEvent); - //____________________________________________________// 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) };