]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliAnalysisTaskJetsFinder.h
Adding the possibility not to follow particle mothers during StepManager (default...
[u/mrichter/AliRoot.git] / JETAN / AliAnalysisTaskJetsFinder.h
CommitLineData
d89b8229 1#ifndef ALIANALYSISTASKJETSFINDER_H
2#define ALIANALYSISTASKJETSFINDER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//----------------------------------------------------------------
8// Analysis task for interfacing the jet finders with the analysis framework
9//
10// Author: magali.estienne@subatech.in2p3.fr
11// alexandre.shabetai@cern.ch
12//----------------------------------------------------------------
13
14#include "AliAnalysisTaskSE.h"
15#include "AliJetCalTrk.h"
16
17class AliJetFinder;
18class AliJetHistos;
19class AliAODExtension;
20class TTree;
21class TString;
22
23class AliAnalysisTaskJetsFinder : public AliAnalysisTaskSE
24{
25 public:
26 AliAnalysisTaskJetsFinder();
27 AliAnalysisTaskJetsFinder(const char* name);
28 virtual ~AliAnalysisTaskJetsFinder();
29 // Implementation of interface methods
30 virtual void UserCreateOutputObjects();
31 virtual void Init();
32 virtual Bool_t Notify();
33 virtual void LocalInit() {Init();}
34 virtual void ConnectInputData(Option_t *);
35 virtual void UserExec(Option_t *option);
36 virtual void SetConfigFile(const char *c) {fConfigFile = c;}
37 virtual void SetJetFinder(AliJetFinder *finder) {fJetFinder = finder;}
38 virtual void SetNonStdBranch(const char *c){fNonStdBranch = c;}
39 virtual const char* GetNonStdBranch(){return fNonStdBranch.Data();}
40 virtual void SetNonStdOutputFile(const char *c){fNonStdFile = c;}
8f3c612f 41 virtual const char* GetNonStdOutputFile() {return fNonStdFile.Data();}
d89b8229 42 virtual void SetBookAODBackground(Bool_t b){fUseAODBackground = b;}
43 virtual void Terminate(Option_t *option);
44 virtual void SetFilterPt(Float_t f){fFilterPt = f;}
45
46 AliJetFinder* GetJetFinder() {return fJetFinder;}
47
48 private:
49 AliAnalysisTaskJetsFinder(const AliAnalysisTaskJetsFinder &det);
50 AliAnalysisTaskJetsFinder &operator=(const AliAnalysisTaskJetsFinder &det);
51
52 TString fConfigFile; // The name of the ConfigFile
53 TString fNonStdBranch; // The name of the non-std branch name
54 TString fNonStdFile; // The optional name of the output file the non-std brnach is written to
55 AliJetFinder* fJetFinder; // Pointer to the jet finder
56 AliJetHistos* fHistos; //! Histogram manager class
57 AliAODExtension* fAODExtension; // AOD extension in case we write a non-sdt brnach to a separate file and the aod is standard
58 TList* fListOfHistos; //! Output list of histograms
59 TTree* fTreeI; //! Input Tree
60 AliJetCalTrkEvent* fEvent; //! Pointer to jet input objects
61 Bool_t fUseAODBackground; // Decide wether we book the backround branch or not
62 Float_t fFilterPt; // Use this as a switch for writing the AOD, minium p_T of leading jet
63
64 ClassDef(AliAnalysisTaskJetsFinder, 1) // Jet Finder Analysis task
65
66};
67
68#endif