Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 tpThreshold = 4.
0004 recHitThreshold = 0.5
0005 lumiCheck = False
0006 
0007 ecalOccupancyTask = cms.untracked.PSet(
0008     params = cms.untracked.PSet(
0009         recHitThreshold = cms.untracked.double(recHitThreshold),
0010         tpThreshold = cms.untracked.double(tpThreshold),
0011         metadata = cms.InputTag('onlineMetaDataDigis'),
0012     lumiCheck = cms.untracked.bool(lumiCheck)
0013     ), 
0014     MEs = cms.untracked.PSet(
0015         TrendNTPDigi = cms.untracked.PSet(
0016             path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of filtered TP digis'),
0017             kind = cms.untracked.string('TProfile'),
0018             otype = cms.untracked.string('Ecal2P'),
0019             btype = cms.untracked.string('Trend'),
0020             description = cms.untracked.string('Trend of the per-event number of TP digis with Et > ' + str(tpThreshold) + ' GeV.')
0021         ),
0022         TPDigiThrProjPhi = cms.untracked.PSet(
0023             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s projection phi'),
0024             kind = cms.untracked.string('TH1F'),
0025             otype = cms.untracked.string('Ecal3P'),
0026             btype = cms.untracked.string('ProjPhi'),
0027             description = cms.untracked.string('Projection of the occupancy of TP digis with Et > ' + str(tpThreshold) + ' GeV.')
0028         ),
0029         DCC = cms.untracked.PSet(
0030             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT DCC entries'),
0031             kind = cms.untracked.string('TH1F'),
0032             otype = cms.untracked.string('Ecal2P'),
0033             btype = cms.untracked.string('DCC'),
0034             description = cms.untracked.string('Number of entries recoreded by each FED')
0035         ),
0036         DigiDCC = cms.untracked.PSet(
0037             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sOT digi occupancy summary 1D'), # in SummaryClient for historical reasons
0038             kind = cms.untracked.string('TH1F'),
0039             otype = cms.untracked.string('Ecal2P'),
0040             btype = cms.untracked.string('DCC'),
0041             description = cms.untracked.string('DCC digi occupancy.')
0042         ),
0043         DigiProjPhi = cms.untracked.PSet(
0044             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s projection phi'),
0045             kind = cms.untracked.string('TH1F'),
0046             otype = cms.untracked.string('Ecal3P'),
0047             btype = cms.untracked.string('ProjPhi'),
0048             description = cms.untracked.string('Projection of digi occupancy.')
0049         ),
0050 #        TPDigiProjEta = cms.untracked.PSet(
0051 #            path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s projection eta'),
0052 #            kind = cms.untracked.string('TH1F'),
0053 #            otype = cms.untracked.string('Ecal3P'),
0054 #            btype = cms.untracked.string('ProjEta'),
0055 #            description = cms.untracked.string('Projection of TP digi occupancy.')
0056 #        ),
0057         Digi = cms.untracked.PSet(
0058             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy %(sm)s'),
0059             kind = cms.untracked.string('TH2F'),
0060             otype = cms.untracked.string('SM'),
0061             btype = cms.untracked.string('Crystal'),
0062             description = cms.untracked.string('Digi occupancy.')
0063         ),
0064         DigiProjEta = cms.untracked.PSet(
0065             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s projection eta'),
0066             kind = cms.untracked.string('TH1F'),
0067             otype = cms.untracked.string('Ecal3P'),
0068             btype = cms.untracked.string('ProjEta'),
0069             description = cms.untracked.string('Projection of digi occupancy.')
0070         ),
0071         TrendNRecHitThr = cms.untracked.PSet(
0072             path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of filtered recHits'),
0073             kind = cms.untracked.string('TProfile'),
0074             otype = cms.untracked.string('Ecal2P'),
0075             btype = cms.untracked.string('Trend'),
0076             description = cms.untracked.string('Trend of the per-event number of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
0077         ),
0078 #        TPDigiAll = cms.untracked.PSet(
0079 #            path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s'),
0080 #            kind = cms.untracked.string('TH2F'),
0081 #            otype = cms.untracked.string('Ecal3P'),
0082 #            btype = cms.untracked.string('TriggerTower'),
0083 #            description = cms.untracked.string('TP digi occupancy.')
0084 #        ),
0085         TPDigiThrProjEta = cms.untracked.PSet(
0086             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s projection eta'),
0087             kind = cms.untracked.string('TH1F'),
0088             otype = cms.untracked.string('Ecal3P'),
0089             btype = cms.untracked.string('ProjEta'),
0090             description = cms.untracked.string('Projection of the occupancy of TP digis with Et > ' + str(tpThreshold) + ' GeV.')
0091         ),
0092         TrendNDigi = cms.untracked.PSet(
0093             path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of digis'),
0094             kind = cms.untracked.string('TProfile'),
0095             otype = cms.untracked.string('Ecal2P'),
0096             btype = cms.untracked.string('Trend'),
0097             description = cms.untracked.string('Trend of the per-event number of digis.')
0098         ),
0099         RecHitThr1D = cms.untracked.PSet(
0100             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT number of filtered rec hits in event'),
0101             kind = cms.untracked.string('TH1F'),
0102             otype = cms.untracked.string('Ecal2P'),
0103             xaxis = cms.untracked.PSet(
0104                 high = cms.untracked.double(500.0),
0105                 nbins = cms.untracked.int32(100),
0106                 low = cms.untracked.double(0.0)
0107             ),
0108             btype = cms.untracked.string('User'),
0109             description = cms.untracked.string('Occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
0110         ),
0111         Digi1D = cms.untracked.PSet(
0112             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT number of digis in event'),
0113             kind = cms.untracked.string('TH1F'),
0114             otype = cms.untracked.string('Ecal2P'),
0115             xaxis = cms.untracked.PSet(
0116                 high = cms.untracked.double(3000.0),
0117                 nbins = cms.untracked.int32(100),
0118                 low = cms.untracked.double(0.0)
0119             ),
0120             btype = cms.untracked.string('User'),
0121             description = cms.untracked.string('Distribution of the number of digis per event.')
0122         ),
0123         DigiAll = cms.untracked.PSet(
0124             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s'),
0125             kind = cms.untracked.string('TH2F'),
0126             otype = cms.untracked.string('Ecal3P'),
0127             btype = cms.untracked.string('SuperCrystal'),
0128             description = cms.untracked.string('Digi occupancy.')
0129         ),
0130         DigiAllByLumi = cms.untracked.PSet(
0131             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s by lumi'),
0132             kind = cms.untracked.string('TH2F'),
0133             otype = cms.untracked.string('Ecal3P'),
0134             btype = cms.untracked.string('SuperCrystal'),
0135             description = cms.untracked.string('Digi occupancy for this lumisection.')
0136         ),
0137         RecHitThrProjEta = cms.untracked.PSet(
0138             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s projection eta'),
0139             kind = cms.untracked.string('TH1F'),
0140             otype = cms.untracked.string('Ecal3P'),
0141             btype = cms.untracked.string('ProjEta'),
0142             description = cms.untracked.string('Projection of the occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
0143         ),
0144         RecHitProjEta = cms.untracked.PSet(
0145             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s projection eta'),
0146             kind = cms.untracked.string('TH1F'),
0147             otype = cms.untracked.string('Ecal3P'),
0148             btype = cms.untracked.string('ProjEta'),
0149             description = cms.untracked.string('Projection of the occupancy of all rec hits.')
0150         ),
0151         TPDigiThrAll = cms.untracked.PSet(
0152             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s'),
0153             kind = cms.untracked.string('TH2F'),
0154             otype = cms.untracked.string('Ecal3P'),
0155             btype = cms.untracked.string('TriggerTower'),
0156             description = cms.untracked.string('Occupancy for TP digis with Et > ' + str(tpThreshold) + ' GeV.')
0157         ),
0158         TPDigiThrAllByLumi = cms.untracked.PSet(
0159             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s by lumi'),
0160             kind = cms.untracked.string('TH2F'),
0161             otype = cms.untracked.string('Ecal3P'),
0162             btype = cms.untracked.string('TriggerTower'),
0163             description = cms.untracked.string('TP digi occupancy for this lumisection. Only includes TP digis with Et > ' + str(tpThreshold) + ' GeV.')
0164         ),
0165         TPDigiRCT = cms.untracked.PSet(
0166             path = cms.untracked.string('EcalBarrel/EBOccupancyTask/TP digi thr occupancy in RCT coordinates'),
0167             kind = cms.untracked.string('TH2F'),
0168             otype = cms.untracked.string('Ecal'), 
0169             btype = cms.untracked.string('RCT'),
0170             description = cms.untracked.string('Occupancy for TP digis with Et > ' + str(tpThreshold) + ' GeV in RCT coordinates')
0171         ),
0172         RecHitThrAll = cms.untracked.PSet(
0173             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s'),
0174             kind = cms.untracked.string('TH2F'),
0175             otype = cms.untracked.string('Ecal3P'),
0176             btype = cms.untracked.string('SuperCrystal'),
0177             description = cms.untracked.string('Occupancy for rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
0178         ),
0179         RecHitThrAllByLumi = cms.untracked.PSet(
0180             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s by lumi'),
0181             kind = cms.untracked.string('TH2F'),
0182             otype = cms.untracked.string('Ecal3P'),
0183             btype = cms.untracked.string('SuperCrystal'),
0184             description = cms.untracked.string('Filtered rechit cccupancy for this lumisection. Only includes rechits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
0185         ),
0186         RecHitAll = cms.untracked.PSet(
0187             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s'),
0188             kind = cms.untracked.string('TH2F'),
0189             otype = cms.untracked.string('Ecal3P'),
0190             btype = cms.untracked.string('Crystal'),
0191             description = cms.untracked.string('Rec hit occupancy.')
0192         ),
0193         RecHitProjPhi = cms.untracked.PSet(
0194             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s projection phi'),
0195             kind = cms.untracked.string('TH1F'),
0196             otype = cms.untracked.string('Ecal3P'),
0197             btype = cms.untracked.string('ProjPhi'),
0198             description = cms.untracked.string('Projection of the rec hit occupancy.')
0199         ),
0200         RecHitThrProjPhi = cms.untracked.PSet(
0201             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s projection phi'),
0202             kind = cms.untracked.string('TH1F'),
0203             otype = cms.untracked.string('Ecal3P'),
0204             btype = cms.untracked.string('ProjPhi'),
0205             description = cms.untracked.string('Projection of the occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.')
0206         ),
0207         RecHitThrmvp = cms.untracked.PSet(
0208             kind = cms.untracked.string('TH2F'),
0209             yaxis = cms.untracked.PSet(
0210                 high = cms.untracked.double(500.0),
0211                 nbins = cms.untracked.int32(50),
0212                 low = cms.untracked.double(0.0),
0213                 title = cms.untracked.string('Nrechits(z-,near)')
0214             ),
0215             otype = cms.untracked.string('Ecal2P'),
0216             xaxis = cms.untracked.PSet(
0217                 high = cms.untracked.double(500.0),
0218                 nbins = cms.untracked.int32(50),
0219                 low = cms.untracked.double(0.0),
0220                 title = cms.untracked.string('Nrechits(z+,far)')
0221             ),
0222             btype = cms.untracked.string('User'),
0223             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy correlation'),
0224             description = cms.untracked.string('Filtered rechit occupancy correlation.')
0225         ),
0226         RecHitThrpm = cms.untracked.PSet(
0227             kind = cms.untracked.string('TH1F'),
0228             otype = cms.untracked.string('Ecal2P'),
0229             xaxis = cms.untracked.PSet(
0230                 high = cms.untracked.double(1000.0),
0231                 nbins = cms.untracked.int32(100),
0232                 low = cms.untracked.double(-1000.0),
0233                 title = cms.untracked.string('Nrechits(z+,far) - Nrechits(z-,near)')
0234             ),
0235             btype = cms.untracked.string('User'),
0236             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy z+(far) - z-(near)'),
0237             description = cms.untracked.string('Filtered rechit occupancy difference.')
0238         ),
0239     LaserCorrProjEta = cms.untracked.PSet(
0240             path = cms.untracked.string('Ecal/Trends/%(prefix)sOT Laser Transparency correction from DB %(suffix)s eta projection'),
0241             kind = cms.untracked.string('TProfile'),
0242         yaxis = cms.untracked.PSet(
0243         title= cms.untracked.string('Laser transparency correction')
0244         ),
0245             otype = cms.untracked.string('Ecal3P'),
0246             btype = cms.untracked.string('ProjEta'),
0247             description = cms.untracked.string('Projection of average laser transparency correction from DB.')
0248         ),
0249         TrendEventsperLumi = cms.untracked.PSet(
0250             path = cms.untracked.string('Ecal/Trends/Number of Events per Lumisection'),
0251             kind = cms.untracked.string('TProfile'),
0252             otype = cms.untracked.string('Ecal2P'),
0253             btype = cms.untracked.string('Trend'),
0254             description = cms.untracked.string('Trend of the number of events per lumisection')
0255         ),
0256         TrendPUperLumi = cms.untracked.PSet(
0257             path = cms.untracked.string('Ecal/Trends/PU per Lumisection'),
0258             kind = cms.untracked.string('TProfile'),
0259             otype = cms.untracked.string('Ecal2P'),
0260             btype = cms.untracked.string('Trend'),
0261             description = cms.untracked.string('Trend of the pile up per lumisection')
0262         ),
0263         AELoss = cms.untracked.PSet(
0264             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT AE Loss%(suffix)s'),
0265             kind = cms.untracked.string('TH2F'),
0266             otype = cms.untracked.string('Ecal3P'),
0267             btype = cms.untracked.string('SuperCrystal'),
0268             description = cms.untracked.string('AE Loss from inference')
0269         ),
0270     AEReco = cms.untracked.PSet(
0271             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT AE Reco%(suffix)s'),
0272             kind = cms.untracked.string('TH2F'),
0273             otype = cms.untracked.string('Ecal3P'),
0274             btype = cms.untracked.string('SuperCrystal'),
0275             description = cms.untracked.string('AE Reco')
0276         ),
0277         PU = cms.untracked.PSet(
0278             path = cms.untracked.string('Ecal/EventInfo/PU in the lumi'),
0279             kind = cms.untracked.string('REAL'),
0280             otype = cms.untracked.string('None'),
0281             btype = cms.untracked.string('User'),
0282             description = cms.untracked.string('Pile up in this lumisection')
0283         ),
0284         NEvents = cms.untracked.PSet(
0285             path = cms.untracked.string('Ecal/EventInfo/Number of events in the lumi'),
0286             kind = cms.untracked.string('REAL'),
0287             otype = cms.untracked.string('None'),
0288             btype = cms.untracked.string('User'),
0289             description = cms.untracked.string('Number of events in this lumisection')
0290         ),
0291         BadTowerCount = cms.untracked.PSet(
0292             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT ML bad tower count%(suffix)s'),
0293             kind = cms.untracked.string('TH2F'),
0294             otype = cms.untracked.string('Ecal3P'),
0295             btype = cms.untracked.string('SuperCrystal'),
0296             description = cms.untracked.string('Count of bad towers flagged by the ML model.')
0297         ),
0298         BadTowerCountNorm = cms.untracked.PSet(
0299             path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT ML bad tower count normalized%(suffix)s'),
0300             kind = cms.untracked.string('TH2F'),
0301             otype = cms.untracked.string('Ecal3P'),
0302             btype = cms.untracked.string('SuperCrystal'),
0303             description = cms.untracked.string('Count of bad towers flagged by the ML model normalized by the no.of LS')
0304         )
0305 #        TPDigiProjPhi = cms.untracked.PSet(
0306 #            path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s projection phi'),
0307 #            kind = cms.untracked.string('TH1F'),
0308 #            otype = cms.untracked.string('Ecal3P'),
0309 #            btype = cms.untracked.string('ProjPhi'),
0310 #            description = cms.untracked.string('Projection of TP digi occupancy.')
0311 #        )
0312 
0313     )
0314 )
0315