File indexing completed on 2024-09-07 04:36:01
0001 import FWCore.ParameterSet.Config as cms
0002
0003 eventTypes = [
0004 "UNKNOWN",
0005 "COSMIC",
0006 "BEAMH4",
0007 "BEAMH2",
0008 "MTCC",
0009 "LASER_STD",
0010 "LASER_POWER_SCAN",
0011 "LASER_DELAY_SCAN",
0012 "TESTPULSE_SCAN_MEM",
0013 "TESTPULSE_MGPA",
0014 "PEDESTAL_STD",
0015 "PEDESTAL_OFFSET_SCAN",
0016 "PEDESTAL_25NS_SCAN",
0017 "LED_STD",
0018 "PHYSICS_GLOBAL",
0019 "COSMICS_GLOBAL",
0020 "HALO_GLOBAL",
0021 "LASER_GAP",
0022 "TESTPULSE_GAP",
0023 "PEDESTAL_GAP",
0024 "LED_GAP",
0025 "PHYSICS_LOCAL",
0026 "COSMICS_LOCAL",
0027 "HALO_LOCAL",
0028 "CALIB_LOCAL"
0029 ]
0030
0031 statuses = [
0032 "ENABLED",
0033 "DISABLED",
0034 "TIMEOUT",
0035 "HEADERERROR",
0036 "CHANNELID",
0037 "LINKERROR",
0038 "BLOCKSIZE",
0039 "SUPPRESSED",
0040 "FORCEDFULLSUPP",
0041 "L1ADESYNC",
0042 "BXDESYNC",
0043 "L1ABXDESYNC",
0044 "FIFOFULL",
0045 "HPARITY",
0046 "VPARITY",
0047 "FORCEDZS"
0048 ]
0049
0050 ecalRawDataTask = cms.untracked.PSet(
0051 MEs = cms.untracked.PSet(
0052 TrendBXTCC = cms.untracked.PSet(
0053 path = cms.untracked.string('Ecal/Trends/RawDataTask number of %(prefix)sRDT bunch crossing TCC errors'),
0054 kind = cms.untracked.string('TH1F'),
0055 otype = cms.untracked.string('Ecal2P'),
0056 btype = cms.untracked.string('Trend'),
0057 description = cms.untracked.string('Trend of the number of bunch crossing value mismatches between DCC and TCC.')
0058 ),
0059 TrendL1ATCC = cms.untracked.PSet(
0060 path = cms.untracked.string('Ecal/Trends/RawDataTask number of %(prefix)sRDT L1A TCC errors'),
0061 kind = cms.untracked.string('TH1F'),
0062 otype = cms.untracked.string('Ecal2P'),
0063 btype = cms.untracked.string('Trend'),
0064 description = cms.untracked.string('Trend of the number of L1A value mismatches between DCC and TCC.')
0065 ),
0066 TrendBXSRP = cms.untracked.PSet(
0067 path = cms.untracked.string('Ecal/Trends/RawDataTask number of %(prefix)sRDT bunch crossing SRP errors'),
0068 kind = cms.untracked.string('TH1F'),
0069 otype = cms.untracked.string('Ecal2P'),
0070 btype = cms.untracked.string('Trend'),
0071 description = cms.untracked.string('Trend of the number of bunch crossing value mismatches between DCC and SRP.')
0072 ),
0073 TrendL1ASRP = cms.untracked.PSet(
0074 path = cms.untracked.string('Ecal/Trends/RawDataTask number of %(prefix)sRDT L1A SRP errors'),
0075 kind = cms.untracked.string('TH1F'),
0076 otype = cms.untracked.string('Ecal2P'),
0077 btype = cms.untracked.string('Trend'),
0078 description = cms.untracked.string('Trend of the number of L1A value mismatches between DCC and SRP.')
0079 ),
0080 BXSRP = cms.untracked.PSet(
0081 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing SRP errors'),
0082 kind = cms.untracked.string('TH1F'),
0083 otype = cms.untracked.string('Ecal2P'),
0084 btype = cms.untracked.string('DCC'),
0085 description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and SRP.')
0086 ),
0087 CRC = cms.untracked.PSet(
0088 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT CRC errors'),
0089 kind = cms.untracked.string('TH1F'),
0090 otype = cms.untracked.string('Ecal2P'),
0091 btype = cms.untracked.string('DCC'),
0092 description = cms.untracked.string('Number of CRC errors.')
0093 ),
0094 BXFE = cms.untracked.PSet(
0095 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing FE errors'),
0096 kind = cms.untracked.string('TH2F'),
0097 yaxis = cms.untracked.PSet(
0098 high = cms.untracked.double(68.0),
0099 nbins = cms.untracked.int32(68),
0100 low = cms.untracked.double(0.0),
0101 title = cms.untracked.string('iFE')
0102 ),
0103 otype = cms.untracked.string('Ecal2P'),
0104 btype = cms.untracked.string('DCC'),
0105 description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
0106 ),
0107 BXFEDiff = cms.untracked.PSet(
0108 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing FE-DCC'),
0109 kind = cms.untracked.string('TH2F'),
0110 yaxis = cms.untracked.PSet(
0111 high = cms.untracked.double(100.),
0112 nbins = cms.untracked.int32(200),
0113 low = cms.untracked.double(-100.)
0114 ),
0115 otype = cms.untracked.string('Ecal2P'),
0116 btype = cms.untracked.string('DCC'),
0117 description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
0118 ),
0119 BXFEInvalid = cms.untracked.PSet(
0120 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing invalid value'),
0121 kind = cms.untracked.string('TH2F'),
0122 yaxis = cms.untracked.PSet(
0123 high = cms.untracked.double(69.0),
0124 nbins = cms.untracked.int32(69),
0125 low = cms.untracked.double(0.0),
0126 title = cms.untracked.string('iFE')
0127 ),
0128 otype = cms.untracked.string('Ecal2P'),
0129 btype = cms.untracked.string('DCC'),
0130 description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
0131 ),
0132 L1ASRP = cms.untracked.PSet(
0133 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A SRP errors'),
0134 kind = cms.untracked.string('TH1F'),
0135 otype = cms.untracked.string('Ecal2P'),
0136 btype = cms.untracked.string('DCC'),
0137 description = cms.untracked.string('Number of L1A value mismatches between DCC and SRP.')
0138 ),
0139 BXTCC = cms.untracked.PSet(
0140 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing TCC errors'),
0141 kind = cms.untracked.string('TH1F'),
0142 otype = cms.untracked.string('Ecal2P'),
0143 btype = cms.untracked.string('DCC'),
0144 description = cms.untracked.string('Number of bunch corssing value mismatches between DCC and TCC.')
0145 ),
0146 DesyncTotal = cms.untracked.PSet(
0147 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT total FE synchronization errors'),
0148 kind = cms.untracked.string('TH1F'),
0149 otype = cms.untracked.string('Ecal2P'),
0150 btype = cms.untracked.string('DCC'),
0151 description = cms.untracked.string('Total number of synchronization errors (L1A & BX mismatches) between DCC and FE.')
0152 ),
0153 RunNumber = cms.untracked.PSet(
0154 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT run number errors'),
0155 kind = cms.untracked.string('TH1F'),
0156 otype = cms.untracked.string('Ecal2P'),
0157 btype = cms.untracked.string('DCC'),
0158 description = cms.untracked.string('Number of discrepancies between run numbers recorded in the DCC and that in CMS Event.')
0159 ),
0160 Orbit = cms.untracked.PSet(
0161 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT orbit number errors'),
0162 kind = cms.untracked.string('TH1F'),
0163 otype = cms.untracked.string('Ecal2P'),
0164 btype = cms.untracked.string('DCC'),
0165 description = cms.untracked.string('Number of discrepancies between LHC orbit numbers recorded in the DCC and that in CMS Event.')
0166 ),
0167 OrbitDiff = cms.untracked.PSet(
0168 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT orbit number DCC-GT'),
0169 kind = cms.untracked.string('TH2F'),
0170 otype = cms.untracked.string('Ecal2P'),
0171 yaxis = cms.untracked.PSet(
0172 high = cms.untracked.double(100.),
0173 nbins = cms.untracked.int32(200),
0174 low = cms.untracked.double(-100.)
0175 ),
0176 btype = cms.untracked.string('DCC'),
0177 description = cms.untracked.string('Number of discrepancies between LHC orbit numbers recorded in the DCC and that in CMS Event.')
0178 ),
0179 BXDCC = cms.untracked.PSet(
0180 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing DCC errors'),
0181 kind = cms.untracked.string('TH1F'),
0182 otype = cms.untracked.string('Ecal2P'),
0183 btype = cms.untracked.string('DCC'),
0184 description = cms.untracked.string('Number of discrepancies between bunch crossing numbers recorded in the DCC and that in CMS Event.')
0185 ),
0186 BXDCCDiff = cms.untracked.PSet(
0187 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing DCC-GT'),
0188 kind = cms.untracked.string('TH2F'),
0189 otype = cms.untracked.string('Ecal2P'),
0190 yaxis = cms.untracked.PSet(
0191 high = cms.untracked.double(100.),
0192 nbins = cms.untracked.int32(200),
0193 low = cms.untracked.double(-100.)
0194 ),
0195 btype = cms.untracked.string('DCC'),
0196 description = cms.untracked.string('Number of discrepancies between bunch crossing numbers recorded in the DCC and that in CMS Event.')
0197 ),
0198 DesyncByLumi = cms.untracked.PSet(
0199 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT FE synchronization errors by lumi'),
0200 kind = cms.untracked.string('TH1F'),
0201 otype = cms.untracked.string('Ecal2P'),
0202 btype = cms.untracked.string('DCC'),
0203 perLumi = cms.untracked.bool(True),
0204 description = cms.untracked.string('Total number of synchronization errors (L1A & BX mismatches) between DCC and FE in this lumi section.')
0205 ),
0206 L1ATCC = cms.untracked.PSet(
0207 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A TCC errors'),
0208 kind = cms.untracked.string('TH1F'),
0209 otype = cms.untracked.string('Ecal2P'),
0210 btype = cms.untracked.string('DCC'),
0211 description = cms.untracked.string('Number of L1A value mismatches between DCC and TCC.')
0212 ),
0213 FEByLumi = cms.untracked.PSet(
0214 path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT weighted frontend errors by lumi'),
0215 kind = cms.untracked.string('TH1F'),
0216 otype = cms.untracked.string('Ecal2P'),
0217 btype = cms.untracked.string('DCC'),
0218 perLumi = cms.untracked.bool(True),
0219 description = cms.untracked.string('Total number of front-ends in error status in this lumi section.')
0220 ),
0221 TrendNSyncErrors = cms.untracked.PSet(
0222 path = cms.untracked.string('Ecal/Trends/RawDataTask accumulated number of sync errors'),
0223 kind = cms.untracked.string('TH1F'),
0224 cumulative = cms.untracked.bool(True),
0225 online = cms.untracked.bool(True),
0226 otype = cms.untracked.string('Ecal'),
0227 btype = cms.untracked.string('Trend'),
0228 description = cms.untracked.string('Accumulated trend of the number of synchronization errors (L1A & BX mismatches) between DCC and FE in this run.')
0229 ),
0230 EventTypePostCalib = cms.untracked.PSet(
0231 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type post calibration BX'),
0232 kind = cms.untracked.string('TH1F'),
0233 otype = cms.untracked.string('Ecal2P'),
0234 xaxis = cms.untracked.PSet(
0235 high = cms.untracked.double(24.5),
0236 nbins = cms.untracked.int32(25),
0237 low = cms.untracked.double(-0.5),
0238 labels = cms.untracked.vstring(eventTypes)
0239 ),
0240 btype = cms.untracked.string('User'),
0241 description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing > 3490.')
0242 ),
0243 L1ADCC = cms.untracked.PSet(
0244 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A DCC errors'),
0245 kind = cms.untracked.string('TH1F'),
0246 otype = cms.untracked.string('Ecal2P'),
0247 btype = cms.untracked.string('DCC'),
0248 description = cms.untracked.string('Number of discrepancies between L1A recorded in the DCC and that in CMS Event.')
0249 ),
0250 EventTypePreCalib = cms.untracked.PSet(
0251 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type pre calibration BX'),
0252 kind = cms.untracked.string('TH1F'),
0253 otype = cms.untracked.string('Ecal2P'),
0254 xaxis = cms.untracked.PSet(
0255 high = cms.untracked.double(24.5),
0256 nbins = cms.untracked.int32(25),
0257 low = cms.untracked.double(-0.5),
0258 labels = cms.untracked.vstring(eventTypes)
0259 ),
0260 btype = cms.untracked.string('User'),
0261 description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing < 3490')
0262 ),
0263 EventTypeCalib = cms.untracked.PSet(
0264 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type calibration BX'),
0265 kind = cms.untracked.string('TH1F'),
0266 otype = cms.untracked.string('Ecal2P'),
0267 xaxis = cms.untracked.PSet(
0268 high = cms.untracked.double(24.5),
0269 nbins = cms.untracked.int32(25),
0270 low = cms.untracked.double(-0.5),
0271 labels = cms.untracked.vstring(eventTypes)
0272 ),
0273 btype = cms.untracked.string('User'),
0274 description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing == 3490. This plot is filled using data from the physics data stream during physics runs. It is normal to have very few entries in these cases.')
0275 ),
0276 L1AFE = cms.untracked.PSet(
0277 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A FE errors'),
0278 kind = cms.untracked.string('TH2F'),
0279 yaxis = cms.untracked.PSet(
0280 high = cms.untracked.double(68.0),
0281 nbins = cms.untracked.int32(68),
0282 low = cms.untracked.double(0.0),
0283 title = cms.untracked.string('iFE')
0284 ),
0285 otype = cms.untracked.string('Ecal2P'),
0286 btype = cms.untracked.string('DCC'),
0287 description = cms.untracked.string('Number of L1A value mismatches between DCC and FE.')
0288 ),
0289 TriggerType = cms.untracked.PSet(
0290 path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT trigger type errors'),
0291 kind = cms.untracked.string('TH1F'),
0292 otype = cms.untracked.string('Ecal2P'),
0293 btype = cms.untracked.string('DCC'),
0294 description = cms.untracked.string('Number of discrepancies between trigger type recorded in the DCC and that in CMS Event.')
0295 ),
0296 FEStatus = cms.untracked.PSet(
0297 path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT front-end status bits %(sm)s'),
0298 kind = cms.untracked.string('TH2F'),
0299 yaxis = cms.untracked.PSet(
0300 high = cms.untracked.double(15.5),
0301 nbins = cms.untracked.int32(16),
0302 low = cms.untracked.double(-0.5),
0303 labels = cms.untracked.vstring(statuses)
0304 ),
0305 otype = cms.untracked.string('SM'),
0306 btype = cms.untracked.string('SuperCrystal'),
0307 description = cms.untracked.string('FE status counter.')
0308 ),
0309 FEStatusErrMapByLumi = cms.untracked.PSet(
0310 path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT%(suffix)s front-end status error map by lumi'),
0311 kind = cms.untracked.string('TH2F'),
0312 otype = cms.untracked.string('Ecal3P'),
0313 btype = cms.untracked.string('SuperCrystal'),
0314 perLumi = cms.untracked.bool(True),
0315 description = cms.untracked.string('FE status error occupancy map for this lumisection. Nominal FE status flags such as ENABLED, SUPPRESSED, FORCEDFULLSUPP, FIFOFULL, and FORCEDZS are NOT included.')
0316 ),
0317 FEStatusMEM = cms.untracked.PSet(
0318 path = cms.untracked.string('Ecal/MEM/StatusFlagsTask MEM front-end status bits'),
0319 kind = cms.untracked.string('TH2F'),
0320 xaxis = cms.untracked.PSet(
0321 high = cms.untracked.double(55),
0322 nbins = cms.untracked.int32(108),
0323 low = cms.untracked.double(1),
0324 ),
0325 yaxis = cms.untracked.PSet(
0326 high = cms.untracked.double(15.5),
0327 nbins = cms.untracked.int32(16),
0328 low = cms.untracked.double(-0.5),
0329 labels = cms.untracked.vstring(statuses)
0330 ),
0331 otype = cms.untracked.string('Ecal'),
0332 btype = cms.untracked.string('User'),
0333 description = cms.untracked.string('Front-end (FE) status counter for MEM boxes. Each x-axis tick corresponds to one SuperModule (SM) as indexed by DCC Id and contains two bins corresponding to the MEM boxes (DCC tower Ids = 69, 70). Nominal status is SUPPRESSED. EE+/-2,3,7,8 are not connected to MEM boxes and instead appear with status DISABLED. Mapping from DCC Id to SM name appears below.<br/><pre>01:EE-07 19:EB-10 37:EB+10<br/>02:EE-08 20:EB-11 38:EB+11<br/>03:EE-09 21:EB-12 39:EB+12<br/>04:EE-01 22:EB-13 40:EB+13<br/>05:EE-02 23:EB-14 41:EB+14<br/>06:EE-03 24:EB-15 42:EB+15<br/>07:EE-04 25:EB-16 43:EB+16<br/>08:EE-05 26:EB-17 44:EB+17<br/>09:EE-06 27:EB-18 45:EB+18<br/>10:EB-01 28:EB+01 46:EE+07<br/>11:EB-02 29:EB+02 47:EE+08<br/>12:EB-03 30:EB+03 48:EE+09<br/>13:EB-04 31:EB+04 49:EE+01<br/>14:EB-05 32:EB+05 50:EE+02<br/>15:EB-06 33:EB+06 51:EE+03<br/>16:EB-07 34:EB+07 52:EE+04<br/>17:EB-08 35:EB+08 53:EE+05<br/>18:EB-09 36:EB+09 54:EE+06</pre>')
0334 )
0335 )
0336 )