]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSJetFinder.h
assert removed
[u/mrichter/AliRoot.git] / PHOS / AliPHOSJetFinder.h
CommitLineData
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"
13class TClonesArray ;
14class TObjArray ;
15class AliPHOSDigit ;
16
17// --- Standard library ---
18
19// --- AliRoot header files ---
20
21class AliPHOSJetFinder : public TNamed {
22
23public:
24 AliPHOSJetFinder() ; // ctor
0bc3b8ed 25 AliPHOSJetFinder(const AliPHOSJetFinder & jet) {
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
34 void Print(Option_t * option = "") ;
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 ;} ;
0bc3b8ed 42 AliPHOSJetFinder & operator = (const AliPHOSJetFinder & rvalue) {
43 // assignement operator requested by coding convention but not needed
44 Fatal("operator =", "not implemented") ; return *this ;
45 }
5240525e 46
47private:
48 Double_t Calibrate(const AliPHOSDigit * digit) ;
49 void CalculateEEtaPhi(const AliPHOSDigit * d,Double_t &e, Double_t &Eta, Double_t &phi);
50
51private:
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