]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliJetControlPlots.h
Move AliTRDclusterError.h into macro
[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;}
83a444b1 34 TH1D *GetPhiH() {return fPhiH;}
35 TH1D *GetFractionInJetH() {return fInJetH;}
99e5fe42 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;}
83a444b1 41 TH1D *GetFragrH() {return fFragrH;}
42 TH1D *GetFragLnrH() {return fFragLnrH;}
43 TH1D *GetShapeH() {return fShapeH;}
44 TH1D *GetShaperH() {return fShaperH;}
99e5fe42 45
46 // others
83a444b1 47 void FillHistos(AliJet *j);
99e5fe42 48 void PlotHistos();
49 void SetProperties(TH1* h,const char* x, const char* y) const;
50 void Normalize();
51
52 protected:
83a444b1 53 TH1I *fNJetsH; // distribution of number of jets
99e5fe42 54 TH1I *fMultH; // jet multiplicity
83a444b1 55 TH1D *fPtH; // pt spectra
56 TH1D *fEtaH; // eta distribution
57 TH1D *fEneH; // energy distribution
58 TH1D *fFragH; // leading jet fragmentation (selected part)
59 TH1D *fFragLnH; // leading jet fragmentation in ln scale
60 TH1D *fFragrH; // leading jet fragmentation (rejected part)
61 TH1D *fFragLnrH; // leading jet fragmentation in ln scale
62 TH1D *fShapeH; // leading jet shape (selected part)
63 TH1D *fShaperH; // leading jet shape (rejected part)
64 TH1D *fPhiH; // phi distribution
65 TH1D *fInJetH; // percentage of input particles in a jet
66 Int_t fNJetT; // total number of jets for normalization
99e5fe42 67
68 ClassDef(AliJetControlPlots,1)
69};
70
71#endif
72