4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //---------------------------------------------------------------------
8 // Jet finder base class
9 // manages the search for jets
10 // Author: jgcn@mda.cinvestav.mx
11 //---------------------------------------------------------------------
18 class AliJetControlPlots;
21 class AliJetFinder : public TObject
26 virtual ~AliJetFinder();
29 virtual AliJet *GetJets() {return fJets;}
30 virtual Bool_t GetPlotMode() const {return fPlotMode;}
31 virtual TFile* GetOutputFile() {return fOut;}
33 virtual void SetPlotMode(Bool_t b);
34 virtual void SetOutputFile(const char *name="jets.root");
35 virtual void SetJetReader(AliJetReader* r) {fReader=r;}
38 virtual void PrintJets();
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();
50 Bool_t fPlotMode; // do you want control plots?
51 AliJet* fJets; // pointer to jet class
52 AliJet* fGenJets; // pointer to generated jets
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
58 ClassDef(AliJetFinder,1)