-#ifndef ALIANALYSISTASKPIDQA_H\r
-#define ALIANALYSISTASKPIDQA_H\r
-\r
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
- * See cxx source for full Copyright notice */\r
-\r
-/* $Id: AliAnalysisTaskPIDqa.h 43642 2010-09-17 15:50:04Z wiechula $ */\r
-// Author: Jens Wiechula, 24/02/2011\r
-\r
-//==============================================================================\r
-//\r
-//\r
-//\r
-//\r
-//==============================================================================\r
-\r
-#include <TVectorDfwd.h>\r
-\r
-#ifndef ALIANALYSISTASKSE_H\r
-#include "AliAnalysisTaskSE.h"\r
-#endif\r
-\r
-class AliPIDResponse;\r
-class TList;\r
-class AliVEvent;\r
-class AliESDv0KineCuts;\r
-\r
-class AliAnalysisTaskPIDqa : public AliAnalysisTaskSE {\r
- \r
- \r
-public:\r
- AliAnalysisTaskPIDqa();\r
- AliAnalysisTaskPIDqa(const char *name);\r
- virtual ~AliAnalysisTaskPIDqa();\r
-\r
- virtual void UserCreateOutputObjects();\r
- \r
- virtual void UserExec(Option_t */*option*/);\r
-\r
- \r
-private: \r
- AliPIDResponse *fPIDResponse; //! PID response Handler\r
- AliESDv0KineCuts *fV0cuts; //! ESD V0 cuts\r
-\r
- TObjArray *fV0electrons; //! array with pointer to identified particles from V0 decays (electrons)\r
- TObjArray *fV0pions; //! array with pointer to identified particles from V0 decays (pions)\r
- TObjArray *fV0kaons; //! array with pointer to identified particles from V0 decays (kaons)\r
- TObjArray *fV0protons; //! array with pointer to identified particles from V0 decays (ptotons)\r
-\r
- TList *fListQA; //! list with all QA histograms\r
- TList *fListQAits; //! List with ITS QA histograms\r
- TList *fListQAitsSA; //! List with ITS SA QA histograms\r
- TList *fListQAitsPureSA; //! List with ITS pure SA QA histograms\r
- TList *fListQAtpc; //! List with TPC QA histograms\r
- TList *fListQAtrd; //! List with TRD QA histograms\r
- TList *fListQAtof; //! List with TOF QA histograms\r
- TList *fListQAt0; //! List with T0 QA histograms\r
- TList *fListQAemcal; //! List with EMCAL QA histograms\r
- TList *fListQAhmpid; //! List with EMCAL QA histograms\r
- TList *fListQAtofhmpid; //! List with EMCAL QA histograms\r
- TList *fListQAtpctof; //! List with combined PID from TPC + TOF\r
- TList *fListQAV0; //! List with V0 kine cuts QA histograms\r
- TList *fListQAinfo; //! List with information about loaded splines etc.\r
-\r
- \r
- void ExecNewRun();\r
-\r
- //qa object initialisation\r
- void SetupITSqa();\r
- void SetupTPCqa();\r
- void SetupTRDqa();\r
- void SetupTOFqa();\r
- void SetupT0qa();\r
- void SetupEMCALqa();\r
- void SetupHMPIDqa();\r
- void SetupTOFHMPIDqa();\r
- void SetupTPCTOFqa();\r
- void SetupV0qa();\r
- void SetupQAinfo();\r
-\r
- //\r
- void FillV0PIDlist();\r
- void ClearV0PIDlist();\r
- //\r
- void FillITSqa();\r
- void FillTPCqa();\r
- void FillTRDqa();\r
- void FillTOFqa();\r
- void FillT0qa();\r
- void FillEMCALqa();\r
- void FillHMPIDqa();\r
- void FillTOFHMPIDqa();\r
- void FillTPCTOFqa();\r
- void FillQAinfo();\r
- \r
- //\r
- void SetRecoInfo();\r
- \r
- //helper functions\r
- TVectorD* MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);\r
- TVectorD* MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);\r
- TVectorD* MakeArbitraryBinning(const char* bins);\r
- \r
- \r
- AliAnalysisTaskPIDqa(const AliAnalysisTaskPIDqa &other);\r
- AliAnalysisTaskPIDqa& operator=(const AliAnalysisTaskPIDqa &other);\r
- \r
- ClassDef(AliAnalysisTaskPIDqa,2) // Task to properly set the PID response functions of all detectors\r
-};\r
-#endif\r
+#ifndef ALIANALYSISTASKPIDQA_H
+#define ALIANALYSISTASKPIDQA_H
+
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+/* $Id: AliAnalysisTaskPIDqa.h 43642 2010-09-17 15:50:04Z wiechula $ */
+// Author: Jens Wiechula, 24/02/2011
+
+//==============================================================================
+//
+//
+//
+//
+//==============================================================================
+
+#include <TVectorDfwd.h>
+
+#ifndef ALIANALYSISTASKSE_H
+#include "AliAnalysisTaskSE.h"
+#endif
+
+class AliPIDResponse;
+class TList;
+class AliVEvent;
+class AliESDv0KineCuts;
+
+class AliAnalysisTaskPIDqa : public AliAnalysisTaskSE {
+
+
+public:
+ AliAnalysisTaskPIDqa();
+ AliAnalysisTaskPIDqa(const char *name);
+ virtual ~AliAnalysisTaskPIDqa();
+
+ virtual void UserCreateOutputObjects();
+
+ virtual void UserExec(Option_t */*option*/);
+
+
+private:
+ AliPIDResponse *fPIDResponse; //! PID response Handler
+ AliESDv0KineCuts *fV0cuts; //! ESD V0 cuts
+
+ TObjArray *fV0electrons; //! array with pointer to identified particles from V0 decays (electrons)
+ TObjArray *fV0pions; //! array with pointer to identified particles from V0 decays (pions)
+ TObjArray *fV0kaons; //! array with pointer to identified particles from V0 decays (kaons)
+ TObjArray *fV0protons; //! array with pointer to identified particles from V0 decays (ptotons)
+
+ TList *fListQA; //! list with all QA histograms
+ TList *fListQAits; //! List with ITS QA histograms
+ TList *fListQAitsSA; //! List with ITS SA QA histograms
+ TList *fListQAitsPureSA; //! List with ITS pure SA QA histograms
+ TList *fListQAtpc; //! List with TPC QA histograms
+ TList *fListQAtrd; //! List with TRD QA histograms
+ TList *fListQAtof; //! List with TOF QA histograms
+ TList *fListQAt0; //! List with T0 QA histograms
+ TList *fListQAemcal; //! List with EMCAL QA histograms
+ TList *fListQAhmpid; //! List with EMCAL QA histograms
+ TList *fListQAtofhmpid; //! List with EMCAL QA histograms
+ TList *fListQAtpctof; //! List with combined PID from TPC + TOF
+ TList *fListQAV0; //! List with V0 kine cuts QA histograms
+ TList *fListQAinfo; //! List with information about loaded splines etc.
+
+
+ void ExecNewRun();
+
+ //qa object initialisation
+ void SetupITSqa();
+ void SetupTPCqa();
+ void SetupTRDqa();
+ void SetupTOFqa();
+ void SetupT0qa();
+ void SetupEMCALqa();
+ void SetupHMPIDqa();
+ void SetupTOFHMPIDqa();
+ void SetupTPCTOFqa();
+ void SetupV0qa();
+ void SetupQAinfo();
+
+ //
+ void FillV0PIDlist();
+ void ClearV0PIDlist();
+ //
+ void FillITSqa();
+ void FillTPCqa();
+ void FillTRDqa();
+ void FillTOFqa();
+ void FillT0qa();
+ void FillEMCALqa();
+ void FillHMPIDqa();
+ void FillTOFHMPIDqa();
+ void FillTPCTOFqa();
+ void FillQAinfo();
+
+ //
+ void SetRecoInfo();
+
+ //helper functions
+ TVectorD* MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
+ TVectorD* MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
+ TVectorD* MakeArbitraryBinning(const char* bins);
+
+
+ AliAnalysisTaskPIDqa(const AliAnalysisTaskPIDqa &other);
+ AliAnalysisTaskPIDqa& operator=(const AliAnalysisTaskPIDqa &other);
+
+ ClassDef(AliAnalysisTaskPIDqa,2) // Task to properly set the PID response functions of all detectors
+};
+#endif