]>
Commit | Line | Data |
---|---|---|
c7e89ea3 | 1 | #ifndef ALITAGANALYSIS_H |
2 | #define ALITAGANALYSIS_H | |
3 | /* See cxx source for full Copyright notice */ | |
4 | ||
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //------------------------------------------------------------------------- | |
9 | // Class AliTagAnalysis | |
10 | // This is the AliTagAnalysis class for the tag analysis | |
11 | // | |
12 | // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch | |
13 | //------------------------------------------------------------------------- | |
14 | ||
15 | ||
16 | ||
17 | ////////////////////////////////////////////////////////////////////////// | |
18 | // // | |
19 | // AliTagAnalysis // | |
20 | // // | |
21 | // Implementation of the tag analysis mechanism. // | |
22 | // // | |
23 | ////////////////////////////////////////////////////////////////////////// | |
24 | ||
25 | ||
26 | //ROOT | |
27 | #include <TObject.h> | |
28 | ||
29 | class AliEventTag; | |
30 | class TChain; | |
31 | class AliEventTagCuts; | |
a3acd4e8 | 32 | class AliRunTagCuts; |
c7e89ea3 | 33 | class TGridResult; |
5b7be856 | 34 | class TTreeFormula; |
c7e89ea3 | 35 | |
2f514327 | 36 | //____________________________________________________// |
c7e89ea3 | 37 | class AliTagAnalysis : public TObject { |
38 | public: | |
39 | AliTagAnalysis(); | |
40 | ~AliTagAnalysis(); | |
2f514327 | 41 | |
6e2eae7e | 42 | Bool_t AddTagsFile(const char *alienUrl); |
c7e89ea3 | 43 | void ChainLocalTags(const char *dirname); |
44 | void ChainGridTags(TGridResult *result); | |
5b7be856 | 45 | |
a3acd4e8 | 46 | TChain *QueryTags(AliRunTagCuts *RunTagCuts, AliEventTagCuts *EvTagCuts); |
5b7be856 | 47 | TChain *QueryTags(const char *fRunCut, const char *fEventCut); |
48 | ||
a3acd4e8 | 49 | Bool_t CreateXMLCollection(const char* name, AliRunTagCuts *RunTagCuts, AliEventTagCuts *EvTagCuts); |
5b7be856 | 50 | Bool_t CreateXMLCollection(const char* name, const char *fRunCut, const char *fEventCut); |
2f514327 | 51 | |
52 | TChain *GetInputChain(const char* system, const char* global, const char* wn); | |
53 | ||
54 | //____________________________________________________// | |
c7e89ea3 | 55 | protected: |
56 | TGridResult *ftagresult; //the results from the tag grid query | |
57 | TString fTagDirName; //the location of the locally stored tags | |
2f514327 | 58 | |
c7e89ea3 | 59 | TChain *fChain; //tag chain |
2f514327 | 60 | |
61 | //____________________________________________________// | |
fe12e09c | 62 | private: |
63 | AliTagAnalysis(const AliTagAnalysis & source); | |
64 | AliTagAnalysis & operator=(const AliTagAnalysis & source); | |
c7e89ea3 | 65 | |
66 | ClassDef(AliTagAnalysis,0) | |
67 | }; | |
68 | ||
69 | #endif | |
70 |