Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:10

0001 ## THIS IS CURRENTLY COMPATIBLE ONLY WITH SINGLE TOP MODULES 
0002 ## since the b-tagging algorithms are here re-run with PFJets as input
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process('B2GDQM')
0007 
0008 ## imports of standard configurations
0009 process.load('DQMOffline.Configuration.DQMOffline_cff')
0010 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0011 
0012 ## input file(s) for testing
0013 process.source = cms.Source("PoolSource",
0014     fileNames = cms.untracked.vstring(
0015 '/store/relval/CMSSW_7_2_0_pre5/RelValRSKKGluon_m3000GeV_13/GEN-SIM-RECO/POSTLS172_V3-v1/00000/28A38647-FA30-E411-8A85-0025905A608C.root',
0016 '/store/relval/CMSSW_7_2_0_pre5/RelValRSKKGluon_m3000GeV_13/GEN-SIM-RECO/POSTLS172_V3-v1/00000/943D26E9-7B30-E411-8D18-0025905A48D8.root',
0017 '/store/relval/CMSSW_7_2_0_pre5/RelValRSKKGluon_m3000GeV_13/GEN-SIM-RECO/POSTLS172_V3-v1/00000/CE57EA42-7830-E411-8A2E-0025905A6132.root'
0018      )
0019 )
0020 
0021 ## number of events
0022 process.maxEvents = cms.untracked.PSet(
0023   input = cms.untracked.int32(-1)
0024 )
0025 
0026 process.load("DQM.Physics.B2GDQM_cfi")
0027 
0028 
0029 
0030 ## output
0031 process.output = cms.OutputModule("PoolOutputModule",
0032   fileName       = cms.untracked.string('b2gDQM.root'),
0033   outputCommands = cms.untracked.vstring(
0034     'drop *_*_*_*',
0035     'keep *_*_*_B2GDQM'
0036     ),
0037   splitLevel     = cms.untracked.int32(0),
0038   dataset = cms.untracked.PSet(
0039     dataTier   = cms.untracked.string(''),
0040     filterName = cms.untracked.string('')
0041   )
0042 )
0043 
0044 ## check the event content
0045 process.content = cms.EDAnalyzer("EventContentAnalyzer")
0046 
0047 ## path definitions
0048 process.p      = cms.Path(
0049     process.B2GDQM
0050     
0051 )
0052 process.endjob = cms.Path(
0053     process.endOfProcess
0054 )
0055 
0056 process.fanout = cms.EndPath(
0057     process.output
0058 )
0059 
0060 
0061 ## schedule definition
0062 process.schedule = cms.Schedule(
0063     process.p,
0064     process.endjob,
0065     process.fanout
0066 )