]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliJetControlPlots.h
Clean-up mainly in includes.
[u/mrichter/AliRoot.git] / JETAN / AliJetControlPlots.h
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 AliJetReader;
22 class AliJet;
23
24 class AliJetControlPlots : public TObject
25 {
26  public:
27   AliJetControlPlots();
28   ~AliJetControlPlots();
29
30   // setter
31   // getters
32   TH1I *GetNJetsH() {return fNJetsH;}
33   TH1I *GetMultH() {return fMultH;}
34   TH1D *GetPhiH() {return fPhiH;}
35   TH1D *GetFractionInJetH() {return fInJetH;}
36   TH1D *GetEneH() {return fEneH;}
37   TH1D *GetPtH() {return fPtH;}
38   TH1D *GetEtaH() {return fEtaH;}
39   TH1D *GetFragH() {return fFragH;}
40   TH1D *GetFragLnH() {return fFragLnH;}
41   TH1D *GetFragrH() {return fFragrH;}
42   TH1D *GetFragLnrH() {return fFragLnrH;}
43   TH1D *GetShapeH() {return fShapeH;}
44   TH1D *GetShaperH() {return fShaperH;}  
45   
46   // others
47   void FillHistos(AliJet *j);
48   void PlotHistos();
49   void SetProperties(TH1* h,const char* x, const char* y) const;
50   void Normalize();
51
52  protected:
53   AliJetControlPlots(const AliJetControlPlots& rControlPlots);
54   AliJetControlPlots& operator = (const AliJetControlPlots& rcp);
55
56   TH1I *fNJetsH;   // distribution of number of jets
57   TH1I *fMultH;    // jet multiplicity
58   TH1D *fPtH;      // pt spectra
59   TH1D *fEtaH;     // eta distribution
60   TH1D *fEneH;     // energy distribution
61   TH1D *fFragH;    // leading jet fragmentation (selected part)
62   TH1D *fFragLnH;  // leading jet fragmentation in ln scale
63   TH1D *fFragrH;   // leading jet fragmentation (rejected part)
64   TH1D *fFragLnrH; // leading jet fragmentation in ln scale
65   TH1D *fShapeH;   // leading jet shape (selected part)
66   TH1D *fShaperH;  // leading jet shape (rejected part)  
67   TH1D *fPhiH;     // phi distribution
68   TH1D *fInJetH;   // percentage of input particles in a jet
69   Int_t fNJetT;    // total number of jets for normalization
70
71   ClassDef(AliJetControlPlots,1)
72 };
73  
74 #endif
75