]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALJetFinderAlgo.h
Added the option to process 1 event(default) or a range of events
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALJetFinderAlgo.h
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; fOutputObject.SetDebug(debug);}
29   AliEMCALJetFinderOutput* GetOutput() { return &fOutputObject;}
30   Float_t PropagatePhi(Float_t pt, Float_t charge, Bool_t& curls);      
31 protected:
32    
33   AliEMCALJetFinderInput*        fInputPointer;  // pointer to the input object 
34   AliEMCALJetFinderOutput        fOutputObject;  // output object for results
35   Int_t                          fDebug;         // debug level
36
37   ClassDef(AliEMCALJetFinderAlgo,2)
38
39 };
40 #endif
41