/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DQM/EcalMonitorTasks/python/OccupancyTask_cfi.py
314 строк
18 KB
Abhirami Harilal
ML based online DQM adding EE
17 апр 2023, 19:04
17 апр 2023, 19:04
f6a03f3
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms tpThreshold = 4. recHitThreshold = 0.5 lumiCheck = False ecalOccupancyTask = cms.untracked.PSet( params = cms.untracked.PSet( recHitThreshold = cms.untracked.double(recHitThreshold), tpThreshold = cms.untracked.double(tpThreshold), metadata = cms.InputTag('onlineMetaDataDigis'), lumiCheck = cms.untracked.bool(lumiCheck) ), MEs = cms.untracked.PSet( TrendNTPDigi = cms.untracked.PSet( path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of filtered TP digis'), kind = cms.untracked.string('TProfile'), otype = cms.untracked.string('Ecal2P'), btype = cms.untracked.string('Trend'), description = cms.untracked.string('Trend of the per-event number of TP digis with Et > ' + str(tpThreshold) + ' GeV.') ), TPDigiThrProjPhi = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s projection phi'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('ProjPhi'), description = cms.untracked.string('Projection of the occupancy of TP digis with Et > ' + str(tpThreshold) + ' GeV.') ), DCC = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT DCC entries'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal2P'), btype = cms.untracked.string('DCC'), description = cms.untracked.string('Number of entries recoreded by each FED') ), DigiDCC = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sOT digi occupancy summary 1D'), # in SummaryClient for historical reasons kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal2P'), btype = cms.untracked.string('DCC'), description = cms.untracked.string('DCC digi occupancy.') ), DigiProjPhi = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s projection phi'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('ProjPhi'), description = cms.untracked.string('Projection of digi occupancy.') ), # TPDigiProjEta = cms.untracked.PSet( # path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s projection eta'), # kind = cms.untracked.string('TH1F'), # otype = cms.untracked.string('Ecal3P'), # btype = cms.untracked.string('ProjEta'), # description = cms.untracked.string('Projection of TP digi occupancy.') # ), Digi = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy %(sm)s'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('SM'), btype = cms.untracked.string('Crystal'), description = cms.untracked.string('Digi occupancy.') ), DigiProjEta = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s projection eta'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('ProjEta'), description = cms.untracked.string('Projection of digi occupancy.') ), TrendNRecHitThr = cms.untracked.PSet( path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of filtered recHits'), kind = cms.untracked.string('TProfile'), otype = cms.untracked.string('Ecal2P'), btype = cms.untracked.string('Trend'), description = cms.untracked.string('Trend of the per-event number of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.') ), # TPDigiAll = cms.untracked.PSet( # path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s'), # kind = cms.untracked.string('TH2F'), # otype = cms.untracked.string('Ecal3P'), # btype = cms.untracked.string('TriggerTower'), # description = cms.untracked.string('TP digi occupancy.') # ), TPDigiThrProjEta = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s projection eta'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('ProjEta'), description = cms.untracked.string('Projection of the occupancy of TP digis with Et > ' + str(tpThreshold) + ' GeV.') ), TrendNDigi = cms.untracked.PSet( path = cms.untracked.string('Ecal/Trends/OccupancyTask %(prefix)s number of digis'), kind = cms.untracked.string('TProfile'), otype = cms.untracked.string('Ecal2P'), btype = cms.untracked.string('Trend'), description = cms.untracked.string('Trend of the per-event number of digis.') ), RecHitThr1D = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT number of filtered rec hits in event'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal2P'), xaxis = cms.untracked.PSet( high = cms.untracked.double(500.0), nbins = cms.untracked.int32(100), low = cms.untracked.double(0.0) ), btype = cms.untracked.string('User'), description = cms.untracked.string('Occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.') ), Digi1D = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT number of digis in event'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal2P'), xaxis = cms.untracked.PSet( high = cms.untracked.double(3000.0), nbins = cms.untracked.int32(100), low = cms.untracked.double(0.0) ), btype = cms.untracked.string('User'), description = cms.untracked.string('Distribution of the number of digis per event.') ), DigiAll = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('SuperCrystal'), description = cms.untracked.string('Digi occupancy.') ), DigiAllByLumi = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT digi occupancy%(suffix)s by lumi'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('SuperCrystal'), description = cms.untracked.string('Digi occupancy for this lumisection.') ), RecHitThrProjEta = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s projection eta'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('ProjEta'), description = cms.untracked.string('Projection of the occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.') ), RecHitProjEta = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s projection eta'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('ProjEta'), description = cms.untracked.string('Projection of the occupancy of all rec hits.') ), TPDigiThrAll = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('TriggerTower'), description = cms.untracked.string('Occupancy for TP digis with Et > ' + str(tpThreshold) + ' GeV.') ), TPDigiThrAllByLumi = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi thr occupancy%(suffix)s by lumi'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('TriggerTower'), description = cms.untracked.string('TP digi occupancy for this lumisection. Only includes TP digis with Et > ' + str(tpThreshold) + ' GeV.') ), TPDigiRCT = cms.untracked.PSet( path = cms.untracked.string('EcalBarrel/EBOccupancyTask/TP digi thr occupancy in RCT coordinates'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal'), btype = cms.untracked.string('RCT'), description = cms.untracked.string('Occupancy for TP digis with Et > ' + str(tpThreshold) + ' GeV in RCT coordinates') ), RecHitThrAll = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('SuperCrystal'), description = cms.untracked.string('Occupancy for rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.') ), RecHitThrAllByLumi = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s by lumi'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('SuperCrystal'), description = cms.untracked.string('Filtered rechit cccupancy for this lumisection. Only includes rechits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.') ), RecHitAll = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('Crystal'), description = cms.untracked.string('Rec hit occupancy.') ), RecHitProjPhi = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit occupancy%(suffix)s projection phi'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('ProjPhi'), description = cms.untracked.string('Projection of the rec hit occupancy.') ), RecHitThrProjPhi = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy%(suffix)s projection phi'), kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('ProjPhi'), description = cms.untracked.string('Projection of the occupancy of rec hits with GOOD reconstruction flag and E > ' + str(recHitThreshold) + ' GeV.') ), RecHitThrmvp = cms.untracked.PSet( kind = cms.untracked.string('TH2F'), yaxis = cms.untracked.PSet( high = cms.untracked.double(500.0), nbins = cms.untracked.int32(50), low = cms.untracked.double(0.0), title = cms.untracked.string('Nrechits(z-,near)') ), otype = cms.untracked.string('Ecal2P'), xaxis = cms.untracked.PSet( high = cms.untracked.double(500.0), nbins = cms.untracked.int32(50), low = cms.untracked.double(0.0), title = cms.untracked.string('Nrechits(z+,far)') ), btype = cms.untracked.string('User'), path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy correlation'), description = cms.untracked.string('Filtered rechit occupancy correlation.') ), RecHitThrpm = cms.untracked.PSet( kind = cms.untracked.string('TH1F'), otype = cms.untracked.string('Ecal2P'), xaxis = cms.untracked.PSet( high = cms.untracked.double(1000.0), nbins = cms.untracked.int32(100), low = cms.untracked.double(-1000.0), title = cms.untracked.string('Nrechits(z+,far) - Nrechits(z-,near)') ), btype = cms.untracked.string('User'), path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT rec hit thr occupancy z+(far) - z-(near)'), description = cms.untracked.string('Filtered rechit occupancy difference.') ), LaserCorrProjEta = cms.untracked.PSet( path = cms.untracked.string('Ecal/Trends/%(prefix)sOT Laser Transparency correction from DB %(suffix)s eta projection'), kind = cms.untracked.string('TProfile'), yaxis = cms.untracked.PSet( title= cms.untracked.string('Laser transparency correction') ), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('ProjEta'), description = cms.untracked.string('Projection of average laser transparency correction from DB.') ), TrendEventsperLumi = cms.untracked.PSet( path = cms.untracked.string('Ecal/Trends/Number of Events per Lumisection'), kind = cms.untracked.string('TProfile'), otype = cms.untracked.string('Ecal2P'), btype = cms.untracked.string('Trend'), description = cms.untracked.string('Trend of the number of events per lumisection') ), TrendPUperLumi = cms.untracked.PSet( path = cms.untracked.string('Ecal/Trends/PU per Lumisection'), kind = cms.untracked.string('TProfile'), otype = cms.untracked.string('Ecal2P'), btype = cms.untracked.string('Trend'), description = cms.untracked.string('Trend of the pile up per lumisection') ), AELoss = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT AE Loss%(suffix)s'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('SuperCrystal'), description = cms.untracked.string('AE Loss from inference') ), AEReco = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT AE Reco%(suffix)s'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('SuperCrystal'), description = cms.untracked.string('AE Reco') ), PU = cms.untracked.PSet( path = cms.untracked.string('Ecal/EventInfo/PU in the lumi'), kind = cms.untracked.string('REAL'), otype = cms.untracked.string('None'), btype = cms.untracked.string('User'), description = cms.untracked.string('Pile up in this lumisection') ), NEvents = cms.untracked.PSet( path = cms.untracked.string('Ecal/EventInfo/Number of events in the lumi'), kind = cms.untracked.string('REAL'), otype = cms.untracked.string('None'), btype = cms.untracked.string('User'), description = cms.untracked.string('Number of events in this lumisection') ), BadTowerCount = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT ML bad tower count%(suffix)s'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('SuperCrystal'), description = cms.untracked.string('Count of bad towers flagged by the ML model.') ), BadTowerCountNorm = cms.untracked.PSet( path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT ML bad tower count normalized%(suffix)s'), kind = cms.untracked.string('TH2F'), otype = cms.untracked.string('Ecal3P'), btype = cms.untracked.string('SuperCrystal'), description = cms.untracked.string('Count of bad towers flagged by the ML model normalized by the no.of LS') ) # TPDigiProjPhi = cms.untracked.PSet( # path = cms.untracked.string('%(subdet)s/%(prefix)sOccupancyTask/%(prefix)sOT TP digi occupancy%(suffix)s projection phi'), # kind = cms.untracked.string('TH1F'), # otype = cms.untracked.string('Ecal3P'), # btype = cms.untracked.string('ProjPhi'), # description = cms.untracked.string('Projection of TP digi occupancy.') # ) ) )