]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/AliTagAnalysis.h
Store the total number of produced particles in the header.
[u/mrichter/AliRoot.git] / ANALYSIS / AliTagAnalysis.h
CommitLineData
d08133e6 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>
fbbf0804 28#include <TString.h>
d08133e6 29
30class AliEventTag;
31class TChain;
32class AliEventTagCuts;
2ec6a1d3 33class AliDetectorTagCuts;
34class AliLHCTagCuts;
d08133e6 35class AliRunTagCuts;
36class TGridResult;
37class TTreeFormula;
38
39//____________________________________________________//
40class AliTagAnalysis : public TObject {
41 public:
42 AliTagAnalysis();
43 ~AliTagAnalysis();
44
45 Bool_t AddTagsFile(const char *alienUrl);
46 void ChainLocalTags(const char *dirname);
47 void ChainGridTags(TGridResult *result);
48
2ec6a1d3 49 TChain *QueryTags(AliRunTagCuts *runTagCuts, AliLHCTagCuts *lhcTagCuts, AliDetectorTagCuts *detTagCuts, AliEventTagCuts *evTagCuts);
50 TChain *QueryTags(const char *fRunCut, const char *fLHCCut, const char *fDetectorCut, const char *fEventCut);
d08133e6 51
2ec6a1d3 52 Bool_t CreateXMLCollection(const char* name, AliRunTagCuts *runTagCuts, AliLHCTagCuts *lhcTagCuts, AliDetectorTagCuts *detTagCuts, AliEventTagCuts *evTagCuts);
53 Bool_t CreateXMLCollection(const char* name, const char *fRunCut, const char *fLHCCut, const char *fDetectorCut, const char *fEventCut);
d08133e6 54
55 TChain *GetInputChain(const char* system, const char *wn);
56 TChain *GetChainFromCollection(const char* collectionname, const char* treename);
57
58 //____________________________________________________//
59 protected:
60 TGridResult *ftagresult; //the results from the tag grid query
61 TString fTagDirName; //the location of the locally stored tags
62
63 TChain *fChain; //tag chain
64
65 //____________________________________________________//
66 private:
67 AliTagAnalysis(const AliTagAnalysis & source);
68 AliTagAnalysis & operator=(const AliTagAnalysis & source);
69
70 ClassDef(AliTagAnalysis,0)
71};
72
73#endif
74