Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:26

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 #! /bin/env cmsRun
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 runOnMC = True
0008 
0009 process = cms.Process("harvest")
0010 process.load("DQMServices.Components.DQMEnvironment_cfi")
0011 
0012 #keep the logging output to a nice level
0013 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0014 
0015 process.load("DQMServices.Core.DQM_cfg")
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(-1)
0019 )
0020 process.source = cms.Source("DQMRootSource",
0021     fileNames = cms.untracked.vstring()
0022 )
0023 
0024 process.load("Validation.RecoB.bTagAnalysis_harvesting_cfi")
0025 if runOnMC:
0026     process.dqmSeq = cms.Sequence(process.bTagValidationHarvest * process.dqmSaver)
0027 else:
0028     process.dqmSeq = cms.Sequence(process.bTagValidationHarvestData * process.dqmSaver)
0029 
0030 process.plots = cms.Path(process.dqmSeq)
0031 
0032 process.dqmEnv.subSystemFolder = 'BTAG'
0033 process.dqmSaver.producer = 'DQM'
0034 process.dqmSaver.workflow = '/POG/BTAG/BJET'
0035 process.dqmSaver.convention = 'Offline'
0036 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0037 process.dqmSaver.saveAtJobEnd =cms.untracked.bool(True) 
0038 process.dqmSaver.forceRunNumber = cms.untracked.int32(1)
0039 
0040 process.DQMRootSource.fileNames = [
0041 
0042 ]
0043