]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliUA1JetFinderV2.h
Small modifications for proper running of FASTJET on the Grid.
[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++)
ee7de0dd 13//---------------------------------------------------------------------
14
8838ab7a 15#include <vector>
16
ee7de0dd 17#include "AliJetFinder.h"
18class AliUA1JetHeaderV1;
19class TH2F;
8838ab7a 20class TChain;
ee7de0dd 21
22class AliUA1JetFinderV2 : public AliJetFinder
23{
24 public:
25
26 AliUA1JetFinderV2();
27 ~AliUA1JetFinderV2();
28
29 // others
8838ab7a 30 void FindJetsC();
ee7de0dd 31 void FindJets();
8838ab7a 32 void RunAlgoritmC(Float_t EtbgTotal, Double_t dEtTotal, Int_t& nJets,
33 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
34 Float_t* etallJet, Int_t* ncellsJet);
ee7de0dd 35
36 void RunAlgoritm(Int_t nIn, Float_t* etCell, Float_t* etaCell, Float_t* phiCell,
8838ab7a 37 Int_t* flagCell, Float_t* etCell2, Float_t* etaCell2, Float_t* phiCell2,
38 Int_t* flagCell2, Float_t etbgTotal, Double_t dEtTotal,
ee7de0dd 39 Int_t& nJets, Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
40 Float_t* etallJet, Int_t* ncellsJet);
8838ab7a 41
42 void SubtractBackgC(Int_t& nIn, Int_t&nJ, Float_t&EtbgTotalN,
ee7de0dd 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
8838ab7a 47 void SubtractBackg(Int_t& nIn, Int_t&nJ, Float_t&EtbgTotalN, Float_t* ptT, Int_t* vectT,
48 Float_t* etaT, Float_t* phiT, Float_t* cFlagT, Float_t* cFlag2T,
49 Float_t* sFlagT, Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
50 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
51
ee7de0dd 52 void SubtractBackgCone(Int_t& nIn, Int_t&nJ,Float_t& EtbgTotalN,
8838ab7a 53 Float_t* ptT, Float_t* etaT, Float_t* phiT, Float_t* cFlagT, Float_t* sFlagT,
ee7de0dd 54 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
55 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
56
57 void SubtractBackgRatio(Int_t& nIn, Int_t&nJ,Float_t& EtbgTotalN,
8838ab7a 58 Float_t* ptT, Float_t* etaT, Float_t* phiT, Float_t* cFlagT, Float_t* sFlagT,
ee7de0dd 59 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
60 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
61
62 void SubtractBackgStat(Int_t& nIn, Int_t&nJ,Float_t&EtbgTotalN,
8838ab7a 63 Float_t* ptT, Float_t* etaT, Float_t* phiT, Float_t* cFlagT, Float_t* sFlagT,
ee7de0dd 64 Float_t* etJet,Float_t* etaJet, Float_t* phiJet,
65 Float_t* etsigJet, Int_t* multJet, Int_t* injet);
66 void Reset();
8838ab7a 67 void InitTask(TChain* tree);
ee7de0dd 68 void WriteJHeaderToFile();
69
70 protected:
71 AliUA1JetFinderV2(const AliUA1JetFinderV2& rJetF1);
72 AliUA1JetFinderV2& operator = (const AliUA1JetFinderV2& rhsf);
73 TH2F * fLego; //Lego Histo
74 Int_t fDebug;
75 Int_t fOpt;
76
77 ClassDef(AliUA1JetFinderV2,1)
78};
79
80#endif