Rename method Dump to DumpPayLoad to avoid compilation warning since mother class...
[u/mrichter/AliRoot.git] / JETAN / AliUA1JetFinderV1.h
CommitLineData
70e58892 1#ifndef ALIUA1JETFINDERV1_H
2#define ALIUA1JETFINDERV1_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// UA1 Cone Algorithm Finder V1
10// manages the search for jets
11// Author: Rafael.Diaz.Valdes@cern.ch
12// (version in c++)
13//---------------------------------------------------------------------
14
15#include "AliJetFinder.h"
16class AliUA1JetHeaderV1;
17class TH2F;
18
19class AliUA1JetFinderV1 : public AliJetFinder
20{
21 public:
22
23 AliUA1JetFinderV1();
24 ~AliUA1JetFinderV1();
25
70e58892 26 // others
27 void FindJets();
28 void RunAlgoritm(Float_t EtbgTotal, Double_t dEtTotal, Int_t& nJets,
29 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
30 Float_t* etallJet, Int_t* ncellsJet);
31
63cdee97 32 void SubtractBackg(const Int_t& nIn, const Int_t&nJ, Float_t&EtbgTotalN,
33 const Float_t* ptT, const Float_t* etaT, const Float_t* phiT,
34 Float_t* etJet, const Float_t* etaJet, const Float_t* phiJet,
35 Float_t* etsigJet,Int_t* multJet, Int_t* injet);
36
37 void SubtractBackgCone(const Int_t& nIn, const Int_t&nJ,Float_t& EtbgTotalN,
38 const Float_t* ptT, const Float_t* etaT, const Float_t* phiT,
39 Float_t* etJet, const Float_t* etaJet, const Float_t* phiJet,
40 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
41
42 void SubtractBackgRatio(const Int_t& nIn, const Int_t&nJ,Float_t& EtbgTotalN,
43 const Float_t* ptT, const Float_t* etaT, const Float_t* phiT,
44 Float_t* etJet, const Float_t* etaJet, const Float_t* phiJet,
45 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
46
47 void SubtractBackgStat(const Int_t& nIn, const Int_t&nJ,Float_t&EtbgTotalN,
48 const Float_t* ptT, const Float_t* etaT, const Float_t* phiT,
49 Float_t* etJet, const Float_t* etaJet, const Float_t* phiJet,
50 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
70e58892 51 void Reset();
52 void Init();
446dbc09 53 void WriteJHeaderToFile() const;
70e58892 54
55 protected:
1b7d5d7e 56 AliUA1JetFinderV1(const AliUA1JetFinderV1& rJetF1);
57 AliUA1JetFinderV1& operator = (const AliUA1JetFinderV1& rhsf);
eaabc21f 58 TH2F * fLego; //Lego Histo
70e58892 59 ClassDef(AliUA1JetFinderV1,1)
60};
61
62#endif