]>
Commit | Line | Data |
---|---|---|
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" | |
13 | class TClonesArray ; | |
14 | class TObjArray ; | |
15 | class AliPHOSDigit ; | |
16 | ||
17 | // --- Standard library --- | |
18 | ||
19 | // --- AliRoot header files --- | |
20 | ||
21 | class AliPHOSJetFinder : public TNamed { | |
22 | ||
23 | public: | |
24 | AliPHOSJetFinder() ; // ctor | |
a8c47ab6 | 25 | AliPHOSJetFinder(const AliPHOSJetFinder & jet) : TNamed(jet) { |
0bc3b8ed | 26 | // copy ctor: no implementation yet |
27 | Fatal("cpy ctor", "not implemented") ; | |
28 | } | |
5240525e | 29 | virtual ~AliPHOSJetFinder() ; // dtor |
30 | ||
31 | void FindJetsFromParticles(const TClonesArray * plist,TObjArray * jetslist) ; //Do the job | |
32 | void FindJetsFromDigits(const TClonesArray * digits,TObjArray * jetslist) ; //Do the job | |
33 | ||
90cceaf6 | 34 | void Print() ; |
5240525e | 35 | |
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 ;} ; | |
8c140292 | 42 | AliPHOSJetFinder & operator = (const AliPHOSJetFinder & /*rvalue*/) { |
0bc3b8ed | 43 | // assignement operator requested by coding convention but not needed |
44 | Fatal("operator =", "not implemented") ; return *this ; | |
45 | } | |
5240525e | 46 | |
47 | private: | |
48 | Double_t Calibrate(const AliPHOSDigit * digit) ; | |
49 | void CalculateEEtaPhi(const AliPHOSDigit * d,Double_t &e, Double_t &Eta, Double_t &phi); | |
50 | ||
51 | private: | |
0bc3b8ed | 52 | Int_t fNJets ; //Number of jets |
5240525e | 53 | Int_t fStatusCode ; //Status code of particles to handle |
54 | Int_t fMode ; //Mode for background calculation | |
55 | ||
56 | Double_t fConeRad ; //Maximal radius of jet | |
0bc3b8ed | 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 | |
5240525e | 64 | |
65 | ||
0bc3b8ed | 66 | TClonesArray * fParticles ; //Particles array |
67 | TObjArray * fJets ; //Jets array | |
5240525e | 68 | |
69 | ClassDef(AliPHOSJetFinder,1) //Class to find Jets | |
70 | ||
71 | }; | |
72 | ||
73 | #endif // AliPHOSJETFINDER_H |