Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-18 00:40:07

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("HLT")
0004 
0005 
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 process.options = cms.untracked.PSet(
0008     wantSummary = cms.untracked.bool(True)
0009 )
0010 
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(10)
0014 )
0015 
0016 process.source = cms.Source("PoolSource",
0017     fileNames = cms.untracked.vstring('file:/scratch/bachtis/RECO-ZTT-GEN-SIM-DIGI-0013.root')
0018 )
0019 
0020 process.load("Configuration.StandardSequences.GeometryPilot2_cff")
0021 process.load("Configuration.StandardSequences.MagneticField_cff")
0022 
0023 # Conditions: fake or frontier
0024 # process.load("Configuration.StandardSequences.FakeConditions_cff")
0025 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0026 process.GlobalTag.globaltag = 'STARTUP_V4::All'
0027 
0028 process.load("Configuration.StandardSequences.L1Emulator_cff")
0029 # Choose a menu/prescale/mask from one of the choices
0030 # in L1TriggerConfig.L1GtConfigProducers.Luminosity
0031 process.load("Configuration.StandardSequences.L1TriggerDefaultMenu_cff")
0032 
0033 # run HLT
0034 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0035 process.load("HLTrigger.Configuration.HLT_2E30_cff")
0036 
0037 process.hltL1gtTrigReport = cms.EDAnalyzer( "L1GtTrigReport",
0038     UseL1GlobalTriggerRecord = cms.bool( False ),
0039     L1GtRecordInputTag = cms.InputTag( "hltGtDigis" )
0040 )
0041 process.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
0042     HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT' )
0043 )
0044 process.HLTAnalyzerEndpath = cms.EndPath( process.hltL1gtTrigReport + process.hltTrigReport )
0045 process.schedule.append(process.HLTAnalyzerEndpath)
0046 
0047 process.load("FWCore.MessageService.MessageLogger_cfi")
0048 process.DQMStore = cms.Service("DQMStore")
0049 
0050 #Load DQM Services
0051 process.load("DQMServices.Core.DQM_cfg")
0052 process.load("DQMServices.Components.DQMEnvironment_cfi")
0053 
0054 
0055 #Reconfigure Environment and saver
0056 #process.dqmEnv.subSystemFolder = cms.untracked.string('HLT/HLTTAU')
0057 #process.DQM.collectorPort = 9091
0058 #process.DQM.collectorHost = cms.untracked.string('pcwiscms10')
0059 
0060 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0061 process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0062 process.dqmSaver.workflow = cms.untracked.string('/A/N/C')
0063 process.dqmSaver.forceRunNumber = cms.untracked.int32(123)
0064 
0065 
0066 #Load the Validation
0067 process.load("HLTriggerOffline.Tau.Validation.HLTTauValidation_cff")
0068 
0069 #Load The Post processor
0070 process.load("HLTriggerOffline.Tau.Validation.HLTTauPostValidation_cfi")
0071 
0072 
0073 #Define the Paths
0074 process.validation = cms.Path(process.HLTTauVal)
0075 
0076 process.postProcess = cms.EndPath(process.HLTTauPostVal+process.dqmSaver)
0077 #process.postProcess = cms.EndPath(process.dqmSaver)
0078 
0079 process.schedule.append(process.validation)
0080 process.schedule.append(process.postProcess)
0081 
0082