]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSJetFinder.h
Remove obsolete AliPHOSAlignData
[u/mrichter/AliRoot.git] / PHOS / AliPHOSJetFinder.h
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 /* $Id$ */
7
8 /* History of cvs commits:
9  *
10  * $Log$
11  */
12
13 //_________________________________________________________________________
14 //                  
15 //*-- Author: D.Peressounko
16
17
18 // --- ROOT system ---
19 #include "TNamed.h"
20 class TClonesArray ;
21 class TObjArray ;
22 class AliPHOSDigit ;
23
24 // --- Standard library ---
25
26 // --- AliRoot header files ---
27
28 class AliPHOSJetFinder : public TNamed {
29
30 public:
31   AliPHOSJetFinder() ;          // ctor
32   AliPHOSJetFinder(const AliPHOSJetFinder & jet) : TNamed(jet) {
33     // copy ctor: no implementation yet
34     Fatal("cpy ctor", "not implemented") ;
35   }
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
41   void Print(const Option_t * = "") const ;
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 ;} ;
49   AliPHOSJetFinder & operator = (const AliPHOSJetFinder & /*rvalue*/)  {
50     // assignement operator requested by coding convention but not needed
51     Fatal("operator =", "not implemented") ; return *this ; 
52   }
53   
54 private:
55   Double_t Calibrate(const AliPHOSDigit * digit) ;
56   void    CalculateEEtaPhi(const AliPHOSDigit * d,Double_t &e, Double_t &Eta, Double_t &phi);
57
58 private:
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
62
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
71
72
73   TClonesArray * fParticles ; //Particles array
74   TObjArray *    fJets ;      //Jets array
75
76   ClassDef(AliPHOSJetFinder,1)  //Class to find Jets
77
78 };
79
80 #endif // AliPHOSJETFINDER_H