]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/jetfinder/AliEMCALJetFinderAlgo.h
More mods to suit ROOT head
[u/mrichter/AliRoot.git] / EMCAL / jetfinder / AliEMCALJetFinderAlgo.h
CommitLineData
45a58699 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
21class AliEMCALJetFinderAlgo : public TTask
22{
23public:
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;}
18a21c7c 34
35 AliEMCALJetFinderAlgo (const AliEMCALJetFinderAlgo&);
36 AliEMCALJetFinderAlgo & operator = (const AliEMCALJetFinderAlgo & ) {
37 Fatal("operator =", "not implemented") ;
38 return *this ;
39 }
40
45a58699 41protected:
42
43 AliEMCALJetFinderInput* fInputPointer; // pointer to the input object
44 AliEMCALJetFinderOutput* fOutputPointer; // output object for results
45 Bool_t fOutputAllocated; // flags if ouputobject is woned by JetFinderAlgo
46 Int_t fDebug; // debug level
47 Bool_t fPythiaComparison; // for pyclus comparison
48
49 ClassDef(AliEMCALJetFinderAlgo,4)
50
51};
52#endif
53