Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("HLTVAL")
0004 
0005 
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0008 #
0009 process.options = cms.untracked.PSet(
0010     wantSummary = cms.untracked.bool(True)
0011 )
0012 
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input = cms.untracked.int32(-1)
0016 )
0017 
0018 process.source = cms.Source("PoolSource",
0019     fileNames = cms.untracked.vstring(
0020     '/store/relval/CMSSW_9_0_0/RelValQQH1352T_13/GEN-SIM-RECO/90X_mcRun2_asymptotic_v5-v1/00000/00BB2C00-480F-E711-9381-0CC47A7C3636.root',
0021     '/store/relval/CMSSW_9_0_0/RelValQQH1352T_13/GEN-SIM-RECO/90X_mcRun2_asymptotic_v5-v1/00000/2ED8B184-480F-E711-8E31-0CC47A4C8E28.root',
0022     '/store/relval/CMSSW_9_0_0/RelValQQH1352T_13/GEN-SIM-RECO/90X_mcRun2_asymptotic_v5-v1/00000/C8E5EDFA-480F-E711-994B-0025905B85CA.root'
0023     )
0024 )
0025 
0026 # Set GlobalTag (automatically)
0027 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0028 from Configuration.AlCa.GlobalTag import GlobalTag
0029 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:mc', '')
0030 
0031 #Load DQM Services
0032 process.load("DQMServices.Core.DQM_cfg")
0033 process.load("DQMServices.Components.DQMEnvironment_cfi")
0034 
0035 
0036 #Reconfigure Environment and saver
0037 #process.dqmEnv.subSystemFolder = cms.untracked.string('HLT/HLTTAU')
0038 #process.DQM.collectorPort = 9091
0039 #process.DQM.collectorHost = cms.untracked.string('pcwiscms10')
0040 
0041 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0042 process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0043 process.dqmSaver.workflow = cms.untracked.string('/A/N/C')
0044 process.dqmSaver.forceRunNumber = cms.untracked.int32(123)
0045 
0046 
0047 #Load the Validation
0048 process.load("HLTriggerOffline.Tau.Validation.HLTTauValidation_cff")
0049 
0050 #Load The Post processor
0051 process.load("HLTriggerOffline.Tau.Validation.HLTTauPostValidation_cfi")
0052 process.load("HLTriggerOffline.Tau.Validation.HLTTauQualityTests_cff")
0053 
0054 
0055 #Define the Paths
0056 process.validation = cms.Path(process.HLTTauVal)
0057 
0058 process.postProcess = cms.EndPath(process.HLTTauPostVal+process.hltTauRelvalQualityTests+process.dqmSaver)
0059 #process.postProcess = cms.EndPath(process.dqmSaver)
0060 process.schedule =cms.Schedule(process.validation,process.postProcess)
0061 
0062 
0063