]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALJetFinderAlgo.h
Cosmetic correction
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALJetFinderAlgo.h
CommitLineData
f7d5860b 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();
3950acef 25 virtual ~AliEMCALJetFinderAlgo();
f7d5860b 26 virtual void FindJets() = 0 ;
27 void InitInput(AliEMCALJetFinderInput* input);
5bf42aa6 28 void SetDebug(Int_t debug = 0){fDebug = debug; if (fOutputPointer) fOutputPointer->SetDebug(debug);}
29 AliEMCALJetFinderOutput* GetOutput() { return fOutputPointer;}
30 void SetOutput(AliEMCALJetFinderOutput *output);
f7d5860b 31 Float_t PropagatePhi(Float_t pt, Float_t charge, Bool_t& curls);
b3c7d6bc 32 Bool_t GetPythiaComparison(){return fPythiaComparison;}
33 void SetPythiaComparison(Bool_t value){fPythiaComparison=value;}
f7d5860b 34protected:
35
36 AliEMCALJetFinderInput* fInputPointer; // pointer to the input object
5bf42aa6 37 AliEMCALJetFinderOutput* fOutputPointer; // output object for results
38 Bool_t fOutputAllocated; // flags if ouputobject is woned by JetFinderAlgo
f7d5860b 39 Int_t fDebug; // debug level
b3c7d6bc 40 Bool_t fPythiaComparison; // for pyclus comparison
f7d5860b 41
5bf42aa6 42 ClassDef(AliEMCALJetFinderAlgo,4)
f7d5860b 43
44};
45#endif
46