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
54 Bool_t fFromAod ; // is the data taken from AOD (or ESD filter)
55 Bool_t fAODwrite ; // write jets to AOD
56 Bool_t fAODtracksWrite ; // write jet tracks to AOD
57 Bool_t fAnalyseJets; // analyse jets
59 TRefArray *fRefArr ; //! pointer to references array of tracks from AOD
61 Int_t fNJets; //! counter of number of jets
62 Int_t fNPart; //! number of particles in event
64 Double_t fRadius ; // radius of jet
66 Int_t fMinJetParticles; // leading jet must contain AT LEAST fMinJetParticles
67 Double_t fJetPtCut; // leading jet must have AT LEAST fJetPtCut
69 varContainer **fVectParticle; //! container for Particles
70 varContainer **fVectJet; //! container for Jets
72 Double_t *fPtArray; //! momentum array
73 Int_t *fIdxArray; //! index array of sorted pts
76 ClassDef(AliCdfJetFinder,2)