]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIJETCONTROLPLOTS_H | |
2 | #define ALIJETCONTROLPLOTS_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | ||
8 | //--------------------------------------------------------------------- | |
9 | // Jet Control Plots class | |
10 | // manages histograms with control plots of jet searching | |
11 | // Author: jgcn@mda.cinvestav.mx | |
12 | //--------------------------------------------------------------------- | |
13 | ||
14 | ||
15 | #include <TObject.h> | |
16 | ||
17 | class TFile; | |
18 | class TClonesArray; | |
19 | class TH1I; | |
20 | class TH1D; | |
21 | class TH1F; | |
22 | class TH1; | |
23 | ||
24 | class AliJetReader; | |
25 | class AliJet; | |
26 | ||
27 | class AliJetControlPlots : public TObject | |
28 | { | |
29 | public: | |
30 | AliJetControlPlots(); | |
31 | ~AliJetControlPlots(); | |
32 | ||
33 | // setter | |
34 | // getters | |
35 | TH1I *GetNJetsH() const {return fNJetsH;} | |
36 | TH1I *GetMultH() const {return fMultH;} | |
37 | TH1D *GetPhiH() const {return fPhiH;} | |
38 | TH1D *GetFractionInJetH() const {return fInJetH;} | |
39 | TH1D *GetEneH() const {return fEneH;} | |
40 | TH1D *GetPtH() const {return fPtH;} | |
41 | TH1D *GetEtaH() const {return fEtaH;} | |
42 | TH1D *GetFragH() const {return fFragH;} | |
43 | TH1D *GetFragLnH() const {return fFragLnH;} | |
44 | TH1D *GetFragrH() const {return fFragrH;} | |
45 | TH1D *GetFragLnrH() const {return fFragLnrH;} | |
46 | TH1D *GetShapeH() const {return fShapeH;} | |
47 | TH1D *GetShaperH() const {return fShaperH;} | |
48 | ||
49 | // others | |
50 | void FillHistos(AliJet *j); | |
51 | void PlotHistos(); | |
52 | void SetProperties(TH1* h,const char* x, const char* y) const; | |
53 | void Normalize(); | |
54 | ||
55 | protected: | |
56 | AliJetControlPlots(const AliJetControlPlots& rControlPlots); | |
57 | AliJetControlPlots& operator = (const AliJetControlPlots& rcp); | |
58 | ||
59 | TH1I *fNJetsH; // distribution of number of jets | |
60 | TH1I *fMultH; // jet multiplicity | |
61 | TH1D *fPtH; // pt spectra | |
62 | TH1D *fEtaH; // eta distribution | |
63 | TH1D *fEneH; // energy distribution | |
64 | TH1D *fFragH; // leading jet fragmentation (selected part) | |
65 | TH1D *fFragLnH; // leading jet fragmentation in ln scale | |
66 | TH1D *fFragrH; // leading jet fragmentation (rejected part) | |
67 | TH1D *fFragLnrH; // leading jet fragmentation in ln scale | |
68 | TH1D *fShapeH; // leading jet shape (selected part) | |
69 | TH1D *fShaperH; // leading jet shape (rejected part) | |
70 | TH1D *fPhiH; // phi distribution | |
71 | TH1D *fInJetH; // percentage of input particles in a jet | |
72 | Int_t fNJetT; // total number of jets for normalization | |
73 | ||
74 | ClassDef(AliJetControlPlots,1) | |
75 | }; | |
76 | ||
77 | #endif | |
78 |