Added option for vertex and small fix for Poisson
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskPIDResponse.h
CommitLineData
66ab8ab2 1#ifndef ALIANALYSISTASKPIDRESPONSE_H
2#define ALIANALYSISTASKPIDRESPONSE_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id: AliAnalysisTaskPIDResponse.h 43642 2010-09-17 15:50:04Z wiechula $ */
8// Author: Jens Wiechula, 24/02/2011
9
10//==============================================================================
11//
12//
13//
14//
15//==============================================================================
16
17#include <TVectorDfwd.h>
18
19#ifndef ALIANALYSISTASKSE_H
20#include "AliAnalysisTaskSE.h"
21#endif
22
23class AliPIDResponse;
6a45d03f 24class AliVEvent;
66ab8ab2 25
26class AliAnalysisTaskPIDResponse : public AliAnalysisTaskSE {
27
28
29public:
30 AliAnalysisTaskPIDResponse();
31 AliAnalysisTaskPIDResponse(const char *name);
32 virtual ~AliAnalysisTaskPIDResponse();
33
34 void SetIsMC(Bool_t isMC=kTRUE) { fIsMC=isMC; }
35
36 virtual void UserCreateOutputObjects();
37
38 virtual void UserExec(Option_t */*option*/);
39
66ab8ab2 40
41private:
42 Bool_t fIsMC; // If we run on MC data
66ab8ab2 43
44 AliPIDResponse *fPIDResponse; //! PID response Handler
66ab8ab2 45 Int_t fRun; //! current run number
46 Int_t fOldRun; //! current run number
6a45d03f 47 Int_t fRecoPass; //! reconstruction pass
66ab8ab2 48
66ab8ab2 49 //
50 void SetRecoInfo();
6a45d03f 51
66ab8ab2 52 AliAnalysisTaskPIDResponse(const AliAnalysisTaskPIDResponse &other);
53 AliAnalysisTaskPIDResponse& operator=(const AliAnalysisTaskPIDResponse &other);
54
55 ClassDef(AliAnalysisTaskPIDResponse,1) // Task to properly set the PID response functions of all detectors
56};
57#endif