]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliTagAnalysis.h
Adding function to retrieve the chain+evlist from the xml collection (to be used...
[u/mrichter/AliRoot.git] / STEER / AliTagAnalysis.h
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;
32 class AliRunTagCuts;
33 class TGridResult;
34
35 //____________________________________________________//
36 class AliTagAnalysis : public TObject {
37  public:
38   AliTagAnalysis();
39   ~AliTagAnalysis(); 
40   
41   void ChainLocalTags(const char *dirname);
42   void ChainGridTags(TGridResult *result);
43   TChain *QueryTags(AliRunTagCuts *RunTagCuts, AliEventTagCuts *EvTagCuts);
44   Bool_t CreateXMLCollection(const char* name, AliRunTagCuts *RunTagCuts, AliEventTagCuts *EvTagCuts);
45
46   TChain *GetInputChain(const char* system, const char* global, const char* wn);
47   
48   //____________________________________________________//
49  protected:
50   TGridResult *ftagresult; //the results from the tag grid query     
51   TString fTagDirName; //the location of the locally stored tags
52   
53   static TChain *fgChain; //tag chain 
54   TChain *fChain; //tag chain 
55   
56   //____________________________________________________//
57  private:
58   AliTagAnalysis(const AliTagAnalysis & source);
59   AliTagAnalysis & operator=(const AliTagAnalysis & source);
60        
61   ClassDef(AliTagAnalysis,0)  
62 };
63
64 #endif
65