]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliJetFinder.h
AliESDVertex is no longer written on the ESD: this was a side effect of FindVertexFor...
[u/mrichter/AliRoot.git] / JETAN / AliJetFinder.h
CommitLineData
99e5fe42 1#ifndef ALIJETFINDER_H
2#define ALIJETFINDER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
99e5fe42 7//---------------------------------------------------------------------
8// Jet finder base class
9// manages the search for jets
10// Author: jgcn@mda.cinvestav.mx
11//---------------------------------------------------------------------
12
13#include <TObject.h>
14
15class TFile;
16class AliJet;
17class AliJetReader;
18class AliJetControlPlots;
19class AliLeading;
20
99e5fe42 21class AliJetFinder : public TObject
22{
23 public:
24
25 AliJetFinder();
26 virtual ~AliJetFinder();
27
28 // getters
83a444b1 29 virtual AliJet *GetJets() {return fJets;}
30 virtual Bool_t GetPlotMode() const {return fPlotMode;}
31 virtual TFile* GetOutputFile() {return fOut;}
99e5fe42 32 // setters
33 virtual void SetPlotMode(Bool_t b);
34 virtual void SetOutputFile(const char *name="jets.root");
35 virtual void SetJetReader(AliJetReader* r) {fReader=r;}
36
37 // others
38 virtual void PrintJets();
39 virtual void Run();
40 virtual void WriteJetsToFile(Int_t i);
41 virtual void WriteRHeaderToFile();
42 // the following have to be implemented for each specific finder
43 virtual void Init() { }
44 virtual void Reset() { }
45 virtual void FindJets() { }
46 virtual void WriteJHeaderToFile() { }
47 virtual void GetGenJets();
48
49 protected:
50 Bool_t fPlotMode; // do you want control plots?
51 AliJet* fJets; // pointer to jet class
83a444b1 52 AliJet* fGenJets; // pointer to generated jets
99e5fe42 53 AliLeading* fLeading; // pointer to leading particle data
54 AliJetReader* fReader; // pointer to reader
55 AliJetControlPlots* fPlots; // pointer to control plots
56 TFile* fOut; // output file
57
58 ClassDef(AliJetFinder,1)
59};
60
61#endif