1 #ifndef ALIANALYSISTASKPIDQA_H
2 #define ALIANALYSISTASKPIDQA_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /* $Id: AliAnalysisTaskPIDqa.h 43642 2010-09-17 15:50:04Z wiechula $ */
8 // Author: Jens Wiechula, 24/02/2011
10 //==============================================================================
15 //==============================================================================
17 #include <TVectorDfwd.h>
19 #ifndef ALIANALYSISTASKSE_H
20 #include "AliAnalysisTaskSE.h"
27 class AliAnalysisTaskPIDqa : public AliAnalysisTaskSE {
31 AliAnalysisTaskPIDqa();
32 AliAnalysisTaskPIDqa(const char *name);
33 virtual ~AliAnalysisTaskPIDqa();
35 virtual void UserCreateOutputObjects();
37 virtual void UserExec(Option_t */*option*/);
41 AliPIDResponse *fPIDResponse; //! PID response Handler
42 TList *fListQA; //! list with all QA histograms
43 TList *fListQAits; //! List with ITS QA histograms
44 TList *fListQAtpc; //! List with TPC QA histograms
45 TList *fListQAtrd; //! List with TRD QA histograms
46 TList *fListQAtof; //! List with TOF QA histograms
47 TList *fListQAemcal; //! List with EMCAL QA histograms
48 TList *fListQAtpctof;//! List with combined PID from TPC + TOF
53 //qa object initialisation
73 TVectorD* MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
74 TVectorD* MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
75 TVectorD* MakeArbitraryBinning(const char* bins);
78 AliAnalysisTaskPIDqa(const AliAnalysisTaskPIDqa &other);
79 AliAnalysisTaskPIDqa& operator=(const AliAnalysisTaskPIDqa &other);
81 ClassDef(AliAnalysisTaskPIDqa,1) // Task to properly set the PID response functions of all detectors