Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-21 04:02:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 bxBins = [
0004     1,
0005     271,
0006     541,
0007     892,
0008     1162,
0009     1432,
0010     1783,
0011     2053,
0012     2323,
0013     2674,
0014     2944,
0015     3214,
0016     3446,
0017     3490,
0018     3491,
0019     3565
0020 ]
0021 bxBinLabels = [str(i) for i in bxBins]
0022 
0023 bxBinsFine = [i for i in range(1, 3601)]
0024 bxBinLabelsFine = [str(i) for i in bxBinsFine]
0025 nBXBinsFine = len(bxBinsFine)
0026 
0027 ecalTrigPrimTask = cms.untracked.PSet(
0028     params = cms.untracked.PSet(
0029         #    HLTMuonPath = cms.untracked.string('HLT_Mu5_v*'),
0030         #    HLTCaloPath = cms.untracked.string('HLT_SingleJet*'),
0031         bxBins = cms.untracked.vint32(bxBins),
0032         bxBinsFine = cms.untracked.vint32(bxBinsFine),
0033         runOnEmul = cms.untracked.bool(True),
0034         lhcStatusInfoCollectionTag = cms.untracked.InputTag("tcdsDigis","tcdsRecord")
0035     ),
0036     MEs = cms.untracked.PSet(
0037         LowIntMap = cms.untracked.PSet(
0038             path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower low interest counter%(suffix)s'),
0039             kind = cms.untracked.string('TH2F'),
0040             otype = cms.untracked.string('Ecal3P'),
0041             btype = cms.untracked.string('TriggerTower'),
0042             description = cms.untracked.string('Tower occupancy of low interest flags.')
0043         ),
0044         FGEmulError = cms.untracked.PSet(
0045 #            path = cms.untracked.string('Ecal/Errors/TriggerPrimitives/FGBEmulation/'),
0046             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT EmulFineGrainVetoError %(sm)s'),
0047             kind = cms.untracked.string('TH2F'),
0048             otype = cms.untracked.string('SM'),
0049             btype = cms.untracked.string('TriggerTower'),
0050             description = cms.untracked.string('')
0051         ),
0052         EtMaxEmul = cms.untracked.PSet(
0053             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/Emulated/%(prefix)sTTT Et spectrum Emulated Digis max%(suffix)s'),
0054             kind = cms.untracked.string('TH1F'),
0055             otype = cms.untracked.string('Ecal3P'),
0056             xaxis = cms.untracked.PSet(
0057                 high = cms.untracked.double(256.0),
0058                 nbins = cms.untracked.int32(128),
0059                 low = cms.untracked.double(0.0),
0060                 title = cms.untracked.string('TP Et')
0061             ),
0062             btype = cms.untracked.string('User'),
0063             description = cms.untracked.string('Distribution of the maximum Et value within one emulated TP')
0064         ),
0065         OccVsBx = cms.untracked.PSet(
0066             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TP occupancy vs bx Real Digis%(suffix)s'),
0067             kind = cms.untracked.string('TProfile'),
0068             otype = cms.untracked.string('Ecal3P'),
0069             xaxis = cms.untracked.PSet(
0070                 high = cms.untracked.double(1.0*nBXBinsFine),
0071                 nbins = cms.untracked.int32(nBXBinsFine),
0072                 low = cms.untracked.double(0.0),
0073                 title = cms.untracked.string('BX Id'),
0074                 labels = cms.untracked.vstring(bxBinLabelsFine)
0075             ),
0076             btype = cms.untracked.string('User'),
0077             description = cms.untracked.string('TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490. The Customize button can be used to zoom in.')
0078         ),
0079         HighIntMap = cms.untracked.PSet(
0080             path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower high interest counter%(suffix)s'),
0081             kind = cms.untracked.string('TH2F'),
0082             otype = cms.untracked.string('Ecal3P'),
0083             btype = cms.untracked.string('TriggerTower'),
0084             description = cms.untracked.string('Tower occupancy of high interest flags.')
0085         ),
0086         EtVsBx = cms.untracked.PSet(
0087             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT Et vs bx Real Digis%(suffix)s'),
0088             otype = cms.untracked.string('Ecal3P'),
0089             btype = cms.untracked.string('User'),
0090             kind = cms.untracked.string('TProfile'),
0091             xaxis = cms.untracked.PSet(
0092                 high = cms.untracked.double(16.0),
0093                 nbins = cms.untracked.int32(16),
0094                 low = cms.untracked.double(0.0),
0095                 title = cms.untracked.string('BX Id'),
0096                 labels = cms.untracked.vstring(bxBinLabels)
0097             ),
0098             yaxis = cms.untracked.PSet(
0099                 title = cms.untracked.string('TP Et')
0100             ),
0101             description = cms.untracked.string('Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490.')
0102         ),
0103         EtEmulError = cms.untracked.PSet(
0104 #            path = cms.untracked.string('Ecal/Errors/TriggerPrimitives/EtEmulation/'),
0105             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT EmulError %(sm)s'),
0106             kind = cms.untracked.string('TH2F'),
0107             otype = cms.untracked.string('SM'),
0108             btype = cms.untracked.string('TriggerTower'),
0109             description = cms.untracked.string('')
0110         ),
0111         MatchedIndex = cms.untracked.PSet(
0112             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT EmulMatch %(sm)s'),
0113             kind = cms.untracked.string('TH2F'),
0114             yaxis = cms.untracked.PSet(
0115                 high = cms.untracked.double(6.0),
0116                 nbins = cms.untracked.int32(6),
0117                 low = cms.untracked.double(0.0),
0118                 title = cms.untracked.string('TP index'),
0119                 labels = cms.untracked.vstring(["no emul", "0", "1", "2", "3", "4"])
0120             ),
0121             otype = cms.untracked.string('SM'),
0122             btype = cms.untracked.string('TriggerTower'),
0123             description = cms.untracked.string('Counter for TP "timing" (= index withing the emulated TP whose Et matched that of the real TP)')
0124         ),
0125         EmulMaxIndex = cms.untracked.PSet(
0126             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT max TP matching index%(suffix)s'),
0127             kind = cms.untracked.string('TH1F'),
0128             otype = cms.untracked.string('Ecal3P'),
0129             xaxis = cms.untracked.PSet(
0130                 high = cms.untracked.double(5.5),
0131                 nbins = cms.untracked.int32(6),
0132                 low = cms.untracked.double(-0.5),
0133                 title = cms.untracked.string('TP index'),
0134                 labels = cms.untracked.vstring(["no maximum", "0", "1", "2", "3", "4"])
0135             ),
0136             btype = cms.untracked.string('User'),
0137             description = cms.untracked.string('Distribution of the index of emulated TP with the highest Et value.')
0138         ),
0139         MedIntMap = cms.untracked.PSet(
0140             path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower med interest counter%(suffix)s'),
0141             kind = cms.untracked.string('TH2F'),
0142             otype = cms.untracked.string('Ecal3P'),
0143             btype = cms.untracked.string('TriggerTower'),
0144             description = cms.untracked.string('Tower occupancy of medium interest flags.')
0145         ),
0146         TTFlags = cms.untracked.PSet(
0147             path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT TT Flags%(suffix)s'),
0148             kind = cms.untracked.string('TH2F'),
0149             yaxis = cms.untracked.PSet(
0150                 high = cms.untracked.double(7.5),
0151                 nbins = cms.untracked.int32(8),
0152                 low = cms.untracked.double(-0.5),
0153                 title = cms.untracked.string('TT flag'),
0154                 labels = cms.untracked.vstring([ str(i) for i in range(0, 8)])
0155             ),
0156             otype = cms.untracked.string('Ecal3P'),
0157             btype = cms.untracked.string('DCC'),
0158             description = cms.untracked.string('Distribution of the trigger tower flags.')
0159         ),
0160         TTFlagsVsEt = cms.untracked.PSet(
0161             path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT TT Flags vs Et%(suffix)s'),
0162             kind = cms.untracked.string('TH2F'),
0163             yaxis = cms.untracked.PSet(
0164                 high = cms.untracked.double(7.5),
0165                 nbins = cms.untracked.int32(8),
0166                 low = cms.untracked.double(-0.5),
0167                 title = cms.untracked.string('TT flag'),
0168                 labels = cms.untracked.vstring([ str(i) for i in range(0, 8)])
0169             ),
0170             otype = cms.untracked.string('Ecal3P'),
0171             xaxis = cms.untracked.PSet(
0172                 high = cms.untracked.double(50.0),
0173                 nbins = cms.untracked.int32(100),
0174                 low = cms.untracked.double(0.0),
0175                 title = cms.untracked.string('TP Et')
0176             ),
0177             btype = cms.untracked.string('User'),
0178             description = cms.untracked.string('2D histograms of of TT flags of a corresponding to a given TT vs Et measured by that tower.')
0179         ),
0180         TTFlags4 = cms.untracked.PSet(
0181             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 Occupancy%(suffix)s'),
0182             kind = cms.untracked.string('TH2F'),
0183             otype = cms.untracked.string('Ecal3P'),
0184             btype = cms.untracked.string('TriggerTower'),
0185             description = cms.untracked.string('Occupancy for TP digis with TTF=4.')
0186         ),
0187         TTFlags4ByLumi = cms.untracked.PSet(
0188             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 Occupancy%(suffix)s by lumi'),
0189             kind = cms.untracked.string('TH2F'),
0190             otype = cms.untracked.string('Ecal3P'),
0191             btype = cms.untracked.string('TriggerTower'),
0192             description = cms.untracked.string('Occupancy for TP digis with TTF=4, by lumisection.')
0193         ),
0194         TTMaskMap = cms.untracked.PSet(
0195             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/TTStatus/%(prefix)sTTT TT Masking Status%(sm)s'),
0196             kind = cms.untracked.string('TProfile2D'),
0197             otype = cms.untracked.string('SM'),
0198             btype = cms.untracked.string('PseudoStrip'),
0199             description = cms.untracked.string('Trigger tower and pseudo-strip masking status: a TT or strip is red if it is masked')
0200         ),
0201         TTMaskMapAll = cms.untracked.PSet(
0202             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TT Masking Status%(suffix)s'),
0203             kind = cms.untracked.string('TH2F'),
0204             otype = cms.untracked.string('Ecal3P'),
0205             btype = cms.untracked.string('TriggerTower'),
0206             description = cms.untracked.string('Trigger tower masking status: a TT is red if it is masked.')
0207         ),
0208         TTFMismatch = cms.untracked.PSet(
0209 #            path = cms.untracked.string('Ecal/Errors/TriggerPrimitives/FlagMismatch/'),
0210             path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT TT flag mismatch%(suffix)s'),
0211             kind = cms.untracked.string('TH2F'),
0212             otype = cms.untracked.string('Ecal3P'),
0213             btype = cms.untracked.string('TriggerTower'),
0214             description = cms.untracked.string('')
0215         ),
0216         EtSummary = cms.untracked.PSet(
0217             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Et trigger tower summary'),
0218             kind = cms.untracked.string('TProfile2D'),
0219             zaxis = cms.untracked.PSet(
0220                 high = cms.untracked.double(256.0),
0221                 nbins = cms.untracked.int32(128),
0222                 low = cms.untracked.double(0.0),
0223                 title = cms.untracked.string('TP Et')
0224             ),
0225             otype = cms.untracked.string('Ecal3P'),
0226             btype = cms.untracked.string('TriggerTower'),
0227             description = cms.untracked.string('2D distribution of the trigger primitive Et.')
0228         ),
0229         EtSummaryByLumi = cms.untracked.PSet(
0230             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Et trigger tower summary by lumi'),
0231             kind = cms.untracked.string('TProfile2D'),
0232             zaxis = cms.untracked.PSet(
0233                 high = cms.untracked.double(256.0),
0234                 nbins = cms.untracked.int32(128),
0235                 low = cms.untracked.double(0.0),
0236                 title = cms.untracked.string('TP Et')
0237             ),
0238             otype = cms.untracked.string('Ecal3P'),
0239             btype = cms.untracked.string('TriggerTower'),
0240             description = cms.untracked.string('2D distribution of the Trigger Primitives Et for this lumisection.')
0241         ),
0242         EtRealMap = cms.untracked.PSet(
0243             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT Et map Real Digis %(sm)s'),
0244             kind = cms.untracked.string('TProfile2D'),
0245             zaxis = cms.untracked.PSet(
0246                 high = cms.untracked.double(256.0),
0247                 nbins = cms.untracked.int32(128),
0248                 low = cms.untracked.double(0.0),
0249                 title = cms.untracked.string('TP Et')
0250             ),
0251             otype = cms.untracked.string('SM'),
0252             btype = cms.untracked.string('TriggerTower'),
0253             description = cms.untracked.string('2D distribution of the trigger primitive Et.')
0254         ),
0255         EtReal = cms.untracked.PSet(
0256             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT Et spectrum Real Digis%(suffix)s'),
0257             kind = cms.untracked.string('TH1F'),
0258             otype = cms.untracked.string('Ecal3P'),
0259             xaxis = cms.untracked.PSet(
0260                 high = cms.untracked.double(256.0),
0261                 nbins = cms.untracked.int32(128),
0262                 low = cms.untracked.double(0.0),
0263                 title = cms.untracked.string('TP Et')
0264             ),
0265             btype = cms.untracked.string('User'),
0266             description = cms.untracked.string('Distribution of the trigger primitive Et.')
0267         ),
0268         RealvEmulEt = cms.untracked.PSet(
0269             kind = cms.untracked.string('TH2F'),
0270             xaxis = cms.untracked.PSet(
0271                 high = cms.untracked.double(256.0),
0272                 nbins = cms.untracked.int32(128),
0273                 low = cms.untracked.double(0.0),
0274                 title = cms.untracked.string('Real data TP Et (ADC)')
0275             ),
0276             otype = cms.untracked.string('Ecal3P'),
0277             yaxis = cms.untracked.PSet(
0278                 high = cms.untracked.double(256.0),
0279                 nbins = cms.untracked.int32(128),
0280                 low = cms.untracked.double(0.0),
0281                 title = cms.untracked.string('Emulated TP Et (ADC)')
0282             ),
0283             btype = cms.untracked.string('User'),
0284             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT Real vs Emulated TP Et%(suffix)s'),
0285             description = cms.untracked.string('Real data VS emulated TP Et (in-time)')
0286         ),
0287         LHCStatusByLumi = cms.untracked.PSet(
0288             path = cms.untracked.string('Ecal/Trends/LHC status by lumi'),
0289             kind = cms.untracked.string('REAL'),
0290             otype = cms.untracked.string('None'),
0291             btype = cms.untracked.string('User'),
0292             description = cms.untracked.string('LHC Status in this lumisection. The convention for the value is the same as in the plot Info/LhcInfo/beamMode')
0293         )
0294     )
0295 )