Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('BDHadronTrackMonitorHarvesterDQM')
0004 
0005 # import of standard configurations
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 process.load('Configuration.EventContent.EventContent_cff')
0009 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0010 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0011 process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 
0014 # load DQM
0015 process.load("DQMServices.Core.DQM_cfg")
0016 process.load("DQMServices.Components.DQMEnvironment_cfi")
0017 
0018 # my Harvester
0019 process.load('Validation.RecoB.BDHadronTrackMonitoring_cfi')
0020 
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(1)
0024 )
0025 
0026 # Input source
0027 process.source = cms.Source("DQMRootSource",
0028                             fileNames = cms.untracked.vstring("file:OUT.root"))
0029 
0030 
0031 # Other statements
0032 from Configuration.AlCa.GlobalTag import GlobalTag
0033 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:mc', '')  #for MC
0034 
0035 
0036 
0037 # Path and EndPath definitions
0038 process.BDHadronTrackMonitoringHarvester = cms.Path(process.BDHadronTrackMonitoringHarvest)
0039 #process.myEff = cms.Path(process.DQMExample_GenericClient)
0040 #process.myTest = cms.Path(process.DQMExample_qTester)
0041 process.dqmsave_step = cms.Path(process.DQMSaver)
0042 
0043 # Schedule definition
0044 process.schedule = cms.Schedule(
0045                                 process.BDHadronTrackMonitoringHarvester,
0046                                 process.dqmsave_step
0047     )
0048 
0049 process.DQMStore.verbose =  cms.untracked.int32(1)
0050 process.DQMStore.verboseQT =  cms.untracked.int32(1)
0051 
0052 #process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0053 #process.dqmSaver.forceRunNumber = cms.untracked.int32(123456)
0054 
0055 #process.dqmSaver.workflow = '/TTbarLepton/myTest/DQM'