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 */
6 //_________________________________________________________________________
8 //*-- Author: D.Peressounko
11 // --- ROOT system ---
17 // --- Standard library ---
19 // --- AliRoot header files ---
21 class AliPHOSJetFinder : public TNamed {
24 AliPHOSJetFinder() ; // ctor
26 virtual ~AliPHOSJetFinder() ; // dtor
28 void FindJetsFromParticles(const TClonesArray * plist,TObjArray * jetslist) ; //Do the job
29 void FindJetsFromDigits(const TClonesArray * digits,TObjArray * jetslist) ; //Do the job
31 void Print(Option_t * option = "") ;
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 ;} ;
41 Double_t Calibrate(const AliPHOSDigit * digit) ;
42 void CalculateEEtaPhi(const AliPHOSDigit * d,Double_t &e, Double_t &Eta, Double_t &phi);
46 Int_t fStatusCode ; //Status code of particles to handle
47 Int_t fMode ; //Mode for background calculation
49 Double_t fConeRad ; //Maximal radius of jet
50 Double_t fMaxConeMove ;
51 Double_t fMinConeMove ;
56 Double_t fSimPedestal ;
59 TClonesArray * fParticles ;
62 ClassDef(AliPHOSJetFinder,1) //Class to find Jets
66 #endif // AliPHOSJETFINDER_H