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 */
8 /* History of cvs commits:
11 * Revision 1.6 2005/05/28 14:19:04 schutz
12 * Compilation warnings fixed by T.P.
16 //_________________________________________________________________________
18 //*-- Author: D.Peressounko
21 // --- ROOT system ---
27 // --- Standard library ---
29 // --- AliRoot header files ---
31 class AliPHOSJetFinder : public TNamed {
34 AliPHOSJetFinder() ; // ctor
35 AliPHOSJetFinder(const AliPHOSJetFinder & jet);
36 virtual ~AliPHOSJetFinder() ; // dtor
38 void FindJetsFromParticles(const TClonesArray * plist,TObjArray * jetslist) ; //Do the job
39 void FindJetsFromDigits(const TClonesArray * digits,TObjArray * jetslist) ; //Do the job
41 void Print(const Option_t * = "") const ;
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 ;} ;
49 AliPHOSJetFinder & operator = (const AliPHOSJetFinder & /*rvalue*/) {
50 // assignement operator requested by coding convention but not needed
51 Fatal("operator =", "not implemented") ; return *this ;
55 Double_t Calibrate(const AliPHOSDigit * digit) ;
56 void CalculateEEtaPhi(const AliPHOSDigit * d,Double_t &e, Double_t &Eta, Double_t &phi);
59 Int_t fNJets ; //Number of jets
60 Int_t fStatusCode ; //Status code of particles to handle
61 Int_t fMode ; //Mode for background calculation
63 Double_t fConeRad ; //Maximal radius of jet
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
73 TClonesArray * fParticles ; //Particles array
74 TObjArray * fJets ; //Jets array
76 ClassDef(AliPHOSJetFinder,1) //Class to find Jets
80 #endif // AliPHOSJETFINDER_H