]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/DEV/AliCdfJetFinder.h
file with geometry definitions, added temporarily until the one in EVE/alice-data...
[u/mrichter/AliRoot.git] / JETAN / DEV / AliCdfJetFinder.h
CommitLineData
d89b8229 1#ifndef ALICDFJETFINDER_H
2#define ALICDFJETFINDER_H
3
4/*
5 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
6 * See cxx source for full Copyright notice
7 *
8*/
9
10/* $Id$ */
11
12// Definition of constants, structures and functions for jet finder
13
14#include "AliJetFinder.h"
15
16using namespace std ;
17
18
19// structure of jet and particles container
20struct varContainer
21{
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
26};
27
28class AliCdfJetHeader;
29
30class AliCdfJetFinder : public AliJetFinder
31{
32 public:
33 AliCdfJetFinder();
34 virtual ~AliCdfJetFinder();
35
36 void CreateOutputObjects(TList * const histos);
37 void FindJets();
38 void InitData();
39 void FindCones();
40 void ComputeConesWeight();
41 void WriteJets() ;
42 void AnalizeJets();
43 void Clean();
44
45 protected:
46 AliCdfJetFinder ( const AliCdfJetFinder& jf );
47 AliCdfJetFinder& operator = ( const AliCdfJetFinder& jf );
48
49 TList* fHistos; // List of histograms
50
51 Bool_t fAODwrite ; // write jets to AOD
52 Bool_t fAODtracksWrite; // write jet tracks to AOD
53 Bool_t fAnalyseJets; // analyse jets
54
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
59
60 Double_t fRadius; // radius of jet
61
62 Int_t fMinJetParticles; // leading jet must contain AT LEAST fMinJetParticles
63 Double_t fJetPtCut; // leading jet must have AT LEAST fJetPtCut
64
65 varContainer** fVectParticle; //! container for Particles
66 varContainer** fVectJet; //! container for Jets
67
68 Double_t* fPtArray; //! momentum array
69 Int_t* fIdxArray; //! index array of sorted pts
70
71 ClassDef(AliCdfJetFinder,3) // CDF jet finder
72
73};
74#endif
75