JETAN module
[u/mrichter/AliRoot.git] / JETAN / JETAN / AliUA1JetFinder.h
CommitLineData
d89b8229 1#ifndef ALIUA1JETFINDER_H
2#define ALIUA1JETFINDER_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// UA1 Cone Algorithm Finder
11// manages the search for jets
12// Author: Rafael.Diaz.Valdes@cern.ch
13// (version in c++)
14// ** 2011
15// Modified accordingly to reader/finder splitting and new handling of neutral information
16// Versions V1 and V2 merged
17//---------------------------------------------------------------------
18
19#include "AliJetFinder.h"
20
21class TH2F;
22class AliJetBkg;
23
24class AliUA1JetFinder : public AliJetFinder
25{
26 public:
27
28 AliUA1JetFinder();
29 ~AliUA1JetFinder();
30
31 // others
32 void FindJets();
33 void RunAlgoritm(Float_t EtbgTotal, Double_t dEtTotal, Int_t& nJets,
34 Float_t* const etJet,Float_t* const etaJet, Float_t* const phiJet,
35 Float_t* const etallJet, Int_t* const ncellsJet);
36
37 void Reset();
38 void Init();
39 void WriteJHeaderToFile() const;
40
41 enum {kMaxJets = 60};
42
43 protected:
44 AliUA1JetFinder(const AliUA1JetFinder& rJetF1);
45 AliUA1JetFinder& operator = (const AliUA1JetFinder& rhsf);
46
47 TH2F* fLego; // Lego Histo
48
49 AliJetBkg* fJetBkg; //! pointer to bkg class
50
51 ClassDef(AliUA1JetFinder,3) // UA1 jet finder
52
53};
54
55#endif