]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIEMCALJETFINDERALGO_H | |
2 | #define ALIEMCALJETFINDERALGO_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 | /* $Id$ */ | |
9 | ||
10 | //_________________________________________________________________________ | |
11 | // Base Class for JetFinder Algorithms | |
12 | // | |
13 | //*-- Author: Mark Horner (LBL/UCT) | |
14 | ||
15 | ||
16 | #include "TTask.h" | |
17 | #include "AliEMCALJetFinderInput.h" | |
18 | #include "AliEMCALJetFinderOutput.h" | |
19 | ||
20 | ||
21 | class AliEMCALJetFinderAlgo : public TTask | |
22 | { | |
23 | public: | |
24 | AliEMCALJetFinderAlgo(); | |
25 | virtual ~AliEMCALJetFinderAlgo(); | |
26 | virtual void FindJets() = 0 ; | |
27 | void InitInput(AliEMCALJetFinderInput* input); | |
28 | void SetDebug(Int_t debug = 0){fDebug = debug; if (fOutputPointer) fOutputPointer->SetDebug(debug);} | |
29 | AliEMCALJetFinderOutput* GetOutput() { return fOutputPointer;} | |
30 | void SetOutput(AliEMCALJetFinderOutput *output); | |
31 | Float_t PropagatePhi(Float_t pt, Float_t charge, Bool_t& curls); | |
32 | Bool_t GetPythiaComparison(){return fPythiaComparison;} | |
33 | void SetPythiaComparison(Bool_t value){fPythiaComparison=value;} | |
34 | protected: | |
35 | ||
36 | AliEMCALJetFinderInput* fInputPointer; // pointer to the input object | |
37 | AliEMCALJetFinderOutput* fOutputPointer; // output object for results | |
38 | Bool_t fOutputAllocated; // flags if ouputobject is woned by JetFinderAlgo | |
39 | Int_t fDebug; // debug level | |
40 | Bool_t fPythiaComparison; // for pyclus comparison | |
41 | ||
42 | ClassDef(AliEMCALJetFinderAlgo,4) | |
43 | ||
44 | }; | |
45 | #endif | |
46 |