Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-27 23:38:30

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