1 #ifndef ALIEMCALJETFINDERALGO_H
2 #define ALIEMCALJETFINDERALGO_H
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * * See cxx source for full Copyright notice */
10 //_________________________________________________________________________
11 // Base Class for JetFinder Algorithms
13 //*-- Author: Mark Horner (LBL/UCT)
17 #include "AliEMCALJetFinderInput.h"
18 #include "AliEMCALJetFinderOutput.h"
21 class AliEMCALJetFinderAlgo : public TTask
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;}
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
42 ClassDef(AliEMCALJetFinderAlgo,4)