]>
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; |
df122a89 | 34 | class TTreeFormula; |
c7e89ea3 | 35 | |
36 | class AliTagAnalysis : public TObject { | |
37 | public: | |
38 | AliTagAnalysis(); | |
39 | ~AliTagAnalysis(); | |
40 | ||
41 | void ChainLocalTags(const char *dirname); | |
42 | void ChainGridTags(TGridResult *result); | |
df122a89 | 43 | TChain *QueryTags(const char *fRunCut, const char *fEventCut); |
a3acd4e8 | 44 | TChain *QueryTags(AliRunTagCuts *RunTagCuts, AliEventTagCuts *EvTagCuts); |
45 | Bool_t CreateXMLCollection(const char* name, AliRunTagCuts *RunTagCuts, AliEventTagCuts *EvTagCuts); | |
df122a89 | 46 | Bool_t CreateXMLCollection(const char* name, const char *fRunCut, const char *fEventCut); |
c7e89ea3 | 47 | |
48 | protected: | |
49 | TGridResult *ftagresult; //the results from the tag grid query | |
50 | TString fTagDirName; //the location of the locally stored tags | |
51 | ||
52 | static TChain *fgChain; //tag chain | |
53 | TChain *fChain; //tag chain | |
fe12e09c | 54 | |
55 | private: | |
56 | AliTagAnalysis(const AliTagAnalysis & source); | |
57 | AliTagAnalysis & operator=(const AliTagAnalysis & source); | |
c7e89ea3 | 58 | |
59 | ClassDef(AliTagAnalysis,0) | |
60 | }; | |
61 | ||
62 | #endif | |
63 |