1 #ifndef ALIESDTAGCREATOR_H
2 #define ALIESDTAGCREATOR_H
3 /* See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
9 // Class AliESDTagCreator
10 // This is the AliESDTagCreator class for the tag creation (post process)
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
17 //////////////////////////////////////////////////////////////////////////
19 // AliESDTagCreator //
21 // Implementation of the tag creation mechanism. //
23 //////////////////////////////////////////////////////////////////////////
32 #include <AliTagCreator.h>
38 //___________________________________________________________________________
39 class AliESDTagCreator : public AliTagCreator {
45 void CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent, TMap *grpData);
47 void SetInactiveBranches(const char* branches) {fBranches = branches;}
49 Bool_t ReadGridCollection(TGridResult *result);
50 Bool_t ReadLocalCollection(const char *localpath);
51 Bool_t ReadCAFCollection(const char *filename);
54 void CreateTag(TChain *chain, const char* type);
55 void CreateTag(TFile* file, const char *guid, const char *md5, const char *turl, Long64_t size, Int_t Counter);
56 void CreateTag(TFile* file, const char *filepath, Int_t Counter);
59 void SwitchOffBranches() const;
60 AliESDTagCreator(const AliESDTagCreator& creator);
61 AliESDTagCreator& operator=(const AliESDTagCreator& creator);
63 TChain *fChain; //chain of esd files
64 TList *fGUIDList; //TList of guid TObjString
65 TList *fMD5List; //TList of md5 TObjString
66 TList *fTURLList; //TList of turl TObjString
67 TString fBranches; //List of branches to be switched off (separated by space
68 MemInfo_t *meminfo; //mem info
70 ClassDef(AliESDTagCreator,0)