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
25 AliPHOSJetFinder(const AliPHOSJetFinder & jet) : TNamed(jet) {
26 // copy ctor: no implementation yet
27 Fatal("cpy ctor", "not implemented") ;
29 virtual ~AliPHOSJetFinder() ; // dtor
31 void FindJetsFromParticles(const TClonesArray * plist,TObjArray * jetslist) ; //Do the job
32 void FindJetsFromDigits(const TClonesArray * digits,TObjArray * jetslist) ; //Do the job
36 void SetEtSeed(Double_t etseed){fEtSeed = etseed ;} ;
37 void SetEtMin(Double_t etmin){fEtMin = etmin ;} ;
38 void SetConRad(Double_t r){fConeRad = r ;} ;
39 void SetMaxConeMove(Double_t move){fMaxConeMove=move ; } ;
40 void SetMinConeMove(Double_t move){fMinConeMove=move ; } ;
41 void SetStatusCode(Int_t stc = 1){fStatusCode=stc ;} ;
42 AliPHOSJetFinder & operator = (const AliPHOSJetFinder & /*rvalue*/) {
43 // assignement operator requested by coding convention but not needed
44 Fatal("operator =", "not implemented") ; return *this ;
48 Double_t Calibrate(const AliPHOSDigit * digit) ;
49 void CalculateEEtaPhi(const AliPHOSDigit * d,Double_t &e, Double_t &Eta, Double_t &phi);
52 Int_t fNJets ; //Number of jets
53 Int_t fStatusCode ; //Status code of particles to handle
54 Int_t fMode ; //Mode for background calculation
56 Double_t fConeRad ; //Maximal radius of jet
57 Double_t fMaxConeMove ; //Maximal cone movement
58 Double_t fMinConeMove ; //Minimum cone movement
59 Double_t fEtSeed ; //Transversal energy seed
60 Double_t fEtMin ; //Minimal transversal energy
61 Double_t fPrecBg ; //Precision due to background?
62 Double_t fSimGain ; //Simulated digit gain
63 Double_t fSimPedestal ; //Simulated digit pedestal
66 TClonesArray * fParticles ; //Particles array
67 TObjArray * fJets ; //Jets array
69 ClassDef(AliPHOSJetFinder,1) //Class to find Jets
73 #endif // AliPHOSJETFINDER_H