Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ## Declare Process
0004 process = cms.Process( "TEST" )
0005 
0006 ## Configure MessageLogger
0007 process.load( "FWCore.MessageService.MessageLogger_cfi" )
0008 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0009 process.options = cms.untracked.PSet(
0010     wantSummary = cms.untracked.bool( False )
0011 )
0012 
0013 ## Declare input
0014 from PhysicsTools.PatExamples.samplesCERN_cff import zjetsTrigger
0015 process.source = cms.Source( "PoolSource",
0016     fileNames = zjetsTrigger
0017 )
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32( -1 )
0021 )
0022 
0023 ## Define output file
0024 process.TFileService = cms.Service( "TFileService",
0025     fileName = cms.string( 'analyzePatTriggerTagAndProbe.root' )
0026 )
0027 
0028 ## Define tag and probre analyzer
0029 process.tagAndProbeAnalysis = cms.EDAnalyzer( "PatTriggerTagAndProbe",
0030     triggerEvent = cms.InputTag( "patTriggerEvent" ),
0031     muons        = cms.InputTag( "cleanPatMuons" ),
0032     muonMatch    = cms.string( 'muonTriggerMatchHLTMuons' )
0033 )
0034 
0035 process.p = cms.Path(
0036     process.tagAndProbeAnalysis
0037 )