]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliJetBkg.h
a macro with TPC,ITS, ITSSPD vertex, global vertex and v0's
[u/mrichter/AliRoot.git] / JETAN / AliJetBkg.h
CommitLineData
50c7d9f7 1#ifndef ALIJETBKG_H
2#define ALIJETBKG_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 //---------------------------------------------------------------------
7// Class to calculate the background per unit area
8// manages the search for jets
9// Authors: Elena Bruna elena.bruna@yale.edu
10// Sevil Salur ssalur@lbl.gov
11//
12//---------------------------------------------------------------------
13
14
15class AliJetFinder;
16class AliESDEvent;
17class TTree;
18class TChain;
19class TString;
20class AliAODEvent;
21class AliJetHistos;
22class AliFastJetInput;
23
24class AliJetBkg : public TObject
25{
26 public:
27 AliJetBkg();
28 AliJetBkg(const AliJetBkg &input);
29 AliJetBkg& operator=(const AliJetBkg& source);
30 virtual ~AliJetBkg() {;}
31 void SetHeader(AliJetHeader *header) {fHeader=header;}
32 void SetReader(AliJetReader *reader) {fReader=reader;}
33 void SetFastJetInput(AliFastJetInput *fjinput) {fInputFJ=fjinput;}
34 Float_t BkgFastJet();
35 Float_t BkgChargedFastJet();
36 Float_t BkgStat();
37 Float_t BkgFastJetCone(TClonesArray* fAODJets);
38 Float_t BkgRemoveJetLeading(TClonesArray* fAODJets);
39 Float_t BkgRemoveJetLeadingFromUArray(TClonesArray* fAODJets);
40 Float_t EtaToTheta(Float_t arg);
41 Bool_t EmcalAcceptance(const Float_t eta, const Float_t phi, const Float_t radius);
42 static Double_t BkgFunction(Double_t *x,Double_t *par);
43
44 private:
45 Double_t CalcRho(vector<fastjet::PseudoJet> input_particles,Double_t RparamBkg,TString method);
46
47 AliJetReader *fReader; //! reader
48 AliJetHeader *fHeader; //! header
49 AliFastJetInput *fInputFJ; //! input particles
50
51 ClassDef(AliJetBkg, 1); // Analysis task for standard jet analysis
52};
53
54#endif