]>
Commit | Line | Data |
---|---|---|
a17e6965 | 1 | #ifndef ALIFASTJETFINDER_H |
2 | #define ALIFASTJETFINDER_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 | // Fast Jet finder algorithm interface | |
10 | // manages the search for jets | |
11 | // Author: Rafael.Diaz.Valdes@cern.ch | |
12 | // kt algorithm using NlnN | |
13 | //--------------------------------------------------------------------- | |
14 | ||
15 | #include "AliJetFinder.h" | |
16 | class AliFastJetHeader; | |
17 | ||
18 | class AliFastJetFinder : public AliJetFinder | |
19 | { | |
20 | public: | |
21 | ||
22 | AliFastJetFinder(); | |
23 | ~AliFastJetFinder(); | |
24 | ||
25 | // getters | |
26 | ||
27 | // setters | |
28 | void SetJetHeader(AliFastJetHeader* h) {fHeader= h;} | |
29 | // others | |
30 | void FindJets(); | |
31 | void RunAlgorithm(Int_t& nJets,Float_t* etJet,Float_t* etaJet,Float_t* phiJet, | |
32 | Float_t* etsigJet, Float_t* etallJet, Int_t* ncellsJet, | |
33 | Int_t& nCell,Float_t* etCell,Float_t* etaCell,Float_t* phiCell, | |
34 | Float_t* etsigCell, Int_t* jetflagCell); | |
35 | void SubtractBackg(Int_t& nCell, Int_t* jetflagCell, Float_t* etCell, | |
36 | Int_t& nJets, Float_t* etJet, Float_t* etallJet, Int_t* ncellsJet, | |
37 | Float_t& meanptCell, Float_t& sqptCell, Float_t& etBackg); | |
38 | void SubtractBackgArea(Int_t& nCell, Int_t* jetflagCell, Float_t* etCell, | |
39 | Int_t& nJets, Float_t* etJet, Float_t* etallJet); | |
40 | void Reset(); | |
41 | void Init(); | |
42 | void WriteJHeaderToFile(); | |
43 | ||
44 | protected: | |
45 | ||
46 | AliFastJetHeader* fHeader; // pointer to jet header | |
47 | TH2F* fLego; //! Lego Histo | |
48 | TH2F* fLegoSignal; // ! Lego histogram for signal | |
49 | ||
50 | ClassDef(AliFastJetFinder,1) | |
51 | }; | |
52 | ||
53 | #endif |