Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:00

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     "FIFOFULL",
0041     "L1ADESYNC",
0042     "BXDESYNC",
0043     "L1ABXDESYNC",
0044     "FIFOFULLL1ADESYNC",
0045     "HPARITY",
0046     "VPARITY",
0047     "FORCEDZS"
0048 ]
0049 
0050 ecalRawDataTask = cms.untracked.PSet(
0051     MEs = cms.untracked.PSet(
0052         BXSRP = cms.untracked.PSet(
0053             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing SRP errors'),
0054             kind = cms.untracked.string('TH1F'),
0055             otype = cms.untracked.string('Ecal2P'),
0056             btype = cms.untracked.string('DCC'),
0057             description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and SRP.')
0058         ),
0059         CRC = cms.untracked.PSet(
0060             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT CRC errors'),
0061             kind = cms.untracked.string('TH1F'),
0062             otype = cms.untracked.string('Ecal2P'),
0063             btype = cms.untracked.string('DCC'),
0064             description = cms.untracked.string('Number of CRC errors.')
0065         ),
0066         BXFE = cms.untracked.PSet(
0067             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing FE errors'),
0068             kind = cms.untracked.string('TH2F'),
0069             yaxis = cms.untracked.PSet(
0070                 high = cms.untracked.double(68.0),
0071                 nbins = cms.untracked.int32(68),
0072                 low = cms.untracked.double(0.0),
0073                 title = cms.untracked.string('iFE')
0074             ),
0075             otype = cms.untracked.string('Ecal2P'),
0076             btype = cms.untracked.string('DCC'),
0077             description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
0078         ),
0079         BXFEDiff = cms.untracked.PSet(
0080             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing FE-DCC'),
0081             kind = cms.untracked.string('TH2F'),
0082             yaxis = cms.untracked.PSet(
0083                 high = cms.untracked.double(100.),
0084                 nbins = cms.untracked.int32(200),
0085                 low = cms.untracked.double(-100.)
0086             ),
0087             otype = cms.untracked.string('Ecal2P'),
0088             btype = cms.untracked.string('DCC'),
0089             description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
0090         ),
0091         BXFEInvalid = cms.untracked.PSet(
0092             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing invalid value'),
0093             kind = cms.untracked.string('TH2F'),
0094             yaxis = cms.untracked.PSet(
0095                 high = cms.untracked.double(69.0),
0096                 nbins = cms.untracked.int32(69),
0097                 low = cms.untracked.double(0.0),
0098                 title = cms.untracked.string('iFE')
0099             ),
0100             otype = cms.untracked.string('Ecal2P'),
0101             btype = cms.untracked.string('DCC'),
0102             description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
0103         ),
0104         L1ASRP = cms.untracked.PSet(
0105             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A SRP errors'),
0106             kind = cms.untracked.string('TH1F'),
0107             otype = cms.untracked.string('Ecal2P'),
0108             btype = cms.untracked.string('DCC'),
0109             description = cms.untracked.string('Number of L1A value mismatches between DCC and SRP.')
0110         ),
0111         BXTCC = cms.untracked.PSet(
0112             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing TCC errors'),
0113             kind = cms.untracked.string('TH1F'),
0114             otype = cms.untracked.string('Ecal2P'),
0115             btype = cms.untracked.string('DCC'),
0116             description = cms.untracked.string('Number of bunch corssing value mismatches between DCC and TCC.')
0117         ),
0118         DesyncTotal = cms.untracked.PSet(
0119             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT total FE synchronization errors'),
0120             kind = cms.untracked.string('TH1F'),
0121             otype = cms.untracked.string('Ecal2P'),
0122             btype = cms.untracked.string('DCC'),
0123             description = cms.untracked.string('Total number of synchronization errors (L1A & BX mismatches) between DCC and FE.')
0124         ),
0125         RunNumber = cms.untracked.PSet(
0126             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT run number errors'),
0127             kind = cms.untracked.string('TH1F'),
0128             otype = cms.untracked.string('Ecal2P'),
0129             btype = cms.untracked.string('DCC'),
0130             description = cms.untracked.string('Number of discrepancies between run numbers recorded in the DCC and that in CMS Event.')
0131         ),
0132         Orbit = cms.untracked.PSet(
0133             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT orbit number 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 discrepancies between LHC orbit numbers recorded in the DCC and that in CMS Event.')
0138         ),
0139         OrbitDiff = cms.untracked.PSet(
0140             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT orbit number DCC-GT'),
0141             kind = cms.untracked.string('TH2F'),
0142             otype = cms.untracked.string('Ecal2P'),
0143             yaxis = cms.untracked.PSet(
0144                 high = cms.untracked.double(100.),
0145                 nbins = cms.untracked.int32(200),
0146                 low = cms.untracked.double(-100.)
0147             ),
0148             btype = cms.untracked.string('DCC'),
0149             description = cms.untracked.string('Number of discrepancies between LHC orbit numbers recorded in the DCC and that in CMS Event.')
0150         ),
0151         BXDCC = cms.untracked.PSet(
0152             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing DCC errors'),
0153             kind = cms.untracked.string('TH1F'),
0154             otype = cms.untracked.string('Ecal2P'),
0155             btype = cms.untracked.string('DCC'),
0156             description = cms.untracked.string('Number of discrepancies between bunch crossing numbers recorded in the DCC and that in CMS Event.')
0157         ),
0158         BXDCCDiff = cms.untracked.PSet(
0159             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing DCC-GT'),
0160             kind = cms.untracked.string('TH2F'),
0161             otype = cms.untracked.string('Ecal2P'),
0162             yaxis = cms.untracked.PSet(
0163                 high = cms.untracked.double(100.),
0164                 nbins = cms.untracked.int32(200),
0165                 low = cms.untracked.double(-100.)
0166             ),
0167             btype = cms.untracked.string('DCC'),
0168             description = cms.untracked.string('Number of discrepancies between bunch crossing numbers recorded in the DCC and that in CMS Event.')
0169         ),
0170         DesyncByLumi = cms.untracked.PSet(
0171             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT FE synchronization errors by lumi'),
0172             kind = cms.untracked.string('TH1F'),
0173             otype = cms.untracked.string('Ecal2P'),
0174             btype = cms.untracked.string('DCC'),
0175             perLumi = cms.untracked.bool(True),
0176             description = cms.untracked.string('Total number of synchronization errors (L1A & BX mismatches) between DCC and FE in this lumi section.')
0177         ),
0178         L1ATCC = cms.untracked.PSet(
0179             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A TCC errors'),
0180             kind = cms.untracked.string('TH1F'),
0181             otype = cms.untracked.string('Ecal2P'),
0182             btype = cms.untracked.string('DCC'),
0183             description = cms.untracked.string('Number of L1A value mismatches between DCC and TCC.')
0184         ),
0185         FEByLumi = cms.untracked.PSet(
0186             path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT weighted frontend errors by lumi'),
0187             kind = cms.untracked.string('TH1F'),
0188             otype = cms.untracked.string('Ecal2P'),
0189             btype = cms.untracked.string('DCC'),
0190             perLumi = cms.untracked.bool(True),
0191             description = cms.untracked.string('Total number of front-ends in error status in this lumi section.')
0192         ),
0193         TrendNSyncErrors = cms.untracked.PSet(
0194             path = cms.untracked.string('Ecal/Trends/RawDataTask accumulated number of sync errors'),
0195             kind = cms.untracked.string('TH1F'),
0196             cumulative = cms.untracked.bool(True),
0197             online = cms.untracked.bool(True),
0198             otype = cms.untracked.string('Ecal'),
0199             btype = cms.untracked.string('Trend'),
0200             description = cms.untracked.string('Accumulated trend of the number of synchronization errors (L1A & BX mismatches) between DCC and FE in this run.')
0201         ),
0202         EventTypePostCalib = cms.untracked.PSet(
0203             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type post calibration BX'),
0204             kind = cms.untracked.string('TH1F'),
0205             otype = cms.untracked.string('Ecal2P'),
0206             xaxis = cms.untracked.PSet(
0207                 high = cms.untracked.double(24.5),
0208                 nbins = cms.untracked.int32(25),
0209                 low = cms.untracked.double(-0.5),
0210                 labels = cms.untracked.vstring(eventTypes)
0211             ),
0212             btype = cms.untracked.string('User'),
0213             description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing > 3490.')
0214         ),
0215         L1ADCC = cms.untracked.PSet(
0216             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A DCC errors'),
0217             kind = cms.untracked.string('TH1F'),
0218             otype = cms.untracked.string('Ecal2P'),
0219             btype = cms.untracked.string('DCC'),
0220             description = cms.untracked.string('Number of discrepancies between L1A recorded in the DCC and that in CMS Event.')
0221         ),
0222         EventTypePreCalib = cms.untracked.PSet(
0223             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type pre calibration BX'),
0224             kind = cms.untracked.string('TH1F'),
0225             otype = cms.untracked.string('Ecal2P'),
0226             xaxis = cms.untracked.PSet(
0227                 high = cms.untracked.double(24.5),
0228                 nbins = cms.untracked.int32(25),
0229                 low = cms.untracked.double(-0.5),
0230                 labels = cms.untracked.vstring(eventTypes)
0231             ),
0232             btype = cms.untracked.string('User'),
0233             description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing < 3490')
0234         ),
0235         EventTypeCalib = cms.untracked.PSet(
0236             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type calibration BX'),
0237             kind = cms.untracked.string('TH1F'),
0238             otype = cms.untracked.string('Ecal2P'),
0239             xaxis = cms.untracked.PSet(
0240                 high = cms.untracked.double(24.5),
0241                 nbins = cms.untracked.int32(25),
0242                 low = cms.untracked.double(-0.5),
0243                 labels = cms.untracked.vstring(eventTypes)
0244             ),
0245             btype = cms.untracked.string('User'),
0246             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.')
0247         ),
0248         L1AFE = cms.untracked.PSet(
0249             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A FE errors'),
0250             kind = cms.untracked.string('TH2F'),
0251             yaxis = cms.untracked.PSet(
0252                 high = cms.untracked.double(68.0),
0253                 nbins = cms.untracked.int32(68),
0254                 low = cms.untracked.double(0.0),
0255                 title = cms.untracked.string('iFE')
0256             ),
0257             otype = cms.untracked.string('Ecal2P'),
0258             btype = cms.untracked.string('DCC'),
0259             description = cms.untracked.string('Number of L1A value mismatches between DCC and FE.')
0260         ),
0261         TriggerType = cms.untracked.PSet(
0262             path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT trigger type errors'),
0263             kind = cms.untracked.string('TH1F'),
0264             otype = cms.untracked.string('Ecal2P'),
0265             btype = cms.untracked.string('DCC'),
0266             description = cms.untracked.string('Number of discrepancies between trigger type recorded in the DCC and that in CMS Event.')
0267         ),
0268         FEStatus = cms.untracked.PSet(
0269             path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT front-end status bits %(sm)s'),
0270             kind = cms.untracked.string('TH2F'),
0271             yaxis = cms.untracked.PSet(
0272                 high = cms.untracked.double(15.5),
0273                 nbins = cms.untracked.int32(16),
0274                 low = cms.untracked.double(-0.5),
0275                 labels = cms.untracked.vstring(statuses)
0276             ),
0277             otype = cms.untracked.string('SM'),
0278             btype = cms.untracked.string('SuperCrystal'),
0279             description = cms.untracked.string('FE status counter.')
0280         ),
0281         FEStatusErrMapByLumi = cms.untracked.PSet(
0282             path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT%(suffix)s front-end status error map by lumi'),
0283             kind = cms.untracked.string('TH2F'),
0284             otype = cms.untracked.string('Ecal3P'),
0285             btype = cms.untracked.string('SuperCrystal'),
0286             perLumi = cms.untracked.bool(True),
0287             description = cms.untracked.string('FE status error occupancy map for this lumisection. Nominal FE status flags such as ENABLED, SUPPRESSED, FIFOFILL, FIFOFULLL1ADESYNC, and FORCEDZS are NOT included.')
0288         ),
0289         FEStatusMEM = cms.untracked.PSet(
0290             path = cms.untracked.string('Ecal/MEM/StatusFlagsTask MEM front-end status bits'),
0291             kind = cms.untracked.string('TH2F'),
0292             xaxis = cms.untracked.PSet(
0293                 high = cms.untracked.double(55),
0294                 nbins = cms.untracked.int32(108),
0295                 low = cms.untracked.double(1),
0296             ),
0297             yaxis = cms.untracked.PSet(
0298                 high = cms.untracked.double(15.5),
0299                 nbins = cms.untracked.int32(16),
0300                 low = cms.untracked.double(-0.5),
0301                 labels = cms.untracked.vstring(statuses)
0302             ),
0303             otype = cms.untracked.string('Ecal'),
0304             btype = cms.untracked.string('User'),
0305             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>')
0306         )
0307     )
0308 )