4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 //---------------------------------------------------------------------
9 // Jet finder base class
10 // manages the search for jets
11 // Author: jgcn@mda.cinvestav.mx
12 //---------------------------------------------------------------------
19 class AliJetControlPlots;
23 class AliJetFinder : public TObject
28 virtual ~AliJetFinder();
31 virtual AliJet *GetJets() {return fJets;}
32 virtual Bool_t GetPlotMode() const {return fPlotMode;}
33 virtual TFile* GetOutputFile() { return fOut; }
35 virtual void SetPlotMode(Bool_t b);
36 virtual void SetOutputFile(const char *name="jets.root");
37 virtual void SetJetReader(AliJetReader* r) {fReader=r;}
40 virtual void PrintJets();
42 virtual void WriteJetsToFile(Int_t i);
43 virtual void WriteRHeaderToFile();
44 // the following have to be implemented for each specific finder
45 virtual void Init() { }
46 virtual void Reset() { }
47 virtual void FindJets() { }
48 virtual void WriteJHeaderToFile() { }
49 virtual void GetGenJets();
52 Bool_t fPlotMode; // do you want control plots?
53 AliJet* fJets; // pointer to jet class
54 AliJet* fGenJets; // pointer to generated jets
55 AliLeading* fLeading; // pointer to leading particle data
56 AliJetReader* fReader; // pointer to reader
57 AliJetControlPlots* fPlots; // pointer to control plots
58 TFile* fOut; // output file
60 ClassDef(AliJetFinder,1)