1 #ifndef ALITAGANALYSIS_H
2 #define ALITAGANALYSIS_H
3 /* See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
9 // Class AliTagAnalysis
10 // This is the AliTagAnalysis class for the tag analysis
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
17 //////////////////////////////////////////////////////////////////////////
21 // Implementation of the tag analysis mechanism. //
23 //////////////////////////////////////////////////////////////////////////
31 class AliEventTagCuts;
36 //____________________________________________________//
37 class AliTagAnalysis : public TObject {
42 Bool_t AddTagsFile(const char *alienUrl);
43 void ChainLocalTags(const char *dirname);
44 void ChainGridTags(TGridResult *result);
46 TChain *QueryTags(AliRunTagCuts *RunTagCuts, AliEventTagCuts *EvTagCuts);
47 TChain *QueryTags(const char *fRunCut, const char *fEventCut);
49 Bool_t CreateXMLCollection(const char* name, AliRunTagCuts *RunTagCuts, AliEventTagCuts *EvTagCuts);
50 Bool_t CreateXMLCollection(const char* name, const char *fRunCut, const char *fEventCut);
52 TChain *GetInputChain(const char* system, const char *wn);
53 TChain *GetChainFromCollection(const char* collectionname, const char* treename);
55 //____________________________________________________//
57 TGridResult *ftagresult; //the results from the tag grid query
58 TString fTagDirName; //the location of the locally stored tags
60 TChain *fChain; //tag chain
62 //____________________________________________________//
64 AliTagAnalysis(const AliTagAnalysis & source);
65 AliTagAnalysis & operator=(const AliTagAnalysis & source);
67 ClassDef(AliTagAnalysis,0)