a1069ee1 |
1 | #ifndef ALIAODTAGCREATOR_H |
2 | #define ALIAODTAGCREATOR_H |
3 | /* See cxx source for full Copyright notice */ |
4 | |
5 | |
6 | /* $Id$ */ |
7 | |
8 | //------------------------------------------------------------------------- |
9 | // Class AliAODTagCreator |
10 | // This is the AliAODTagCreator 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 | // AliAODTagCreator // |
20 | // // |
21 | // Implementation of the tag creation mechanism. // |
22 | // // |
23 | ////////////////////////////////////////////////////////////////////////// |
24 | |
25 | |
26 | //ROOT |
27 | //#include <TObject.h> |
28 | |
29 | #include <AliTagCreator.h> |
30 | |
103d3fba |
31 | class TChain; |
a1069ee1 |
32 | class TFile; |
33 | class TGridResult; |
34 | |
35 | |
36 | //___________________________________________________________________________ |
37 | class AliAODTagCreator : public AliTagCreator { |
38 | |
39 | public: |
40 | AliAODTagCreator(); |
41 | ~AliAODTagCreator(); |
42 | |
444753c6 |
43 | void CreateAODTags(Int_t fFirstEvent, Int_t fLastEvent, TList *grpList); |
a1069ee1 |
44 | |
45 | Bool_t ReadGridCollection(TGridResult *result); |
46 | Bool_t ReadLocalCollection(const char *localpath); |
47 | Bool_t ReadCAFCollection(const char *filename); |
48 | |
49 | protected: |
103d3fba |
50 | void CreateTag(TChain *chain, const char* type); |
5b8d5d69 |
51 | void CreateTag(TFile* file, const char *guid, const char *md5, const char *turl, Long64_t size, Int_t Counter); |
52 | void CreateTag(TFile* file, const char *filepath, Int_t Counter); |
53 | |
103d3fba |
54 | private: |
55 | TChain *fChain; //chain of esd files |
56 | |
a1069ee1 |
57 | ClassDef(AliAODTagCreator,0) |
58 | }; |
59 | |
60 | #endif |
61 | |