]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliJetControlPlots.h
Make TRefArrays transient to avoid crashes on proof when ProcessID is missing
[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;
ee7de0dd 21class TH1F;
22class TH1;
23
99e5fe42 24class AliJetReader;
25class AliJet;
26
27class AliJetControlPlots : public TObject
28{
29 public:
30 AliJetControlPlots();
31 ~AliJetControlPlots();
32
33 // setter
34 // getters
ee7de0dd 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;}
99e5fe42 48
49 // others
83a444b1 50 void FillHistos(AliJet *j);
99e5fe42 51 void PlotHistos();
52 void SetProperties(TH1* h,const char* x, const char* y) const;
53 void Normalize();
54
55 protected:
1b7d5d7e 56 AliJetControlPlots(const AliJetControlPlots& rControlPlots);
57 AliJetControlPlots& operator = (const AliJetControlPlots& rcp);
58
83a444b1 59 TH1I *fNJetsH; // distribution of number of jets
99e5fe42 60 TH1I *fMultH; // jet multiplicity
83a444b1 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
99e5fe42 73
74 ClassDef(AliJetControlPlots,1)
75};
76
77#endif
78