]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDTagCreator.h
Change from Int_t/SHort_t to smaller data types, the change from Float_t/Double_t...
[u/mrichter/AliRoot.git] / STEER / AliESDTagCreator.h
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
27 //#include <TObject.h>
28
29 #include <AliTagCreator.h>
30
31 class TFile;
32 class TGridResult;
33
34
35 //___________________________________________________________________________
36 class AliESDTagCreator : public AliTagCreator {
37
38  public:
39   AliESDTagCreator();
40   ~AliESDTagCreator(); 
41
42   void CreateESDTags(Int_t fFirstEvent, Int_t fLastEvent);
43
44   Bool_t ReadGridCollection(TGridResult *result);
45   Bool_t ReadLocalCollection(const char *localpath);
46   Bool_t ReadCAFCollection(const char *filename);
47   
48  protected:  
49   void CreateTag(TFile* file, const char *guid, const char *md5, const char *turl, Long64_t size, Int_t Counter);
50   void CreateTag(TFile* file, const char *filepath, Int_t Counter);
51  
52   ClassDef(AliESDTagCreator,0)  
53 };
54
55 #endif
56