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>
39 //___________________________________________________________________________
40 class AliESDTagCreator : public AliTagCreator {
46 void CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent, AliGRPObject *grpData);
48 void SetInactiveBranches(const char* branches) {fBranches = branches;}
50 Bool_t ReadGridCollection(TGridResult *result);
51 Bool_t ReadLocalCollection(const char *localpath);
52 Bool_t ReadCAFCollection(const char *filename);
55 void CreateTag(TChain *chain, const char* type);
56 void CreateTag(TFile* file, const char *guid, const char *md5, const char *turl, Long64_t size, Int_t Counter);
57 void CreateTag(TFile* file, const char *filepath, Int_t Counter);
60 void SwitchOffBranches() const;
61 AliESDTagCreator(const AliESDTagCreator& creator);
62 AliESDTagCreator& operator=(const AliESDTagCreator& creator);
64 TChain *fChain; //chain of esd files
65 TList *fGUIDList; //TList of guid TObjString
66 TList *fMD5List; //TList of md5 TObjString
67 TList *fTURLList; //TList of turl TObjString
68 TString fBranches; //List of branches to be switched off (separated by space
69 MemInfo_t *meminfo; //mem info
71 ClassDef(AliESDTagCreator,0)