Fix in the histogram for the mathing efficiency in TOF (thanks to Chiara and Annalisa).
[u/mrichter/AliRoot.git] / JETAN / AliUA1JetFinderV2.h
CommitLineData
ee7de0dd 1#ifndef ALIUA1JETFINDERV2_H
2#define ALIUA1JETFINDERV2_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// Modified to include neutral particles (magali.estienne@ires.in2p3.fr)
14//---------------------------------------------------------------------
15
16#include "AliJetFinder.h"
17class AliUA1JetHeaderV1;
18class TH2F;
19
20class AliUA1JetFinderV2 : public AliJetFinder
21{
22 public:
23
24 AliUA1JetFinderV2();
25 ~AliUA1JetFinderV2();
26
27 // others
28 void FindJets();
29
30 void RunAlgoritm(Int_t nIn, Float_t* etCell, Float_t* etaCell, Float_t* phiCell,
31 Int_t* flagCell, Float_t etbgTotal, Double_t dEtTotal,
32 Int_t& nJets, Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
33 Float_t* etallJet, Int_t* ncellsJet);
34
35
36 void SubtractBackg(Int_t& nIn, Int_t&nJ, Float_t&EtbgTotalN,
37 Float_t* ptT, Float_t* etaT, Float_t* phiT,
38 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
39 Float_t* etsigJet,Int_t* multJet, Int_t* injet);
40
41 void SubtractBackgCone(Int_t& nIn, Int_t&nJ,Float_t& EtbgTotalN,
42 Float_t* ptT, Float_t* etaT, Float_t* phiT,
43 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
44 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
45
46 void SubtractBackgRatio(Int_t& nIn, Int_t&nJ,Float_t& EtbgTotalN,
47 Float_t* ptT, Float_t* etaT, Float_t* phiT,
48 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
49 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
50
51 void SubtractBackgStat(Int_t& nIn, Int_t&nJ,Float_t&EtbgTotalN,
52 Float_t* ptT, Float_t* etaT, Float_t* phiT,
53 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
54 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
55 void Reset();
56 void Init();
57 void WriteJHeaderToFile();
58
59 protected:
60 AliUA1JetFinderV2(const AliUA1JetFinderV2& rJetF1);
61 AliUA1JetFinderV2& operator = (const AliUA1JetFinderV2& rhsf);
62 TH2F * fLego; //Lego Histo
63 Int_t fDebug;
64 Int_t fOpt;
65
66 ClassDef(AliUA1JetFinderV2,1)
67};
68
69#endif