]>
Commit | Line | Data |
---|---|---|
1990d7b6 | 1 | #ifndef ALIANALYSISTASKPIDQA_H |
2 | #define ALIANALYSISTASKPIDQA_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: AliAnalysisTaskPIDqa.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 | ||
23 | class AliPIDResponse; | |
24 | class TList; | |
25 | class AliVEvent; | |
26 | ||
27 | class AliAnalysisTaskPIDqa : public AliAnalysisTaskSE { | |
28 | ||
29 | ||
30 | public: | |
31 | AliAnalysisTaskPIDqa(); | |
32 | AliAnalysisTaskPIDqa(const char *name); | |
33 | virtual ~AliAnalysisTaskPIDqa(); | |
34 | ||
35 | virtual void UserCreateOutputObjects(); | |
36 | ||
37 | virtual void UserExec(Option_t */*option*/); | |
38 | ||
39 | ||
40 | private: | |
41 | AliPIDResponse *fPIDResponse; //! PID response Handler | |
42 | TList *fListQA; //! list with all QA objects | |
43 | TList *fListQAits; //! List with ITS QA objects | |
44 | TList *fListQAtpc; //! List with TPC QA objects | |
45 | TList *fListQAtrd; //! List with TRD QA objects | |
46 | TList *fListQAtof; //! List with TOF QA objects | |
47 | ||
48 | ||
49 | void ExecNewRun(); | |
50 | ||
51 | //qa object initialisation | |
52 | void SetupITSqa(); | |
53 | void SetupTPCqa(); | |
54 | void SetupTRDqa(); | |
55 | void SetupTOFqa(); | |
56 | ||
57 | // | |
58 | void FillITSqa(); | |
59 | void FillTPCqa(); | |
60 | void FillTOFqa(); | |
61 | ||
62 | // | |
63 | void SetRecoInfo(); | |
64 | ||
65 | //helper functions | |
66 | TVectorD* MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax); | |
67 | TVectorD* MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax); | |
68 | TVectorD* MakeArbitraryBinning(const char* bins); | |
69 | ||
70 | ||
71 | AliAnalysisTaskPIDqa(const AliAnalysisTaskPIDqa &other); | |
72 | AliAnalysisTaskPIDqa& operator=(const AliAnalysisTaskPIDqa &other); | |
73 | ||
74 | ClassDef(AliAnalysisTaskPIDqa,1) // Task to properly set the PID response functions of all detectors | |
75 | }; | |
76 | #endif |