]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALITPCQADATAMAKERREC_H | |
2 | #define ALITPCQADATAMAKERREC_H | |
3 | /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | /* $Id: $ */ | |
8 | ||
9 | /* | |
10 | Based on AliPHOSQADataMaker | |
11 | Produces the data needed to calculate the quality assurance. | |
12 | All data must be mergeable objects. | |
13 | P. Christiansen, Lund, January 2008 | |
14 | */ | |
15 | ||
16 | ||
17 | // --- ROOT system --- | |
18 | #include <TH1.h> | |
19 | ||
20 | // --- Standard library --- | |
21 | ||
22 | // --- AliRoot header files --- | |
23 | #include <AliQADataMakerRec.h> | |
24 | #include <AliRawReader.h> | |
25 | #include <AliTPCAltroMapping.h> | |
26 | ||
27 | #include <AliTPCdataQA.h> | |
28 | ||
29 | class AliTPCQADataMakerRec: public AliQADataMakerRec { | |
30 | ||
31 | public: | |
32 | AliTPCQADataMakerRec() ; // ctor | |
33 | AliTPCQADataMakerRec(const AliTPCQADataMakerRec& qadm) ; | |
34 | AliTPCQADataMakerRec& operator = (const AliTPCQADataMakerRec& qadm) ; | |
35 | virtual ~AliTPCQADataMakerRec(); | |
36 | ||
37 | private: | |
38 | virtual void StartOfDetectorCycle() {}; // empty | |
39 | virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t, TObjArray* list) ; | |
40 | ||
41 | // ESD QA | |
42 | virtual void InitESDs() ; | |
43 | virtual void MakeESDs(AliESDEvent *esd) ; | |
44 | ||
45 | // Raw QA | |
46 | virtual void InitRaws(); | |
47 | virtual void MakeRaws(AliRawReader* rawReader); | |
48 | ||
49 | // RecPoints QA | |
50 | virtual void InitRecPoints(); | |
51 | virtual void MakeRecPoints(TTree *recTree); | |
52 | ||
53 | virtual void LoadMaps(); | |
54 | ||
55 | ||
56 | AliTPCAltroMapping *fMapping[6]; //! Pointers to ALTRO mapping | |
57 | AliTPCdataQA* fTPCdataQA;//! TPC calibration object for making raw data QA | |
58 | ||
59 | TH1F* fHistESDclusters; //! Clusters per ESD track | |
60 | TH1F* fHistESDratio; //! Ratio of clusters to findables | |
61 | TH1F* fHistESDpt; //! Pt spectrum | |
62 | ||
63 | TH1F* fHistRawsOccupancy; //! Pad occupancy (1 entry per pad) | |
64 | TH1F* fHistRawsOccupancyVsSector; //! Pad occupancy vs sector | |
65 | TH1F* fHistRawsNClustersPerEventVsSector; //! Nclusters vs sector | |
66 | TH1F* fHistRawsQVsSector; //! <Q> vs sector | |
67 | TH1F* fHistRawsQmaxVsSector; //! <Qmax> vs sector | |
68 | ||
69 | TH1F* fHistRecPointsQmaxShort; //! Qmax (short pads) | |
70 | TH1F* fHistRecPointsQmaxMedium;//! Qmax (medium pads) | |
71 | TH1F* fHistRecPointsQmaxLong; //! Qmax (long pads) | |
72 | TH1F* fHistRecPointsQShort; //! Q (short pads) | |
73 | TH1F* fHistRecPointsQMedium; //! Q (medium pads) | |
74 | TH1F* fHistRecPointsQLong; //! Q (long pads) | |
75 | TH1F* fHistRecPointsRow; //! Row distribution | |
76 | ||
77 | ClassDef(AliTPCQADataMakerRec,1) // TPC Rec Quality Assurance Data Maker | |
78 | }; | |
79 | ||
80 | #endif // ALITPCQADATAMAKERREC_H |