Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('TOPDQM')
0004 
0005 ## imports of standard configurations
0006 process.load('DQMOffline.Configuration.DQMOffline_cff')
0007 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0008 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0009 
0010  
0011 from Configuration.AlCa.GlobalTag import GlobalTag
0012 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
0013 
0014 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '') 
0015 
0016 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring())
0017 process.source.skipEvents = cms.untracked.uint32(0)
0018 process.source.fileNames = ['/store/relval/CMSSW_11_1_0_pre3/RelValTTbar_14TeV/MINIAODSIM/110X_mcRun3_2021_realistic_v8-v1/10000/65810A7D-A696-2C4A-BC49-994FCCDCF515.root'] 
0019 
0020 #process.source.fileNames = ['/store/relval/CMSSW_11_1_0_pre2/RelValTTbar_14TeV/MINIAODSIM/110X_mcRun3_2021_realistic_v6-v1/20000/F594311A-0167-1A41-9984-753E9AFB1279.root']
0021 
0022 
0023 ## number of events
0024 process.maxEvents = cms.untracked.PSet(
0025   input = cms.untracked.int32(-1)
0026 )
0027 
0028 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0029 process.load("Configuration.StandardSequences.MagneticField_cff")
0030 process.load("DQM.Physics.topElectronID_cff")
0031 process.load('Configuration/StandardSequences/Reconstruction_cff')
0032 
0033 
0034 ## output
0035 process.output = cms.OutputModule("PoolOutputModule",
0036   fileName       = cms.untracked.string('topDQM_production.root'),
0037   outputCommands = cms.untracked.vstring(
0038     'drop *_*_*_*',
0039     'keep *_*_*_TOPDQM',
0040     'drop *_TriggerResults_*_TOPDQM',
0041     'drop *_simpleEleId70cIso_*_TOPDQM',
0042   ),
0043   splitLevel     = cms.untracked.int32(0),
0044   dataset = cms.untracked.PSet(
0045     dataTier   = cms.untracked.string(''),
0046     filterName = cms.untracked.string('')
0047   )
0048 )
0049 
0050 
0051 ## check the event content
0052 process.content = cms.EDAnalyzer("EventContentAnalyzer")
0053 
0054 ## configure message logger
0055 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0056 process.MessageLogger.cerr.threshold = 'INFO'
0057 process.MessageLogger.cerr.TopSingleLeptonDQM    = cms.untracked.PSet(limit = cms.untracked.int32(1))
0058 process.MessageLogger.cerr.TopDiLeptonOfflineDQM = cms.untracked.PSet(limit = cms.untracked.int32(1))
0059 process.MessageLogger.cerr.SingleTopTChannelLeptonDQM    = cms.untracked.PSet(limit = cms.untracked.int32(1))
0060 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0061 
0062 
0063 process.load("DQM.Physics.topSingleLeptonDQM_miniAOD_cfi")
0064 process.load("DQM.Physics.singleTopDQM_miniAOD_cfi")
0065 
0066 
0067 ## path definitions
0068 process.p      = cms.Path(
0069 #    process.simpleEleId70cIso          *
0070 #    process.DiMuonDQM                  +
0071 #    process.DiElectronDQM              +
0072 #    process.ElecMuonDQM                +
0073     #process.topSingleMuonLooseDQM      +
0074     process.topSingleMuonMediumDQM_miniAOD  +
0075     #process.topSingleElectronLooseDQM  +
0076     process.topSingleElectronMediumDQM_miniAOD +
0077     process.singleTopMuonMediumDQM_miniAOD     +
0078     process.singleTopElectronMediumDQM_miniAOD
0079 )
0080 process.endjob = cms.Path(
0081     process.endOfProcess
0082 )
0083 process.fanout = cms.EndPath(
0084     process.output
0085 )
0086 
0087 ## schedule definition
0088 process.schedule = cms.Schedule(
0089     process.p,
0090     process.endjob,
0091     process.fanout
0092 )