Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:04

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 # load the full reconstraction configuration, to make sure we're getting all needed dependencies
0016 process.load("Configuration.StandardSequences.MagneticField_cff")
0017 #process.load("Configuration.StandardSequences.GeometryRecoDB_cff") #old one, to use for old releases
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 #process.GlobalTag.globaltag = 'START70_V2::All'
0023 
0024 
0025 process.source = cms.Source("PoolSource",
0026                             fileNames = cms.untracked.vstring(
0027 # "/store/data/Run2011B/SingleMu/AOD/PromptReco-v1/000/179/889/00EC507F-CD01-E111-8EA1-BCAEC5329724.root",
0028 # "/store/data/Run2011B/SingleMu/AOD/PromptReco-v1/000/179/889/02312EAD-F801-E111-8370-001D09F251D1.root",
0029 # "/store/data/Run2011B/SingleMu/AOD/PromptReco-v1/000/179/889/0257B47B-0002-E111-A397-003048F1183E.root",
0030 # "/store/data/Run2011B/SingleMu/AOD/PromptReco-v1/000/179/889/041C6C9D-F601-E111-A1C8-001D09F251FE.root",
0031 # "/store/data/Run2011B/SingleMu/AOD/PromptReco-v1/000/179/889/08D80B70-0502-E111-81B1-002481E0D958.root",
0032 # "/store/data/Run2011B/SingleMu/AOD/PromptReco-v1/000/179/889/0CB1E6B5-1F03-E111-924B-003048F118DE.root",
0033 # "/store/data/Run2011B/SingleMu/AOD/PromptReco-v1/000/179/889/102E699B-AB01-E111-8D71-BCAEC53296FC.root",
0034 # "/store/data/Run2011B/SingleMu/AOD/PromptReco-v1/000/179/889/10C174C9-D401-E111-AE6D-00237DDC5BBC.root"
0035 #    'file:/tmp/andriusj/ZmmPU.root'
0036     'file:/tmp/andriusj/Data2012D_DoubleMu.root'
0037 #    'file:/tmp/andriusj/ZeePU.root'
0038 )
0039 )
0040 
0041 runOnData = False
0042 
0043 #process.dqmEnv.subSystemFolder = 'SMP'
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            #threshold = cms.untracked.string('ERROR')
0066     )
0067 )
0068 
0069 #process.ana = cms.EDAnalyzer("EventContentAnalyzer")
0070 process.p = cms.Path(process.ewkMuDQM+process.dqmSaver)
0071