//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 {
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)
};