Warning, /Alignment/CommonAlignmentProducer/data/AlCaHLTBitMon_cfg_template_py is written in an unsupported language. File is not indexed.
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("AlCaHLTBitMonitor")
0004
0005 ### standard MessageLoggerConfiguration
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007
0008 ### Standard Configurations
0009 process.load("Configuration.StandardSequences.Services_cff")
0010 process.load("DQMServices.Core.DQM_cfg")
0011 process.load("DQMServices.Components.DQMEnvironment_cfi")
0012
0013 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0014 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0015 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0016
0017 ### Conditions
0018 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0019 process.GlobalTag.globaltag = '%%%GLOBALTAG%%%'
0020
0021 process.MessageLogger.cerr = cms.untracked.PSet(enable = cms.untracked.bool(False))
0022 process.MessageLogger = cms.Service("MessageLogger",
0023 destinations = cms.untracked.vstring("%%%LOGFILE%%%"),
0024 %%%LOGFILE%%% = cms.untracked.PSet(
0025 threshold = cms.untracked.string('DEBUG')
0026 ),
0027 )
0028 process.MessageLogger.%%%LOGFILE%%% = cms.untracked.PSet(
0029 INFO = cms.untracked.PSet(
0030 reportEvery = cms.untracked.int32(1000)
0031 )
0032 )
0033
0034 ##Input Datasample
0035 %%%DATA%%%
0036
0037 process.hltMonBits = cms.EDAnalyzer("HLTMonBitSummary",
0038 directory = cms.untracked.string("HLT_Summary"),
0039 histLabel = cms.untracked.string("MinBiasRun"),
0040 HLTPaths = cms.vstring('.*'),
0041 denominatorWild = cms.untracked.string(''),
0042 denominator = cms.untracked.string(''),
0043 TriggerResultsTag = cms.InputTag('TriggerResults','','HLT'),
0044 )
0045
0046 import FWCore.PythonUtilities.LumiList as LumiList
0047 import FWCore.ParameterSet.Types as CfgTypes
0048 myLumis = LumiList.LumiList(filename = '%%%JSON%%%').getCMSSWString().split(',')
0049 process.source.lumisToProcess = CfgTypes.untracked(CfgTypes.VLuminosityBlockRange())
0050 process.source.lumisToProcess.extend(myLumis)
0051
0052 process.load("DQMServices/Components/EDMtoMEConverter_cff")
0053
0054 process.options = cms.untracked.PSet(
0055 wantSummary = cms.untracked.bool(False),
0056 Rethrow = cms.untracked.vstring("ProductNotFound"), # make this exception fatal
0057 fileMode = cms.untracked.string('NOMERGE') # no ordering needed, but calls endRun/beginRun etc. at file boundaries
0058 )
0059
0060 process.dqmSaver.convention = 'Offline'
0061 process.dqmSaver.workflow = '/Validation/MinBias/ALCARECO'
0062 process.dqmSaver.saveAtJobEnd = True
0063 process.dqmSaver.forceRunNumber = 100000
0064 process.dqmSaver.saveByEvent = -1
0065 process.dqmSaver.saveByRun = -1
0066 process.dqmSaver.dirName = '%%%KEYNAME%%%'
0067 process.dqmSaver.referenceHandling = 'all'
0068 process.EDMtoMEConverter.convertOnEndLumi = True
0069 process.EDMtoMEConverter.convertOnEndRun = True
0070
0071 process.p2 = cms.Path(
0072 process.hltMonBits*
0073 process.dqmSaver
0074 )