File indexing completed on 2024-04-06 12:08:10
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("EwkDQM")
0004 process.load("DQM.Physics.ewkMuDQM_cfi")
0005
0006 process.load("DQMServices.Core.DQM_cfg")
0007 process.load("DQMServices.Components.DQMEnvironment_cfi")
0008 process.DQM.collectorHost = ''
0009
0010
0011 process.maxEvents = cms.untracked.PSet(
0012 input = cms.untracked.int32(-1)
0013 )
0014
0015
0016 process.load("Configuration.StandardSequences.MagneticField_cff")
0017
0018 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0020 process.load("Configuration.StandardSequences.Reconstruction_cff")
0021 process.GlobalTag.globaltag = 'FT_53_V21_AN6::All'
0022
0023
0024
0025 process.source = cms.Source("PoolSource",
0026 fileNames = cms.untracked.vstring(
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036 'file:/tmp/andriusj/Data2012D_DoubleMu.root'
0037
0038 )
0039 )
0040
0041 runOnData = False
0042
0043
0044 process.dqmSaver.producer = 'DQM'
0045 process.dqmSaver.workflow = cms.untracked.string('/Physics/EWK/Muon')
0046 process.dqmSaver.convention = 'Offline'
0047 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0048 process.dqmSaver.saveAtJobEnd =cms.untracked.bool(True)
0049 process.dqmSaver.forceRunNumber = cms.untracked.int32(1)
0050
0051 if runOnData:
0052 process.dqmSaver.saveByRun = cms.untracked.int32(1)
0053 process.dqmSaver.saveAtJobEnd =cms.untracked.bool(False)
0054 process.dqmSaver.forceRunNumber = cms.untracked.int32(-1)
0055
0056
0057
0058 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0059 process.MessageLogger.cerr.FwkReport.reportEvery = 1
0060 process.MessageLogger = cms.Service("MessageLogger",
0061 destinations = cms.untracked.vstring('detailedInfo'),
0062 detailedInfo = cms.untracked.PSet(
0063 default = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0064 threshold = cms.untracked.string('DEBUG')
0065
0066 )
0067 )
0068
0069
0070 process.p = cms.Path(process.ewkMuDQM+process.dqmSaver)
0071