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
10 // Definition of constants, structures and functions for jet finder
12 #include "AliJetFinder.h"
17 // structure of jet and particles container
20 Double_t pt; // pt of particle/jet
21 Double_t eta; // eta of particle/jet
22 Double_t phi; // phi of particle/jet
23 Int_t njet; // njet is multiplicity of jet or if particles are stored , njet is index number of jet
26 class AliCdfJetHeader;
28 class AliCdfJetFinder : public AliJetFinder
33 virtual ~AliCdfJetFinder();
35 void CreateOutputObjects(TList * const histos);
39 void ComputeConesWeight();
44 virtual void FinishRun();
46 void SetAnalyseJets(Bool_t flag = kTRUE) {fAnalyseJets = flag;}
49 AliCdfJetFinder ( const AliCdfJetFinder& jf );
50 AliCdfJetFinder& operator = ( const AliCdfJetFinder& jf );
52 TList *fHistos; // List of histograms
53 Bool_t fDebug; // enables debugging
55 Bool_t fFromAod ; // is the data taken from AOD (or ESD filter)
56 Bool_t fAODwrite ; // write jets to AOD
57 Bool_t fAODtracksWrite ; // write jet tracks to AOD
58 Bool_t fAnalyseJets; // analyse jets
60 TRefArray *fRefArr ; // pointer to references array of tracks from AOD
62 Int_t fNJets; // counter of number of jets
63 Int_t fNPart; // number of particles in event
65 Double_t fRadius ; // radius of jet
67 Int_t fMinJetParticles; // leading jet must contain AT LEAST fMinJetParticles
68 Double_t fJetPtCut; // leading jet must have AT LEAST fJetPtCut
70 varContainer **fVectParticle; // container for Particles
71 varContainer **fVectJet; // container for Jets
73 Double_t *fPtArray; // momentum array
74 Int_t *fIdxArray; // index array of sorted pts
77 ClassDef(AliCdfJetFinder,1)