File indexing completed on 2023-03-17 10:55:53
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process('TOPDQM')
0004
0005
0006
0007 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0008 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0009 process.load('Configuration.StandardSequences.Services_cff')
0010
0011 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0012
0013 from Configuration.AlCa.GlobalTag import GlobalTag
0014
0015 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0016
0017
0018 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring())
0019 process.source.skipEvents = cms.untracked.uint32(0)
0020
0021
0022
0023
0024 process.source.fileNames = ['/store/relval/CMSSW_11_1_0_pre2/RelValTTbar_14TeV/GEN-SIM-RECO/110X_mcRun3_2021_realistic_v6-v1/20000/A8E66994-05C0-104A-A0F3-4D393C7E30C8.root']
0025
0026
0027 process.maxEvents = cms.untracked.PSet(
0028 input = cms.untracked.int32(-1)
0029 )
0030
0031 process.load("Configuration.StandardSequences.MagneticField_cff")
0032 process.load("DQM.Physics.topElectronID_cff")
0033 process.load('Configuration/StandardSequences/Reconstruction_cff')
0034
0035
0036
0037 process.output = cms.OutputModule("PoolOutputModule",
0038 fileName = cms.untracked.string('topDQM_production.root'),
0039 outputCommands = cms.untracked.vstring(
0040 'drop *_*_*_*',
0041 'keep *_*_*_TOPDQM',
0042 'drop *_TriggerResults_*_TOPDQM',
0043 'drop *_simpleEleId70cIso_*_TOPDQM',
0044 ),
0045 splitLevel = cms.untracked.int32(0),
0046 dataset = cms.untracked.PSet(
0047 dataTier = cms.untracked.string(''),
0048 filterName = cms.untracked.string('')
0049 )
0050 )
0051
0052
0053 process.load("JetMETCorrections.Configuration.JetCorrectors_cff")
0054 process.dqmAk4PFCHSL1FastL2L3Corrector = process.ak4PFCHSL1FastL2L3Corrector.clone()
0055 process.jetCorrectorsSeq = cms.Sequence(process.jetCorrectorsTask)
0056 process.dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(process.dqmAk4PFCHSL1FastL2L3Corrector)
0057
0058
0059 process.content = cms.EDAnalyzer("EventContentAnalyzer")
0060
0061
0062 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0063 process.MessageLogger.cerr.threshold = 'INFO'
0064 process.MessageLogger.cerr.TopSingleLeptonDQM = cms.untracked.PSet(limit = cms.untracked.int32(1))
0065 process.MessageLogger.cerr.TopDiLeptonOfflineDQM = cms.untracked.PSet(limit = cms.untracked.int32(1))
0066 process.MessageLogger.cerr.SingleTopTChannelLeptonDQM = cms.untracked.PSet(limit = cms.untracked.int32(1))
0067 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0068 process.MEtoEDMConverter.deleteAfterCopy = cms.untracked.bool(False)
0069
0070
0071 process.load("DQM.Physics.topSingleLeptonDQM_cfi")
0072 process.load("DQM.Physics.singleTopDQM_cfi")
0073
0074
0075
0076 process.p = cms.Path(
0077
0078
0079
0080
0081 process.jetCorrectorsSeq * process.dqmAk4PFCHSL1FastL2L3CorrectorChain *
0082 process.topSingleMuonMediumDQM +
0083
0084
0085 process.topSingleElectronMediumDQM +
0086
0087 process.singleTopMuonMediumDQM +
0088
0089 process.singleTopElectronMediumDQM
0090
0091 )
0092 process.endjob = cms.Path(
0093 process.endOfProcess
0094 )
0095 process.fanout = cms.EndPath(
0096 process.output
0097 )
0098
0099
0100 process.schedule = cms.Schedule(
0101 process.p,
0102 process.endjob,
0103 process.fanout
0104 )