New methods in geometry, update geometry for 3x3 case
[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:
1b7d5d7e 50 AliJetFinder(const AliJetFinder& rJetFinder);
51 AliJetFinder& operator = (const AliJetFinder& rhsf);
52
99e5fe42 53 Bool_t fPlotMode; // do you want control plots?
54 AliJet* fJets; // pointer to jet class
83a444b1 55 AliJet* fGenJets; // pointer to generated jets
99e5fe42 56 AliLeading* fLeading; // pointer to leading particle data
57 AliJetReader* fReader; // pointer to reader
58 AliJetControlPlots* fPlots; // pointer to control plots
59 TFile* fOut; // output file
60
61 ClassDef(AliJetFinder,1)
62};
63
64#endif