Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-04 23:05:56

0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0003 
0004 # directory path shortening
0005 bmtfDqmDir = 'L1T/L1TStage2BMTF'
0006 bmtfZSDqmDir = bmtfDqmDir+'/zeroSuppression'
0007 errHistNumStr = 'errorSummaryNum'
0008 errHistDenStr = 'errorSummaryDen'
0009 
0010 # zero suppression
0011 l1tStage2BmtfZeroSuppRatioClient = DQMEDHarvester("L1TStage2RatioClient",
0012     monitorDir = cms.untracked.string(bmtfZSDqmDir+'/AllEvts'),
0013     inputNum = cms.untracked.string(bmtfZSDqmDir+'/AllEvts/'+errHistNumStr),
0014     inputDen = cms.untracked.string(bmtfZSDqmDir+'/AllEvts/'+errHistDenStr),
0015     ratioName = cms.untracked.string('mismatchRatio'),
0016     ratioTitle = cms.untracked.string('Summary of bad zero suppression rates'),
0017     yAxisTitle = cms.untracked.string('# fail / # total'),
0018     binomialErr = cms.untracked.bool(True)
0019 )
0020 
0021 l1tStage2BmtfZeroSuppFatEvtsRatioClient = l1tStage2BmtfZeroSuppRatioClient.clone(
0022     monitorDir = bmtfZSDqmDir+'/FatEvts',
0023     inputNum = bmtfZSDqmDir+'/FatEvts/'+errHistNumStr,
0024     inputDen = bmtfZSDqmDir+'/FatEvts/'+errHistDenStr,
0025     ratioTitle = 'Summary of bad zero suppression rates'
0026 )
0027 # sequences
0028 l1tStage2BmtfZeroSuppCompClient = cms.Sequence(
0029     l1tStage2BmtfZeroSuppRatioClient
0030   + l1tStage2BmtfZeroSuppFatEvtsRatioClient
0031 )
0032 
0033 l1tStage2BmtfClient = cms.Sequence(
0034     l1tStage2BmtfZeroSuppCompClient
0035 )
0036