]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliESDTagCreator.h
Do not call SetDefaults in AliITS::Init
[u/mrichter/AliRoot.git] / STEER / AliESDTagCreator.h
CommitLineData
08e1a23e 1#ifndef ALIESDTAGCREATOR_H
2#define ALIESDTAGCREATOR_H
3/* See cxx source for full Copyright notice */
4
5
6/* $Id$ */
7
8//-------------------------------------------------------------------------
9// Class AliESDTagCreator
10// This is the AliESDTagCreator class for the tag creation (post process)
11//
12// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13//-------------------------------------------------------------------------
14
15
16
17//////////////////////////////////////////////////////////////////////////
18// //
19// AliESDTagCreator //
20// //
21// Implementation of the tag creation mechanism. //
22// //
23//////////////////////////////////////////////////////////////////////////
24
25
26//ROOT
103d3fba 27#include <TSystem.h>
28class TChain;
29class TList;
08e1a23e 30
31#include <AliTagCreator.h>
32
33class TFile;
34class TGridResult;
35
36
37//___________________________________________________________________________
38class AliESDTagCreator : public AliTagCreator {
39
40 public:
41 AliESDTagCreator();
42 ~AliESDTagCreator();
43
444753c6 44 void CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent, TList *grpList);
08e1a23e 45
2856e38b 46 void SetInactiveBranches(const char* branches) {fBranches = branches;}
47
08e1a23e 48 Bool_t ReadGridCollection(TGridResult *result);
49 Bool_t ReadLocalCollection(const char *localpath);
50 Bool_t ReadCAFCollection(const char *filename);
51
52 protected:
103d3fba 53 void CreateTag(TChain *chain, const char* type);
08e1a23e 54 void CreateTag(TFile* file, const char *guid, const char *md5, const char *turl, Long64_t size, Int_t Counter);
55 void CreateTag(TFile* file, const char *filepath, Int_t Counter);
517aef4e 56
103d3fba 57 private:
2856e38b 58 void SwitchOffBranches() const;
517aef4e 59
60 TChain *fChain; //chain of esd files
61 TList *fGUIDList; //TList of guid TObjString
62 TList *fMD5List; //TList of md5 TObjString
63 TList *fTURLList; //TList of turl TObjString
2856e38b 64 TString fBranches; //List of branches to be switched off (separated by space
103d3fba 65 MemInfo_t *meminfo; //mem info
517aef4e 66
08e1a23e 67 ClassDef(AliESDTagCreator,0)
68};
69
70#endif
71