File indexing completed on 2024-04-06 12:14:48
0001
0002
0003
0004
0005
0006 import FWCore.ParameterSet.Config as cms
0007
0008 from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
0009
0010 process = cms.Process('RECO',Run2_2017)
0011
0012
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 process.load('Configuration.EventContent.EventContent_cff')
0017 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0018 process.load('Configuration.Geometry.GeometryExtended2017DDDReco_cff')
0019 process.load('Configuration.StandardSequences.MagneticField_cff')
0020 process.load('Configuration.StandardSequences.RawToDigi_cff')
0021 process.load('Configuration.StandardSequences.L1Reco_cff')
0022 process.load('Configuration.StandardSequences.Reconstruction_cff')
0023 process.load('Configuration.StandardSequences.RecoSim_cff')
0024 process.load('PhysicsTools.PatAlgos.slimming.metFilterPaths_cff')
0025 process.load('Configuration.StandardSequences.PATMC_cff')
0026 process.load('Configuration.StandardSequences.Validation_cff')
0027 process.load('DQMServices.Core.DQMStoreNonLegacy_cff')
0028 process.load('DQMOffline.Configuration.DQMOfflineMC_cff')
0029 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0030
0031 process.maxEvents = cms.untracked.PSet(
0032 input = cms.untracked.int32(10),
0033 output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0034 )
0035
0036
0037 process.source = cms.Source("PoolSource",
0038 fileNames = cms.untracked.vstring('file:step2.root'),
0039 secondaryFileNames = cms.untracked.vstring()
0040 )
0041
0042 process.options = cms.untracked.PSet(
0043 IgnoreCompletely = cms.untracked.vstring(),
0044 Rethrow = cms.untracked.vstring(),
0045 TryToContinue = cms.untracked.vstring(),
0046 accelerators = cms.untracked.vstring('*'),
0047 allowUnscheduled = cms.obsolete.untracked.bool,
0048 canDeleteEarly = cms.untracked.vstring(),
0049 deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0050 dumpOptions = cms.untracked.bool(False),
0051 emptyRunLumiMode = cms.obsolete.untracked.string,
0052 eventSetup = cms.untracked.PSet(
0053 forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0054 allowAnyLabel_=cms.required.untracked.uint32
0055 ),
0056 numberOfConcurrentIOVs = cms.untracked.uint32(0)
0057 ),
0058 fileMode = cms.untracked.string('FULLMERGE'),
0059 forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0060 makeTriggerResults = cms.obsolete.untracked.bool,
0061 numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
0062 numberOfConcurrentRuns = cms.untracked.uint32(1),
0063 numberOfStreams = cms.untracked.uint32(0),
0064 numberOfThreads = cms.untracked.uint32(1),
0065 printDependencies = cms.untracked.bool(False),
0066 sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0067 throwIfIllegalParameter = cms.untracked.bool(True),
0068 wantSummary = cms.untracked.bool(False)
0069 )
0070
0071
0072 process.configurationMetadata = cms.untracked.PSet(
0073 annotation = cms.untracked.string('step3 nevts:10'),
0074 name = cms.untracked.string('Applications'),
0075 version = cms.untracked.string('$Revision: 1.19 $')
0076 )
0077
0078
0079
0080 process.RECOSIMoutput = cms.OutputModule("PoolOutputModule",
0081 dataset = cms.untracked.PSet(
0082 dataTier = cms.untracked.string('GEN-SIM-RECO'),
0083 filterName = cms.untracked.string('')
0084 ),
0085 fileName = cms.untracked.string('file:step3.root'),
0086 outputCommands = process.RECOSIMEventContent.outputCommands,
0087 splitLevel = cms.untracked.int32(0)
0088 )
0089
0090 process.MINIAODSIMoutput = cms.OutputModule("PoolOutputModule",
0091 compressionAlgorithm = cms.untracked.string('LZMA'),
0092 compressionLevel = cms.untracked.int32(4),
0093 dataset = cms.untracked.PSet(
0094 dataTier = cms.untracked.string('MINIAODSIM'),
0095 filterName = cms.untracked.string('')
0096 ),
0097 dropMetaData = cms.untracked.string('ALL'),
0098 eventAutoFlushCompressedSize = cms.untracked.int32(-900),
0099 fastCloning = cms.untracked.bool(False),
0100 fileName = cms.untracked.string('file:step3_inMINIAODSIM.root'),
0101 outputCommands = process.MINIAODSIMEventContent.outputCommands,
0102 overrideBranchesSplitLevel = cms.untracked.VPSet(
0103 cms.untracked.PSet(
0104 branch = cms.untracked.string('patPackedCandidates_packedPFCandidates__*'),
0105 splitLevel = cms.untracked.int32(99)
0106 ),
0107 cms.untracked.PSet(
0108 branch = cms.untracked.string('recoGenParticles_prunedGenParticles__*'),
0109 splitLevel = cms.untracked.int32(99)
0110 ),
0111 cms.untracked.PSet(
0112 branch = cms.untracked.string('patTriggerObjectStandAlones_slimmedPatTrigger__*'),
0113 splitLevel = cms.untracked.int32(99)
0114 ),
0115 cms.untracked.PSet(
0116 branch = cms.untracked.string('patPackedGenParticles_packedGenParticles__*'),
0117 splitLevel = cms.untracked.int32(99)
0118 ),
0119 cms.untracked.PSet(
0120 branch = cms.untracked.string('patJets_slimmedJets__*'),
0121 splitLevel = cms.untracked.int32(99)
0122 ),
0123 cms.untracked.PSet(
0124 branch = cms.untracked.string('recoVertexs_offlineSlimmedPrimaryVertices__*'),
0125 splitLevel = cms.untracked.int32(99)
0126 ),
0127 cms.untracked.PSet(
0128 branch = cms.untracked.string('recoVertexs_offlineSlimmedPrimaryVerticesWithBS__*'),
0129 splitLevel = cms.untracked.int32(99)
0130 ),
0131 cms.untracked.PSet(
0132 branch = cms.untracked.string('recoCaloClusters_reducedEgamma_reducedESClusters_*'),
0133 splitLevel = cms.untracked.int32(99)
0134 ),
0135 cms.untracked.PSet(
0136 branch = cms.untracked.string('EcalRecHitsSorted_reducedEgamma_reducedEBRecHits_*'),
0137 splitLevel = cms.untracked.int32(99)
0138 ),
0139 cms.untracked.PSet(
0140 branch = cms.untracked.string('EcalRecHitsSorted_reducedEgamma_reducedEERecHits_*'),
0141 splitLevel = cms.untracked.int32(99)
0142 ),
0143 cms.untracked.PSet(
0144 branch = cms.untracked.string('recoGenJets_slimmedGenJets__*'),
0145 splitLevel = cms.untracked.int32(99)
0146 ),
0147 cms.untracked.PSet(
0148 branch = cms.untracked.string('patJets_slimmedJetsPuppi__*'),
0149 splitLevel = cms.untracked.int32(99)
0150 ),
0151 cms.untracked.PSet(
0152 branch = cms.untracked.string('EcalRecHitsSorted_reducedEgamma_reducedESRecHits_*'),
0153 splitLevel = cms.untracked.int32(99)
0154 )
0155 ),
0156 overrideInputFileSplitLevels = cms.untracked.bool(True),
0157 splitLevel = cms.untracked.int32(0)
0158 )
0159
0160 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0161 dataset = cms.untracked.PSet(
0162 dataTier = cms.untracked.string('DQMIO'),
0163 filterName = cms.untracked.string('')
0164 ),
0165 fileName = cms.untracked.string('file:step3_inDQM.root'),
0166 outputCommands = process.DQMEventContent.outputCommands,
0167 splitLevel = cms.untracked.int32(0)
0168 )
0169
0170
0171
0172
0173 process.mix.playback = True
0174 process.mix.digitizers = cms.PSet()
0175 for a in process.aliases: delattr(process, a)
0176 process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string("randomEngineStateProducer")
0177 from Configuration.AlCa.GlobalTag import GlobalTag
0178 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2017_realistic', '')
0179
0180
0181 process.raw2digi_step = cms.Path(process.RawToDigi)
0182 process.L1Reco_step = cms.Path(process.L1Reco)
0183 process.reconstruction_step = cms.Path(process.reconstruction)
0184 process.recosim_step = cms.Path(process.recosim)
0185 process.Flag_BadChargedCandidateFilter = cms.Path(process.BadChargedCandidateFilter)
0186 process.Flag_BadChargedCandidateSummer16Filter = cms.Path(process.BadChargedCandidateSummer16Filter)
0187 process.Flag_BadPFMuonDzFilter = cms.Path(process.BadPFMuonDzFilter)
0188 process.Flag_BadPFMuonFilter = cms.Path(process.BadPFMuonFilter)
0189 process.Flag_BadPFMuonSummer16Filter = cms.Path(process.BadPFMuonSummer16Filter)
0190 process.Flag_CSCTightHalo2015Filter = cms.Path(process.CSCTightHalo2015Filter)
0191 process.Flag_CSCTightHaloFilter = cms.Path(process.CSCTightHaloFilter)
0192 process.Flag_CSCTightHaloTrkMuUnvetoFilter = cms.Path(process.CSCTightHaloTrkMuUnvetoFilter)
0193 process.Flag_EcalDeadCellBoundaryEnergyFilter = cms.Path(process.EcalDeadCellBoundaryEnergyFilter)
0194 process.Flag_EcalDeadCellTriggerPrimitiveFilter = cms.Path(process.EcalDeadCellTriggerPrimitiveFilter)
0195 process.Flag_HBHENoiseFilter = cms.Path(process.HBHENoiseFilterResultProducer+process.HBHENoiseFilter)
0196 process.Flag_HBHENoiseIsoFilter = cms.Path(process.HBHENoiseFilterResultProducer+process.HBHENoiseIsoFilter)
0197 process.Flag_HcalStripHaloFilter = cms.Path(process.HcalStripHaloFilter)
0198 process.Flag_METFilters = cms.Path(process.metFilters)
0199 process.Flag_chargedHadronTrackResolutionFilter = cms.Path(process.chargedHadronTrackResolutionFilter)
0200 process.Flag_ecalBadCalibFilter = cms.Path(process.ecalBadCalibFilter)
0201 process.Flag_ecalLaserCorrFilter = cms.Path(process.ecalLaserCorrFilter)
0202 process.Flag_eeBadScFilter = cms.Path(process.eeBadScFilter)
0203 process.Flag_globalSuperTightHalo2016Filter = cms.Path(process.globalSuperTightHalo2016Filter)
0204 process.Flag_globalTightHalo2016Filter = cms.Path(process.globalTightHalo2016Filter)
0205 process.Flag_goodVertices = cms.Path(process.primaryVertexFilter)
0206 process.Flag_hcalLaserEventFilter = cms.Path(process.hcalLaserEventFilter)
0207 process.Flag_hfNoisyHitsFilter = cms.Path(process.hfNoisyHitsFilter)
0208 process.Flag_muonBadTrackFilter = cms.Path(process.muonBadTrackFilter)
0209 process.Flag_trackingFailureFilter = cms.Path(process.goodVertices+process.trackingFailureFilter)
0210 process.Flag_trkPOGFilters = cms.Path(process.trkPOGFilters)
0211 process.Flag_trkPOG_logErrorTooManyClusters = cms.Path(~process.logErrorTooManyClusters)
0212 process.Flag_trkPOG_manystripclus53X = cms.Path(~process.manystripclus53X)
0213 process.Flag_trkPOG_toomanystripclus53X = cms.Path(~process.toomanystripclus53X)
0214 process.prevalidation_step = cms.Path(process.prevalidationNoHLT)
0215 process.prevalidation_step1 = cms.Path(process.prevalidationMiniAOD)
0216 process.validation_step = cms.EndPath(process.validationNoHLT)
0217 process.validation_step1 = cms.EndPath(process.validationMiniAOD)
0218 process.dqmoffline_step = cms.EndPath(process.DQMOfflineFakeHLT)
0219 process.dqmoffline_1_step = cms.EndPath(process.DQMOfflineMiniAOD)
0220 process.dqmofflineOnPAT_step = cms.EndPath(process.PostDQMOffline)
0221 process.dqmofflineOnPAT_1_step = cms.EndPath(process.PostDQMOfflineMiniAOD)
0222 process.RECOSIMoutput_step = cms.EndPath(process.RECOSIMoutput)
0223 process.MINIAODSIMoutput_step = cms.EndPath(process.MINIAODSIMoutput)
0224 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0225
0226
0227 process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.recosim_step,process.Flag_HBHENoiseFilter,process.Flag_HBHENoiseIsoFilter,process.Flag_CSCTightHaloFilter,process.Flag_CSCTightHaloTrkMuUnvetoFilter,process.Flag_CSCTightHalo2015Filter,process.Flag_globalTightHalo2016Filter,process.Flag_globalSuperTightHalo2016Filter,process.Flag_HcalStripHaloFilter,process.Flag_hcalLaserEventFilter,process.Flag_EcalDeadCellTriggerPrimitiveFilter,process.Flag_EcalDeadCellBoundaryEnergyFilter,process.Flag_ecalBadCalibFilter,process.Flag_goodVertices,process.Flag_eeBadScFilter,process.Flag_ecalLaserCorrFilter,process.Flag_trkPOGFilters,process.Flag_chargedHadronTrackResolutionFilter,process.Flag_muonBadTrackFilter,process.Flag_BadChargedCandidateFilter,process.Flag_BadPFMuonFilter,process.Flag_BadPFMuonDzFilter,process.Flag_hfNoisyHitsFilter,process.Flag_BadChargedCandidateSummer16Filter,process.Flag_BadPFMuonSummer16Filter,process.Flag_trkPOG_manystripclus53X,process.Flag_trkPOG_toomanystripclus53X,process.Flag_trkPOG_logErrorTooManyClusters,process.Flag_METFilters,process.prevalidation_step,process.prevalidation_step1,process.validation_step,process.validation_step1,process.dqmoffline_step,process.dqmoffline_1_step,process.dqmofflineOnPAT_step,process.dqmofflineOnPAT_1_step,process.RECOSIMoutput_step,process.MINIAODSIMoutput_step,process.DQMoutput_step)
0228 process.schedule.associate(process.patTask)
0229 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0230 associatePatAlgosToolsTask(process)
0231
0232
0233
0234
0235 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn
0236
0237
0238 process = setCrossingFrameOn(process)
0239
0240
0241
0242
0243
0244
0245 from PhysicsTools.PatAlgos.slimming.miniAOD_tools import miniAOD_customizeAllMC
0246
0247
0248 process = miniAOD_customizeAllMC(process)
0249
0250
0251
0252
0253
0254
0255 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0256 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0257
0258
0259 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0260 process = customiseEarlyDelete(process)
0261