1 #ifndef ALIJETDISTRIBUTIONS_H
2 #define ALIJETDISTRIBUTIONS_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 //---------------------------------------------------------------------
7 // JetDistributions class
8 // Get different basic distributions
9 // Author: mercedes.lopez.noriega@cern.ch
10 //---------------------------------------------------------------------
21 class AliJetDistributions : public TObject
25 AliJetDistributions();
26 ~AliJetDistributions(){;}
29 void DefineHistograms();
30 void FillHistograms();
31 void FillDistributions(AliJet *j);
32 void PlotHistograms();
33 void SaveHistograms();
36 void SetDirectory(char* directory) {fDirectory = directory;}
37 void SetOutputFile(char* file) {fFile = file;}
38 void SetPercentage(Float_t p) { fPercentage = p;}
39 void SetEventRange(Int_t imin, Int_t imax) {fEventMin = imin; fEventMax = imax;}
40 void SetRunRange(Int_t imin, Int_t imax) {fRunMin = imin; fRunMax = imax;}
41 void SetPythia(Bool_t f = kFALSE){fPythia = f;}
42 void SetProperties(TH1* h,const char* x, const char* y) const;
43 void SetReaderHeader(char *s="AliJetKineReaderHeader") {fReaderHeader = s;}
44 void SetPartPtCut(Float_t c) { fPartPtCut = c; }
46 void SetDoLeadPart(Bool_t f = kTRUE) {fDoPart = f;}
47 void SetDoGenJet(Bool_t f = kTRUE) {fDoGenJ = f;}
48 void SetDoRecJet(Bool_t f = kTRUE) {fDoRecJ = f;}
51 char* fReaderHeader;// Reader header
52 char* fDirectory; // Directory
53 char* fFile ; // Output file name
54 Int_t fEventMin; // Minimum event number
55 Int_t fEventMax; // Maximum event number
56 Int_t fRunMin; // Minimum run number
57 Int_t fRunMax; // Maximum run number
58 Float_t fPercentage; // percentage of pt from signal particles to accept a jet
59 Float_t fPartPtCut; // cut in the pt of particles in histos
62 Bool_t fPythia; // if pythia events
63 Bool_t fDoPart; // do analysis of leading particle
64 Bool_t fDoGenJ; // do analysis of leading generated jet
65 Bool_t fDoRecJ; // do analysis of leading rec jet
67 // leading hets and particles
68 AliLeading* fPart; // pointer to leading particle
69 AliJet* fGenJ; // pointer to leading generated jet
70 AliJet* fRecJ; // pointer to leading reconstructed jet
72 // histos for reconstructed particles
73 TH1F* fRetaH; // Eta of reconstructed particle
74 TH1F* fRphiH; // Phi of reconstructed particle
75 TH1F* fRptH; // Pt of reconstructed particle
76 TH2F* fRetaphiH;// Eta vs Phi of reconstructed particles
78 TH1F* fMultH; // Multiplicity
81 AliJetDistributions(const AliJetDistributions& rJetD);
82 AliJetDistributions& operator = (const AliJetDistributions& rhsd);
84 ClassDef(AliJetDistributions,1)