]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliTagCreator.h
Number of sigma pedestal cut increased to 4
[u/mrichter/AliRoot.git] / STEER / AliTagCreator.h
index de2836fbdf5dc5033cafccfb18a6cc8ed30e7d6e..cfeb6c53dee8f9e6112f12e911352990c62152ea 100644 (file)
@@ -26,9 +26,8 @@
 //ROOT
 #include <TObject.h>
 
-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)  
 };