]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALJetFinderPlots.h
Changed arrays
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALJetFinderPlots.h
CommitLineData
f7d5860b 1#ifndef ALIEMCALJETFINDERPLOTS_H
2#define ALIEMCALJETFINDERPLOTS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * * * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9//_________________________________________________________________________
10// Class for Filling jetfinder plots
11//
12//*-- Author: Mark Horner (LBL/UCT)
13//
14//
15
16
17
18#include "TObject.h"
19#include "TH1F.h"
20#include "TH2F.h"
21
22#include "AliEMCALJetFinderOutput.h"
23
24class AliEMCALJetFinderPlots : public TObject
25{
26 public:
27 AliEMCALJetFinderPlots();
28 ~AliEMCALJetFinderPlots();
29 void SetConeRadius(Float_t coneradius){fConeRadius = coneradius;}
30 void SetNominalEnergy(Float_t energy){fNominalEnergy = energy;}
31 void SetDebug(Int_t debug){fDebug = debug;}
32 void FillFromOutput(AliEMCALJetFinderOutput* output);
33 TH1F* GetFragmFcn(){return hFragmFcn;}
34 TH1F* GetPartonFragmFcn(){return hPartonFragmFcn;}
35 TH1F* GetJetJT(){return hJetJT;}
36 TH1F* GetPartonJT(){return hPartonJT;}
37 TH1F* GetJetPL(){return hJetPL;}
38 TH1F* GetPartonPL(){return hPartonPL;}
39 TH1F* GetJetEt(){return hJetEt;}
40 TH1F* GetJetEta(){return hJetEta;}
41 TH1F* GetPartonEta(){return hPartonEta;}
42 TH1F* GetPartonPhi(){return hPartonPhi;}
43 TH1F* GetJetPhi(){return hJetPhi;}
44 TH1F* GetEtaDiff(){return hEtaDiff;}
45 TH1F* GetPhiDiff(){return hPhiDiff;}
46 TH2F* GetEtaPhiSpread(){return hEtaPhiSpread;}
47 TH1F* GetNJets(){return hNJets;}
48
49 private:
50 void InitPlots();
51 Int_t fDebug; // Debug value
52 Float_t fConeRadius; // Cone radius to be used in filling
53 Float_t fNominalEnergy; // Force a nominal energy - specifically for 80+20 jets
54 AliEMCALJetFinderOutput* fOutput; // Output object to be analysed
55 TH1F *hFragmFcn; // ("hFragmFcn","Fragmentation Function",100,0,1);
56 TH1F *hPartonFragmFcn;// ("hFragmFcn","Parton Fragmentation Function",100,0,1);
57 TH1F *hPartonJT; // ("hPartonJT","Track Momentum Perpendicular to Parton Axis",100,0.,10.);
58 TH1F *hPartonPL; // ("hPartonPL","Track Momentum Parallel to Parton Axis ",100,0.,100.);
59 TH1F *hJetJT; // ("hJetJT","Track Momentum Perpendicular to Jet Axis",100,0.,10.);
60 TH1F *hJetPL; // ("hJetPL","Track Momentum Parallel to Jet Axis ",100,0.,100.);
61 TH1F *hJetEt; // ("hJetEt","E_{T}^{reco}",250,0.,250.);
62 TH1F *hJetEta; // ("hJetEta","#eta_{jet}^{reco}",180,-0.9,0.9);
63 TH1F *hJetPhi; // ("hJetPhi","#phi_{jet}^{reco}",62,0.,3.1);
64 TH1F *hPartonEta; // ("hPartonEta","#eta_{Parton}",180,-0.9,0.9);
65 TH1F *hPartonPhi; // ("hPartonPhi","#phi_{Parton}",62,0.,3.1);
66 TH1F *hEtaDiff; // ("hEtaDiff","#eta_{jet}^{reco}-#eta_{jet}^{input}",100,-0.5,0.5);
67 TH1F *hPhiDiff; // ("hPhiDiff","#phi_{jet}^{reco}-#phi_{jet}^{input}",100,-0.5,0.5);
68 TH2F *hEtaPhiSpread; // ("hEtaPhiSpread","#eta - #phi Distribution
69 //of Reconstructed Jets",192,-0.7,0.7,288,pi/3,pi);
70 TH1F *hNJets; // ("hNJets","N Reconstructed jets",11,-0.5,10.5);
71 Bool_t fInitialised;
72
73
74 ClassDef(AliEMCALJetFinderPlots,2)
75
76};
77#endif
78