]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDTagCreator.h
checking if the QA data object inherits from TH1 rather than isA during Checking
[u/mrichter/AliRoot.git] / STEER / AliESDTagCreator.h
index 23d351031fa6425f5c4140b0b50693f4bf6b2145..fe76f04ddf909f4037bb98434bc57e8d77c0c9b2 100644 (file)
 
 
 //ROOT
-//#include <TObject.h>
+#include <TSystem.h>
+class TChain;
+class TList;
+class TMap;
 
 #include <AliTagCreator.h>
 
 class TFile;
 class TGridResult;
 
+class AliGRPObject;
 
 //___________________________________________________________________________
 class AliESDTagCreator : public AliTagCreator {
@@ -39,16 +43,31 @@ class AliESDTagCreator : public AliTagCreator {
   AliESDTagCreator();
   ~AliESDTagCreator(); 
 
-  void CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent);
+  void CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent, AliGRPObject *grpData, ULong_t * qa, Bool_t * es, Int_t qalength, Int_t eslength);
+
+  void SetInactiveBranches(const char* branches) {fBranches = branches;}
 
   Bool_t ReadGridCollection(TGridResult *result);
   Bool_t ReadLocalCollection(const char *localpath);
   Bool_t ReadCAFCollection(const char *filename);
   
  protected:  
+  void CreateTag(TChain *chain, const char* type);
   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);
+
+ private:
+  void SwitchOffBranches() const;
+  AliESDTagCreator(const AliESDTagCreator& creator);             
+  AliESDTagCreator& operator=(const AliESDTagCreator& creator);
+  
+  TChain *fChain; //chain of esd files
+  TList  *fGUIDList; //TList of guid TObjString
+  TList  *fMD5List; //TList of md5 TObjString
+  TList  *fTURLList; //TList of turl TObjString
+  TString fBranches;  //List of branches to be switched off (separated by space
+  MemInfo_t *meminfo; //mem info
+
   ClassDef(AliESDTagCreator,0)  
 };