1 #ifndef ALICDFJETFINDER_H
2 #define ALICDFJETFINDER_H
5 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
6 * See cxx source for full Copyright notice
12 // Definition of constants, structures and functions for jet finder
14 #include "AliJetFinder.h"
19 // structure of jet and particles container
22 Double_t pt; // pt of particle/jet
23 Double_t eta; // eta of particle/jet
24 Double_t phi; // phi of particle/jet
25 Int_t njet; // njet is multiplicity of jet or if particles are stored , njet is index number of jet
28 class AliCdfJetHeader;
30 class AliCdfJetFinder : public AliJetFinder
34 virtual ~AliCdfJetFinder();
36 void CreateOutputObjects(TList * const histos);
40 void ComputeConesWeight();
46 AliCdfJetFinder ( const AliCdfJetFinder& jf );
47 AliCdfJetFinder& operator = ( const AliCdfJetFinder& jf );
49 TList* fHistos; // List of histograms
51 Bool_t fAODwrite ; // write jets to AOD
52 Bool_t fAODtracksWrite; // write jet tracks to AOD
53 Bool_t fAnalyseJets; // analyse jets
55 Int_t fNJets; //! counter of number of jets
56 Int_t fNPart; //! number of particles in event
57 Int_t fNInC; //! number of charged particles in event
58 Int_t fNInN; //! number of neutral cells in event
60 Double_t fRadius; // radius of jet
62 Int_t fMinJetParticles; // leading jet must contain AT LEAST fMinJetParticles
63 Double_t fJetPtCut; // leading jet must have AT LEAST fJetPtCut
65 varContainer** fVectParticle; //! container for Particles
66 varContainer** fVectJet; //! container for Jets
68 Double_t* fPtArray; //! momentum array
69 Int_t* fIdxArray; //! index array of sorted pts
71 ClassDef(AliCdfJetFinder,3) // CDF jet finder