Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-05-11 03:34:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.EcalMonitorTasks.OccupancyTask_cfi import ecalOccupancyTask
0004 
0005 #parameters derived from training
0006 EBThreshold = 0.00017
0007 EEpThreshold =  0.0003009
0008 EEmThreshold =  0.0004360
0009 
0010 EB_PUcorr_slope = 9087.286563128135
0011 EB_PUcorr_intercept = 391987.0277612837
0012 
0013 EEp_PUcorr_slope = 2.097273231210836457e+03 
0014 EEp_PUcorr_intercept= 4.905224959496531665e+04
0015 
0016 EEm_PUcorr_slope = 2.029645065864053095e+03
0017 EEm_PUcorr_intercept= 4.874167219924630626e+04
0018 
0019 ecalMLClient = cms.untracked.PSet(
0020     params = cms.untracked.PSet(
0021         EBThreshold = cms.untracked.double(EBThreshold),
0022     EEpThreshold = cms.untracked.double(EEpThreshold),
0023     EEmThreshold = cms.untracked.double(EEmThreshold),
0024         EB_PUcorr_slope = cms.untracked.double(EB_PUcorr_slope),
0025         EB_PUcorr_intercept = cms.untracked.double(EB_PUcorr_intercept),
0026         EEp_PUcorr_slope = cms.untracked.double(EEp_PUcorr_slope),
0027         EEp_PUcorr_intercept = cms.untracked.double(EEp_PUcorr_intercept),
0028     EEm_PUcorr_slope = cms.untracked.double(EEm_PUcorr_slope),
0029         EEm_PUcorr_intercept = cms.untracked.double(EEm_PUcorr_intercept)
0030     ),
0031     sources = cms.untracked.PSet(
0032         DigiAllByLumi = ecalOccupancyTask.MEs.DigiAllByLumi,
0033         AELoss = ecalOccupancyTask.MEs.AELoss,
0034     AEReco = ecalOccupancyTask.MEs.AEReco,
0035         PU = ecalOccupancyTask.MEs.PU,
0036         NumEvents = ecalOccupancyTask.MEs.NEvents,
0037     BadTowerCount = ecalOccupancyTask.MEs.BadTowerCount,
0038     BadTowerCountNorm = ecalOccupancyTask.MEs.BadTowerCountNorm
0039     ),
0040     MEs = cms.untracked.PSet(
0041         MLQualitySummary = cms.untracked.PSet(
0042             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sOT%(suffix)s ML quality summary'),
0043             kind = cms.untracked.string('TH2F'),
0044             otype = cms.untracked.string('Ecal3P'),
0045             btype = cms.untracked.string('SuperCrystal'),
0046             description = cms.untracked.string('Quality summary from the ML inference.')
0047         ),
0048        EventsperMLImage = cms.untracked.PSet(
0049             path = cms.untracked.string('Ecal/Trends/Number of Events used per ML image'),
0050             kind = cms.untracked.string('TProfile'),
0051             otype = cms.untracked.string('Ecal2P'),
0052             btype = cms.untracked.string('Trend'),
0053             description = cms.untracked.string('Trend of the number of events in an image fed into the ML model')
0054         ),
0055         TrendMLBadTower = cms.untracked.PSet(
0056             path = cms.untracked.string('Ecal/Trends/Number of bad towers from MLDQM %(prefix)s'),
0057             kind = cms.untracked.string('TProfile'),
0058             otype = cms.untracked.string('Ecal2P'),
0059             btype = cms.untracked.string('Trend'),
0060             description = cms.untracked.string('Trend of the number of bad towers flagged by the MLDQM model')
0061         )
0062     )
0063 )