1 #ifndef ALIFASTJETBKG_H
2 #define ALIFASTJETBKG_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 //---------------------------------------------------------------------
10 // Class to calculate the background per unit area
11 // manages the search for jets
12 // Authors: Elena Bruna elena.bruna@yale.edu
13 // Sevil Salur ssalur@lbl.gov
16 // renamed from AliJetBkg to AliFastJetBkg as this class uses only FASTJET based algos
17 //---------------------------------------------------------------------
24 class AliFastJetInput;
26 class AliFastJetBkg : public TObject
30 AliFastJetBkg(const AliFastJetBkg &input);
31 AliFastJetBkg& operator=(const AliFastJetBkg& source);
32 virtual ~AliFastJetBkg() {;}
33 void SetHeader(AliJetHeader *header) {fHeader=header;}
34 void SetFastJetInput(AliFastJetInput *fjinput) {fInputFJ=fjinput;}
35 void BkgFastJetb(Double_t& x,Double_t& y, Double_t& z);
36 void BkgFastJetWoHardest(Double_t& x,Double_t& y, Double_t& z);
38 Float_t BkgChargedFastJet();
40 Float_t BkgFastJetCone(TClonesArray* fAODJets);
42 Bool_t EmcalAcceptance(const Float_t eta, const Float_t phi, const Float_t radius) const;
43 static Double_t BkgFunction(Double_t *x,Double_t *par);
46 Double_t CalcRho(vector<fastjet::PseudoJet> input_particles,Double_t RparamBkg,TString method);
47 void CalcRhob(Double_t& median, Double_t& sigma, Double_t& meanarea,
48 vector<fastjet::PseudoJet> input_particles,Double_t RparamBkg,TString method);
49 void CalcRhoWoHardest(Double_t& median, Double_t& sigma, Double_t& meanarea,
50 vector<fastjet::PseudoJet> input_particles,Double_t RparamBkg,TString method);
52 AliJetHeader* fHeader; //! header
53 AliFastJetInput* fInputFJ; //! input particles
55 ClassDef(AliFastJetBkg, 2) // Fastjet backgroud analysis