Added reference from vertex to candidate (Andrea)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSJetFinder.h
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
702ab87e 6/* $Id$ */
7
8/* History of cvs commits:
9 *
10 * $Log$
3f7dbdb7 11 * Revision 1.6 2005/05/28 14:19:04 schutz
12 * Compilation warnings fixed by T.P.
13 *
702ab87e 14 */
15
5240525e 16//_________________________________________________________________________
17//
18//*-- Author: D.Peressounko
19
20
21// --- ROOT system ---
22#include "TNamed.h"
23class TClonesArray ;
24class TObjArray ;
25class AliPHOSDigit ;
26
27// --- Standard library ---
28
29// --- AliRoot header files ---
30
31class AliPHOSJetFinder : public TNamed {
32
33public:
34 AliPHOSJetFinder() ; // ctor
3f7dbdb7 35 AliPHOSJetFinder(const AliPHOSJetFinder & jet);
5240525e 36 virtual ~AliPHOSJetFinder() ; // dtor
37
38 void FindJetsFromParticles(const TClonesArray * plist,TObjArray * jetslist) ; //Do the job
39 void FindJetsFromDigits(const TClonesArray * digits,TObjArray * jetslist) ; //Do the job
40
702ab87e 41 void Print(const Option_t * = "") const ;
5240525e 42
43 void SetEtSeed(Double_t etseed){fEtSeed = etseed ;} ;
44 void SetEtMin(Double_t etmin){fEtMin = etmin ;} ;
45 void SetConRad(Double_t r){fConeRad = r ;} ;
46 void SetMaxConeMove(Double_t move){fMaxConeMove=move ; } ;
47 void SetMinConeMove(Double_t move){fMinConeMove=move ; } ;
48 void SetStatusCode(Int_t stc = 1){fStatusCode=stc ;} ;
8c140292 49 AliPHOSJetFinder & operator = (const AliPHOSJetFinder & /*rvalue*/) {
0bc3b8ed 50 // assignement operator requested by coding convention but not needed
51 Fatal("operator =", "not implemented") ; return *this ;
52 }
5240525e 53
54private:
55 Double_t Calibrate(const AliPHOSDigit * digit) ;
56 void CalculateEEtaPhi(const AliPHOSDigit * d,Double_t &e, Double_t &Eta, Double_t &phi);
57
58private:
0bc3b8ed 59 Int_t fNJets ; //Number of jets
5240525e 60 Int_t fStatusCode ; //Status code of particles to handle
61 Int_t fMode ; //Mode for background calculation
62
63 Double_t fConeRad ; //Maximal radius of jet
0bc3b8ed 64 Double_t fMaxConeMove ; //Maximal cone movement
65 Double_t fMinConeMove ; //Minimum cone movement
66 Double_t fEtSeed ; //Transversal energy seed
67 Double_t fEtMin ; //Minimal transversal energy
68 Double_t fPrecBg ; //Precision due to background?
69 Double_t fSimGain ; //Simulated digit gain
70 Double_t fSimPedestal ; //Simulated digit pedestal
5240525e 71
72
0bc3b8ed 73 TClonesArray * fParticles ; //Particles array
74 TObjArray * fJets ; //Jets array
5240525e 75
76 ClassDef(AliPHOSJetFinder,1) //Class to find Jets
77
78};
79
80#endif // AliPHOSJETFINDER_H