Line data Source code
1 : #ifndef ALITAGCREATOR_H
2 : #define ALITAGCREATOR_H
3 : /* See cxx source for full Copyright notice */
4 :
5 :
6 : /* $Id$ */
7 :
8 : //-------------------------------------------------------------------------
9 : // Class AliTagCreator
10 : // This is the AliTagCreator 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 : // AliTagCreator //
20 : // //
21 : // Implementation of the tag creation mechanism. //
22 : // //
23 : //////////////////////////////////////////////////////////////////////////
24 :
25 :
26 : //ROOT
27 : #include <TObject.h>
28 :
29 : class TGridResult;
30 : class TChain;
31 :
32 : //___________________________________________________________________________
33 0 : class AliTagCreator : public TObject {
34 :
35 : public:
36 : AliTagCreator();
37 : ~AliTagCreator();
38 :
39 : //____________________________________________________//
40 : Bool_t MergeTags(const char* type);
41 : Bool_t MergeTags(const char* type, TGridResult *result);
42 : Bool_t MergeTags(const char* type, const char *inflist);
43 :
44 : Bool_t MergeTagsForRun(const char* type);
45 : Bool_t MergeTagsForRun(const char* type, TGridResult *result);
46 : Bool_t MergeTagsForRun(const char* type, const char *inflist);
47 :
48 0 : void SetSE(const char *se){fSE = se;}
49 : void SetStorage(Int_t storage);
50 0 : void SetGridPath(const char *gridpath){fgridpath = gridpath;}
51 :
52 : //____________________________________________________//
53 : protected:
54 :
55 : Bool_t MergeToSingleRunTag(TChain *chain, const char *filename);
56 :
57 : TString fSE; //the defined storage element
58 : TString fgridpath; //the alien location of the tag files
59 : Int_t fStorage; //0:local - 1:grid
60 :
61 176 : ClassDef(AliTagCreator,0)
62 : };
63 :
64 : #endif
65 :
|