File indexing completed on 2024-11-28 03:54:28
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 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring())
0018 process.source.skipEvents = cms.untracked.uint32(0)
0019
0020 process.source.fileNames = ['root://cmsxrootd.fnal.gov//store/relval/CMSSW_14_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-RECO/PU_140X_mcRun3_2024_realistic_v26_STD_2024_PU-v1/2590000/3c568c90-b6ff-43be-9b24-8b4e9d862185.root']
0021
0022
0023 process.maxEvents = cms.untracked.PSet(
0024 input = cms.untracked.int32(-1)
0025 )
0026
0027 process.load("Configuration.StandardSequences.MagneticField_cff")
0028 process.load("DQM.Physics.topElectronID_cff")
0029 process.load('Configuration/StandardSequences/Reconstruction_cff')
0030
0031
0032
0033 process.output = cms.OutputModule("PoolOutputModule",
0034 fileName = cms.untracked.string('topDQM_production.root'),
0035 outputCommands = cms.untracked.vstring(
0036 'drop *_*_*_*',
0037 'keep *_*_*_TOPDQM',
0038 'drop *_TriggerResults_*_TOPDQM',
0039 'drop *_simpleEleId70cIso_*_TOPDQM',
0040 ),
0041 splitLevel = cms.untracked.int32(0),
0042 dataset = cms.untracked.PSet(
0043 dataTier = cms.untracked.string(''),
0044 filterName = cms.untracked.string('')
0045 )
0046 )
0047
0048
0049 process.load("JetMETCorrections.Configuration.JetCorrectors_cff")
0050 process.dqmAk4PFCHSL1FastL2L3Corrector = process.ak4PFCHSL1FastL2L3Corrector.clone()
0051 process.jetCorrectorsSeq = cms.Sequence(process.jetCorrectorsTask)
0052 process.dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(process.dqmAk4PFCHSL1FastL2L3Corrector)
0053
0054
0055 process.content = cms.EDAnalyzer("EventContentAnalyzer")
0056
0057
0058 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0059 process.MessageLogger.cerr.threshold = 'INFO'
0060 process.MessageLogger.cerr.TopSingleLeptonDQM = cms.untracked.PSet(limit = cms.untracked.int32(1))
0061 process.MessageLogger.cerr.TopDiLeptonOfflineDQM = cms.untracked.PSet(limit = cms.untracked.int32(1))
0062 process.MessageLogger.cerr.SingleTopTChannelLeptonDQM = cms.untracked.PSet(limit = cms.untracked.int32(1))
0063 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0064 process.MEtoEDMConverter.deleteAfterCopy = cms.untracked.bool(False)
0065
0066
0067 process.load("DQM.Physics.topSingleLeptonDQM_cfi")
0068 process.load("DQM.Physics.singleTopDQM_cfi")
0069
0070
0071
0072 process.p = cms.Path(
0073
0074
0075
0076
0077 process.jetCorrectorsSeq * process.dqmAk4PFCHSL1FastL2L3CorrectorChain *
0078 process.topSingleMuonMediumDQM +
0079
0080
0081 process.topSingleElectronMediumDQM +
0082
0083 process.singleTopMuonMediumDQM +
0084
0085 process.singleTopElectronMediumDQM
0086
0087 )
0088 process.endjob = cms.Path(
0089 process.endOfProcess
0090 )
0091 process.fanout = cms.EndPath(
0092 process.output
0093 )
0094
0095
0096 process.schedule = cms.Schedule(
0097 process.p,
0098 process.endjob,
0099 process.fanout
0100 )