First commit of new jet reconstruction and analysis code to be used for the
[u/mrichter/AliRoot.git] / JETAN / AliJetControlPlots.h
CommitLineData
99e5fe42 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
17class TFile;
18class TClonesArray;
19class TH1I;
20class TH1D;
21class AliJetReader;
22class AliJet;
23
24class 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 *GetEneH() {return fEneH;}
35 TH1D *GetPtH() {return fPtH;}
36 TH1D *GetEtaH() {return fEtaH;}
37 TH1D *GetFragH() {return fFragH;}
38 TH1D *GetFragLnH() {return fFragLnH;}
39 TH1D *GetPhiH() {return fPhiH;}
40 TH1D *GetFractionInJetH() {return fInJetH;}
41
42 // others
43 void FillHistos(AliJet *j,AliJetReader *r);
44 void PlotHistos();
45 void SetProperties(TH1* h,const char* x, const char* y) const;
46 void Normalize();
47
48 protected:
49 TH1I *fNJetsH; // distribution of number of jets
50 TH1I *fMultH; // jet multiplicity
51 TH1D *fPtH; // pt spectra
52 TH1D *fEtaH; // eta distribution
53 TH1D *fEneH; // energy distribution
54 TH1D *fFragH; // jet fragmentation
55 TH1D *fFragLnH; // jet fragmentation in ln scale
56 TH1D *fPhiH; // phi distribution
57 TH1D *fInJetH; // percentage of input particles in a jet
58 Int_t fNJetT; // total number of jets for normalization
59
60 ClassDef(AliJetControlPlots,1)
61};
62
63#endif
64