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