Moving of the QA checker from rec to base, as it is used also during simulation.
[u/mrichter/AliRoot.git] / MUON / AliMUONQAIndices.h
CommitLineData
6482f70b 1#ifndef ALIMUONQAINDICES_H
2#define ALIMUONQAINDICES_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$
8
9///
10/// Definition of enums needed by the MUON QA data makers and checkers (both
11/// tracker and trigger)
12///
13/// \author Laurent Aphecetche and Diego Stocco, Subatech
14
15namespace AliMUONQAIndices
16{
17 /// Raw histograms indices
18 enum ERaw {
19 kTrackerData = 3, ///< Accumulated data
20 kTrackerBusPatchOccupancy = 4, ///< Bus patch occupancies
21 kTrackerBusPatchNofPads = 5, ///< Number of pads per bus patch
22 kTrackerBusPatchNofManus = 6, ///< Number of manus per bus patch
23 kTrackerBusPatchConfig = 7, ///< Configuration of the tracker
24 kTriggerScalersTime = 22, ///< Trigger scalers acquisition time index
25 kTriggerScalers = 23, ///< Trigger scalers histogram per plane index
26 kTriggerScalersDisplay = 31, ///< Trigger scalers display histogram per plane index
27 kTriggerCalibSummary = 40, ///< Number of responding strips/boards and noisy strips
28 kTriggerCalibSummaryNorm = 41, ///< Percentage of responding strips/boards and noisy strips
29 kTriggerErrorLocalXPos = 50, ///< Local board: Number of XPos Error vs Local Board Id
30 kTriggerErrorLocalYPos = 51, ///< Local board: Number of YPos Error vs Local Board Id
31 kTriggerErrorLocalDev = 52, ///< Local board: Number of Deviation Error vs Local Board
32 kTriggerErrorLocalTriggerDec = 53, ///< Local board: Number of Trigger Decision (All Pt) Error vs Local Board Id
33 kTriggerErrorLocalLPtLSB = 54, ///< Local board: Number of LSB Low Pt Error vs Local Board Id
34 kTriggerErrorLocalLPtMSB = 55, ///< Local board: Number of MSB Low Pt Error vs Local Board Id
35 kTriggerErrorLocalHPtLSB = 56, ///< Local board: Number of LSB High Pt Error vs Local Board Id
36 kTriggerErrorLocalHPtMSB = 57, ///< Local board: Number of MSB High Pt Error vs Local Board Id
37 kTriggerErrorLocalTrigY = 58, ///< Local board: Number of TrigY Error vs Local Board Id
38 kTriggerErrorLocal2RegionalLPtLSB = 59, ///< Local to Regional: Number of LPt LSB error vs Local Board Id
39 kTriggerErrorLocal2RegionalLPtMSB = 60, ///< Local to Regional: Number of LPt MSB error vs Local Board Id
40 kTriggerErrorLocal2RegionalHPtLSB = 61, ///< Local to Regional: Number of HPt LSB error vs Local Board Id
41 kTriggerErrorLocal2RegionalHPtMSB = 62, ///< Local to Regional: Number of HPt MSB error vs Local Board Id
42 kTriggerErrorOutGlobalFromInGlobal = 63, ///< Global board: Number of error vs output bit
43 kTriggerErrorSummary = 64, ///< Number of errors for each trigger decision level (Local, Reg->Local, Reg, Reg->Glob, Global)
44 kTriggerErrorSummaryNorm = 65, ///< Percentage of errors for each trigger decision level
45 kTriggerErrorLocalYCopy = 67, ///< Local board: Number of Y Copy Error vs Local Board Id
46 kTriggerErrorLocalYCopyTest = 68, ///< Local Board: Number of Y copy error tests (for normalization)
47 kTriggerErrorLocalYCopyNorm = 69, ///< Local Board: Number of Y Copy Error vs Local Board Id Normalized to the number of tests
48 kTriggeredBoards = 70, ///< Triggered boards histogram index
49 kTriggerBoardsDisplay = 71, ///< Triggered boards display histogram index
50 kTriggerReadOutErrors = 80, ///< Number of read-out errors
51 kTriggerReadOutErrorsNorm = 81, ///< Percentage of read-out errors
52 kTriggerGlobalOutput = 90, ///< Number of Global outputs and Global algo errors
53 kTriggerGlobalOutputNorm = 91, ///< Percentage of Global outputs and Global algo errors
54 kTriggerRawNAnalyzedEvents= 100 ///< Number of analyzed events per event specie
55
56 };
57
58 /// Rec points histograms indices
59 enum ERecPoints {
60 kTrackerNumberOfClustersPerChamber = 100, ///< Tracker: number of clusters per chamber
61 kTrackerClusterMultiplicityPerChMean = 101, ///< cluster size per Ch: mean
62 kTrackerClusterMultiplicityPerChSigma = 102, ///< cluster size per Ch: dispersion
63 kTrackerClusterChargePerChMean = 103, ///< cluster charge per Ch: mean
64 kTrackerClusterChargePerChSigma = 104, ///< cluster charge per Ch: dispersion
65
66 kTrackerRecPoints = 105, ///< Tracker : tracker data of clusters (all and mono-cathode ones)
67
68 kTrackerClusterMultiplicityPerChamber = 200, ///< Tracker: cluster multiplicity per chamber
69 kTrackerClusterChargePerChamber = 300, ///< Tracker: cluster charge per chamber
70 kTrackerClusterHitMapPerChamber = 400, ///< Tracker: cluster position distribution per chamber
71
72 kTrackerNumberOfClustersPerDE = 1000, ///< Tracker : number of clusters per DE
73 kTrackerClusterMultiplicityPerDEMean = 1001, ///< cluster size per DE: mean
74 kTrackerClusterChargePerDEMean = 1002, ///< cluster charge per DE: mean
75
76 kTrackerClusterMultiplicityPerDE = 3000, ///< Tracker : cluster multiplicity per DE
77 kTrackerClusterChargePerDE = 5000, ///< Tracker : cluster charge per DE
78
79 kTriggerNAnalyzedEvents = 0, ///< Number of analyzed events per event specie
80 kTriggerRPCtrips = 1, ///< Trips in trigger chambers
81 kTriggerRPChv = 2 ///< Trigger chamber HV index
82
83 };
84
85 /// ESD histograms indices
86 enum EESD {
87 kESDnTracks = 0, ///< number of tracks
88 kESDMatchTrig = 1, ///< number of tracks matched with trigger
89 kESDMomentum = 2, ///< P distribution
90 kESDPt = 3, ///< Pt distribution
91 kESDRapidity = 4, ///< rapidity distribution
92 kESDChi2 = 5, ///< normalized chi2 distribution
93 kESDProbChi2 = 6, ///< distribution of probability of chi2
94
95 kESDClusterHitMap = 7, ///< cluster position distribution in chamber i
96 kESDnClustersPerTrack = 17, ///< number of clusters per track
97 kESDnClustersPerCh = 18, ///< number of clusters per chamber per track
98 kESDnClustersPerDE = 19, ///< number of clusters per DE per track
99 kESDClusterChargeInCh = 20, ///< cluster charge distribution in chamber i
100 kESDClusterChargePerChMean = 30, ///< cluster charge per Ch: mean
101 kESDClusterChargePerChSigma = 31, ///< cluster charge per Ch: dispersion
102 kESDClusterChargePerDE = 32, ///< cluster charge per DE: mean
103 kESDClusterSizeInCh = 33, ///< cluster size distribution in chamber i
104 kESDClusterSizePerChMean = 43, ///< cluster size per Ch: mean
105 kESDClusterSizePerChSigma = 44, ///< cluster size per Ch: dispersion
106 kESDClusterSizePerDE = 45, ///< cluster size per DE: mean
107
108 kESDResidualXInCh = 46, ///< cluster-track residual-X distribution in chamber i
109 kESDResidualYInCh = 56, ///< cluster-track residual-Y distribution in chamber i
110 kESDResidualXPerChMean = 66, ///< cluster-track residual-X per Ch: mean
111 kESDResidualYPerChMean = 67, ///< cluster-track residual-Y per Ch: mean
112 kESDResidualXPerChSigma = 68, ///< cluster-track residual-X per Ch: dispersion
113 kESDResidualYPerChSigma = 69, ///< cluster-track residual-Y per Ch: dispersion
114 kESDResidualXPerDEMean = 70, ///< cluster-track residual-X per DE: mean
115 kESDResidualYPerDEMean = 71, ///< cluster-track residual-Y per DE: mean
116 kESDResidualXPerDESigma = 72, ///< cluster-track residual-X per DE: dispersion
117 kESDResidualYPerDESigma = 73, ///< cluster-track residual-Y per DE: dispersion
118 kESDLocalChi2XInCh = 74, ///< local chi2-X distribution in chamber i
119 kESDLocalChi2YInCh = 84, ///< local chi2-Y distribution in chamber i
120 kESDLocalChi2XPerChMean = 94, ///< local chi2-X per Ch: mean
121 kESDLocalChi2YPerChMean = 95, ///< local chi2-Y per Ch: mean
122 kESDLocalChi2XPerDEMean = 96, ///< local chi2-X per DE: mean
123 kESDLocalChi2YPerDEMean = 97, ///< local chi2-Y per DE: mean
124 kESDLocalChi2InCh = 98, ///< local chi2-X distribution in chamber i
125 kESDLocalChi2PerChMean = 108, ///< local chi2 per Ch: mean
126 kESDLocalChi2PerDEMean = 109, ///< local chi2 per DE: mean
127
128 kESDThetaX = 110, ///< thetaX distribution
129 kESDThetaY = 111, ///< thetaY distribution
130
131 kESDnTotClustersPerCh = 1000, ///< total number of associated clusters per chamber
132 kESDnTotClustersPerDE = 1001, ///< total number of associated clusters per DE
133 kESDnTotFullClustersPerDE = 1002, ///< total number of associated clusters containing pad info per DE
134 kESDSumClusterChargePerDE = 1003, ///< sum of cluster charge per DE
135 kESDSumClusterSizePerDE = 1004, ///< sum of cluster size per DE
136 kESDSumResidualXPerDE = 1005, ///< sum of cluster-track residual-X per DE
137 kESDSumResidualYPerDE = 1006, ///< sum of cluster-track residual-Y per DE
138 kESDSumResidualX2PerDE = 1007, ///< sum of cluster-track residual-X**2 per DE
139 kESDSumResidualY2PerDE = 1008, ///< sum of cluster-track residual-Y**2 per DE
140 kESDSumLocalChi2XPerDE = 1009, ///< sum of local chi2-X per DE
141 kESDSumLocalChi2YPerDE = 1010, ///< sum of local chi2-Y per DE
142 kESDSumLocalChi2PerDE = 1011 ///< sum of local chi2 per DE
143 };
144
145 // Bins for summary histos
146 enum {
147 kTriggerRespStrips, ///< Bin for % of responding trigger strips
148 kTriggerRespLocal, ///< Bin for % of responding trigger local boards
149 kTriggerRespRegional, ///< Bin for % of responding trigger regional boards
150 kTriggerRespGlobal, ///< Bin for % of responding trigger global boards
151 kTriggerNoisyStrips, ///< Bin for % of noisy trigger strips
152 kNtrigCalibSummaryBins ///< Total number of bins for trigger calibration summary
153 };
154
155 // Bins for algorithm error histos
156 enum {
157 kAlgoLocalX, ///< Bin for % of local board X pos errors
158 kAlgoLocalY, ///< Bin for % of local board Y pos errors
159 kAlgoLocalLUT, ///< Bin for % of local board deviation errors
160 kAlgoLocalYCopy, ///< Bin for % of local board Y copy errors
161 kAlgoLocalToRegional, ///< Bin for % of local to regional errors
162 kAlgoRegional, ///< Bin for % of regional board errors
163 kAlgoRegionalToGlobal, ///< Bin for % of regional to global errors
164 kAlgoGlobalFromGlobal, ///< Bin for % of global from global board errors
165 kAlgoGlobalFromLocal, ///< Bin for % of global from local board errors
166 kAlgoGlobalFromRegional, ///< Bin for % of global from regional board errors
167 kNtrigAlgoErrorBins ///< Total number of bins for trigger error summary
168 };
169
170 enum {
171 kLocalStructError, ///< Bin for % of errors in local struct
172 kRegionalStructError, ///< Bin for % of errors in regional struct
173 kGlobalStructError, ///< Bin for % of errors in global struct
174 kDarcStructError, ///< Bin for % of errors in darc struct
175 kNtrigStructErrorBins ///< Total number of bins for struct error summary
176 };
177
178
179}
180
181#endif