Modifications needed to run analysis with proof.
[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
32 void SubtractBackg(Int_t& nIn, Int_t&nJ, Float_t&EtbgTotalN,
33 Float_t* ptT, Float_t* etaT, Float_t* phiT,
34 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
35 Float_t* etsigJet,Int_t* multJet, Int_t* injet);
36
37 void SubtractBackgCone(Int_t& nIn, Int_t&nJ,Float_t& EtbgTotalN,
38 Float_t* ptT, Float_t* etaT, Float_t* phiT,
39 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
40 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
41
42 void SubtractBackgRatio(Int_t& nIn, Int_t&nJ,Float_t& EtbgTotalN,
43 Float_t* ptT, Float_t* etaT, Float_t* phiT,
44 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
45 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
46
47 void SubtractBackgStat(Int_t& nIn, Int_t&nJ,Float_t&EtbgTotalN,
48 Float_t* ptT, Float_t* etaT, Float_t* phiT,
49 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
50 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
51 void Reset();
52 void Init();
53 void WriteJHeaderToFile();
54
55 protected:
1b7d5d7e 56 AliUA1JetFinderV1(const AliUA1JetFinderV1& rJetF1);
57 AliUA1JetFinderV1& operator = (const AliUA1JetFinderV1& rhsf);
de265230 58 TH2F * fLego; // Lego Histo
70e58892 59
60 ClassDef(AliUA1JetFinderV1,1)
61};
62
63#endif