]>
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 | |
16b3f79e | 52 | TChain *GetInputChain(const char* system, const char *wn); |
53 | TChain *GetChainFromCollection(const char* collectionname, const char* treename); | |
2f514327 | 54 | |
55 | //____________________________________________________// | |
c7e89ea3 | 56 | protected: |
57 | TGridResult *ftagresult; //the results from the tag grid query | |
58 | TString fTagDirName; //the location of the locally stored tags | |
2f514327 | 59 | |
c7e89ea3 | 60 | TChain *fChain; //tag chain |
2f514327 | 61 | |
62 | //____________________________________________________// | |
fe12e09c | 63 | private: |
64 | AliTagAnalysis(const AliTagAnalysis & source); | |
65 | AliTagAnalysis & operator=(const AliTagAnalysis & source); | |
c7e89ea3 | 66 | |
67 | ClassDef(AliTagAnalysis,0) | |
68 | }; | |
69 | ||
70 | #endif | |
71 |