]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliAODTagCreator.h
a new macro providing a QA GUI for shifter
[u/mrichter/AliRoot.git] / STEER / AliAODTagCreator.h
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
31 class TChain;
32 class TFile;
33 class TGridResult;
34
35
36 //___________________________________________________________________________
37 class AliAODTagCreator : public AliTagCreator {
38
39  public:
40   AliAODTagCreator();
41   ~AliAODTagCreator(); 
42
43   void CreateAODTags(Int_t fFirstEvent, Int_t fLastEvent, TList *grpList);
44
45   Bool_t ReadGridCollection(TGridResult *result);
46   Bool_t ReadLocalCollection(const char *localpath);
47   Bool_t ReadCAFCollection(const char *filename);
48   
49  protected:  
50   void CreateTag(TChain *chain, const char* type);
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  private:
54   AliAODTagCreator(const AliAODTagCreator& creator);             
55   AliAODTagCreator& operator=(const AliAODTagCreator& creator);    
56  private:
57   TChain *fChain; //chain of esd files
58
59   ClassDef(AliAODTagCreator,0)  
60 };
61
62 #endif
63