//ROOT
#include <TObject.h>
-class TFile;
class TGridResult;
-
+class TChain;
//___________________________________________________________________________
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)
};