1 #ifndef ALIANALYSISTASKPIDQA_H
\r
2 #define ALIANALYSISTASKPIDQA_H
\r
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
\r
5 * See cxx source for full Copyright notice */
\r
7 /* $Id: AliAnalysisTaskPIDqa.h 43642 2010-09-17 15:50:04Z wiechula $ */
\r
8 // Author: Jens Wiechula, 24/02/2011
\r
10 //==============================================================================
\r
15 //==============================================================================
\r
17 #include <TVectorDfwd.h>
\r
19 #ifndef ALIANALYSISTASKSE_H
\r
20 #include "AliAnalysisTaskSE.h"
\r
23 class AliPIDResponse;
\r
26 class AliESDv0KineCuts;
\r
28 class AliAnalysisTaskPIDqa : public AliAnalysisTaskSE {
\r
32 AliAnalysisTaskPIDqa();
\r
33 AliAnalysisTaskPIDqa(const char *name);
\r
34 virtual ~AliAnalysisTaskPIDqa();
\r
36 virtual void UserCreateOutputObjects();
\r
38 virtual void UserExec(Option_t */*option*/);
\r
42 AliPIDResponse *fPIDResponse; //! PID response Handler
\r
43 AliESDv0KineCuts *fV0cuts; //! ESD V0 cuts
\r
45 TObjArray *fV0electrons; //! array with pointer to identified particles from V0 decays (electrons)
\r
46 TObjArray *fV0pions; //! array with pointer to identified particles from V0 decays (pions)
\r
47 TObjArray *fV0kaons; //! array with pointer to identified particles from V0 decays (kaons)
\r
48 TObjArray *fV0protons; //! array with pointer to identified particles from V0 decays (ptotons)
\r
50 TList *fListQA; //! list with all QA histograms
\r
51 TList *fListQAits; //! List with ITS QA histograms
\r
52 TList *fListQAitsSA; //! List with ITS SA QA histograms
\r
53 TList *fListQAitsPureSA; //! List with ITS pure SA QA histograms
\r
54 TList *fListQAtpc; //! List with TPC QA histograms
\r
55 TList *fListQAtrd; //! List with TRD QA histograms
\r
56 TList *fListQAtof; //! List with TOF QA histograms
\r
57 TList *fListQAemcal; //! List with EMCAL QA histograms
\r
58 TList *fListQAhmpid; //! List with EMCAL QA histograms
\r
59 TList *fListQAtofhmpid; //! List with EMCAL QA histograms
\r
60 TList *fListQAtpctof; //! List with combined PID from TPC + TOF
\r
61 TList *fListQAV0; //! List with V0 kine cuts QA histograms
\r
62 TList *fListQAinfo; //! List with information about loaded splines etc.
\r
67 //qa object initialisation
\r
72 void SetupEMCALqa();
\r
73 void SetupHMPIDqa();
\r
74 void SetupTOFHMPIDqa();
\r
75 void SetupTPCTOFqa();
\r
80 void FillV0PIDlist();
\r
81 void ClearV0PIDlist();
\r
89 void FillTOFHMPIDqa();
\r
90 void FillTPCTOFqa();
\r
97 TVectorD* MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
\r
98 TVectorD* MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
\r
99 TVectorD* MakeArbitraryBinning(const char* bins);
\r
102 AliAnalysisTaskPIDqa(const AliAnalysisTaskPIDqa &other);
\r
103 AliAnalysisTaskPIDqa& operator=(const AliAnalysisTaskPIDqa &other);
\r
105 ClassDef(AliAnalysisTaskPIDqa,1) // Task to properly set the PID response functions of all detectors
\r