1 #ifndef ALIFASTJETFINDER_H
2 #define ALIFASTJETFINDER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
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 //---------------------------------------------------------------------
15 #include "AliJetFinder.h"
16 class AliFastJetHeader;
18 class AliFastJetFinder : public AliJetFinder
28 void SetJetHeader(AliFastJetHeader* h) {fHeader= h;}
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);
42 void WriteJHeaderToFile();
46 AliFastJetHeader* fHeader; // pointer to jet header
47 TH2F* fLego; //! Lego Histo
48 TH2F* fLegoSignal; // ! Lego histogram for signal
50 ClassDef(AliFastJetFinder,1)