]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSJetFinder.h.old
Reconstructiom macro updated, most of the controls moved to AliPHOSRecoParams.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSJetFinder.h.old
CommitLineData
5240525e 1#ifndef ALIPHOSJETFINDER_H
2#define ALIPHOSJETFINDER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6//_________________________________________________________________________
7//
8//*-- Author: D.Peressounko
9
10
11// --- ROOT system ---
12#include "TNamed.h"
13class TClonesArray ;
14class TObjArray ;
15class AliPHOSDigit ;
16
17// --- Standard library ---
18
19// --- AliRoot header files ---
20
21class AliPHOSJetFinder : public TNamed {
22
23public:
24 AliPHOSJetFinder() ; // ctor
25
26 virtual ~AliPHOSJetFinder() ; // dtor
27
28 void FindJetsFromParticles(const TClonesArray * plist,TObjArray * jetslist) ; //Do the job
29 void FindJetsFromDigits(const TClonesArray * digits,TObjArray * jetslist) ; //Do the job
30
31 void Print(Option_t * option = "") ;
32
33 void SetEtSeed(Double_t etseed){fEtSeed = etseed ;} ;
34 void SetEtMin(Double_t etmin){fEtMin = etmin ;} ;
35 void SetConRad(Double_t r){fConeRad = r ;} ;
36 void SetMaxConeMove(Double_t move){fMaxConeMove=move ; } ;
37 void SetMinConeMove(Double_t move){fMinConeMove=move ; } ;
38 void SetStatusCode(Int_t stc = 1){fStatusCode=stc ;} ;
39
40private:
41 Double_t Calibrate(const AliPHOSDigit * digit) ;
42 void CalculateEEtaPhi(const AliPHOSDigit * d,Double_t &e, Double_t &Eta, Double_t &phi);
43
44private:
45 Int_t fNJets ;
46 Int_t fStatusCode ; //Status code of particles to handle
47 Int_t fMode ; //Mode for background calculation
48
49 Double_t fConeRad ; //Maximal radius of jet
50 Double_t fMaxConeMove ;
51 Double_t fMinConeMove ;
52 Double_t fEtSeed ;
53 Double_t fEtMin ;
54 Double_t fPrecBg ;
55 Double_t fSimGain ;
56 Double_t fSimPedestal ;
57
58
59 TClonesArray * fParticles ;
60 TObjArray * fJets ;
61
62 ClassDef(AliPHOSJetFinder,1) //Class to find Jets
63
64};
65
66#endif // AliPHOSJETFINDER_H