]>
Commit | Line | Data |
---|---|---|
d89b8229 | 1 | #ifndef ALIJETHISTOS_H |
2 | #define ALIJETHISTOS_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 | // Jet Histos class | |
9 | // Creates and fills a few cummon histograms for jet analysis | |
10 | // | |
11 | //--------------------------------------------------------------------- | |
12 | ||
13 | class TList; | |
14 | class TClonesArray; | |
15 | class TH1I; | |
16 | class TH1F; | |
17 | ||
18 | class AliJetHistos : public TObject { | |
19 | public: | |
20 | AliJetHistos(); | |
21 | ~AliJetHistos(); | |
22 | ||
23 | void CreateHistos(); | |
24 | void AddHistosToList(TList *list) const; | |
25 | void FillHistos(TClonesArray *jets); | |
26 | ||
27 | private: | |
28 | void SetProperties(TH1* h,const char* x, const char* y) const; | |
29 | AliJetHistos(const AliJetHistos &det); | |
30 | AliJetHistos &operator=(const AliJetHistos &det); | |
31 | ||
32 | private: | |
33 | ||
34 | TH1I *fNJetsH; // distribution of number of jets | |
35 | TH1F *fPtH; // pt spectra | |
36 | TH1F *fEtaH; // eta distribution | |
37 | TH1F *fEneH; // energy distribution | |
38 | TH1F *fPhiH; // phi distribution | |
39 | ||
40 | ClassDef(AliJetHistos,2) // some jet histos | |
41 | ||
42 | }; | |
43 | ||
44 | #endif | |
45 | ||
46 |