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