Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-15 22:40:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Phase2C10_cff import Phase2C10
0004 from Configuration.Eras.Modifier_phase2_ecal_devel_cff import phase2_ecal_devel
0005 
0006 from RecoLocalCalo.EcalRecProducers.ecalUncalibRecHitPhase2_cff import *
0007 from RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi import *
0008 
0009 process = cms.Process('RECO',Phase2C10,phase2_ecal_devel)
0010 
0011 # import of standard configurations
0012 process.load('Configuration.StandardSequences.Services_cff')
0013 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0014 process.load('FWCore.MessageService.MessageLogger_cfi')
0015 process.load('Configuration.EventContent.EventContent_cff')
0016 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0017 process.load('Configuration.Geometry.GeometryExtended2026D60Reco_cff')
0018 process.load('Configuration.StandardSequences.MagneticField_cff')
0019 process.load('Configuration.StandardSequences.RawToDigi_cff')
0020 process.load('Configuration.StandardSequences.L1Reco_cff')
0021 process.load('Configuration.StandardSequences.Reconstruction_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 process.load('RecoLocalCalo.EcalRecProducers.ecalUncalibRecHitPhase2_cff')
0024 process.load('RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi')
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(10),
0028     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0029 )
0030 
0031 # Input source
0032 process.source = cms.Source("PoolSource",
0033     fileNames = cms.untracked.vstring('file:/eos/cms/store/group/dpg_ecal/comm_ecal/upgrade/Phase2CMSSW/step2_digi_cmssw_12_X.root'),
0034     secondaryFileNames = cms.untracked.vstring()
0035 )
0036 
0037 process.options = cms.untracked.PSet(
0038     FailPath = cms.untracked.vstring(),
0039     IgnoreCompletely = cms.untracked.vstring(),
0040     Rethrow = cms.untracked.vstring(),
0041     SkipEvent = cms.untracked.vstring(),
0042     allowUnscheduled = cms.obsolete.untracked.bool,
0043     canDeleteEarly = cms.untracked.vstring(),
0044     emptyRunLumiMode = cms.obsolete.untracked.string,
0045     eventSetup = cms.untracked.PSet(
0046         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0047             allowAnyLabel_=cms.required.untracked.uint32
0048         ),
0049         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0050     ),
0051     fileMode = cms.untracked.string('FULLMERGE'),
0052     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0053     makeTriggerResults = cms.obsolete.untracked.bool,
0054     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0055     numberOfConcurrentRuns = cms.untracked.uint32(1),
0056     numberOfStreams = cms.untracked.uint32(0),
0057     numberOfThreads = cms.untracked.uint32(1),
0058     printDependencies = cms.untracked.bool(False),
0059     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0060     throwIfIllegalParameter = cms.untracked.bool(True),
0061     wantSummary = cms.untracked.bool(False)
0062 )
0063 
0064 # Production Info
0065 process.configurationMetadata = cms.untracked.PSet(
0066     annotation = cms.untracked.string('step3 nevts:10'),
0067     name = cms.untracked.string('Applications'),
0068     version = cms.untracked.string('$Revision: 1.19 $')
0069 )
0070 
0071 # Output definition
0072 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0073     dataset = cms.untracked.PSet(
0074         dataTier = cms.untracked.string('GEN-SIM-RECO'),
0075         filterName = cms.untracked.string('')
0076     ),
0077     fileName = cms.untracked.string('file:step3.root'),
0078     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0079     splitLevel = cms.untracked.int32(0)
0080 )
0081 
0082 process.MINIAODSIMoutput = cms.OutputModule("PoolOutputModule",
0083     compressionAlgorithm = cms.untracked.string('LZMA'),
0084     compressionLevel = cms.untracked.int32(4),
0085     dataset = cms.untracked.PSet(
0086         dataTier = cms.untracked.string('MINIAODSIM'),
0087         filterName = cms.untracked.string('')
0088     ),
0089     dropMetaData = cms.untracked.string('ALL'),
0090     eventAutoFlushCompressedSize = cms.untracked.int32(-900),
0091     fastCloning = cms.untracked.bool(False),
0092     fileName = cms.untracked.string('file:step3_inMINIAODSIM.root'),
0093     outputCommands = process.MINIAODSIMEventContent.outputCommands,
0094     overrideBranchesSplitLevel = cms.untracked.VPSet(
0095         cms.untracked.PSet(
0096             branch = cms.untracked.string('patPackedCandidates_packedPFCandidates__*'),
0097             splitLevel = cms.untracked.int32(99)
0098         ), 
0099         cms.untracked.PSet(
0100             branch = cms.untracked.string('recoGenParticles_prunedGenParticles__*'),
0101             splitLevel = cms.untracked.int32(99)
0102         ), 
0103         cms.untracked.PSet(
0104             branch = cms.untracked.string('patTriggerObjectStandAlones_slimmedPatTrigger__*'),
0105             splitLevel = cms.untracked.int32(99)
0106         ), 
0107         cms.untracked.PSet(
0108             branch = cms.untracked.string('patPackedGenParticles_packedGenParticles__*'),
0109             splitLevel = cms.untracked.int32(99)
0110         ), 
0111         cms.untracked.PSet(
0112             branch = cms.untracked.string('patJets_slimmedJets__*'),
0113             splitLevel = cms.untracked.int32(99)
0114         ), 
0115         cms.untracked.PSet(
0116             branch = cms.untracked.string('recoVertexs_offlineSlimmedPrimaryVertices__*'),
0117             splitLevel = cms.untracked.int32(99)
0118         ), 
0119         cms.untracked.PSet(
0120             branch = cms.untracked.string('recoCaloClusters_reducedEgamma_reducedESClusters_*'),
0121             splitLevel = cms.untracked.int32(99)
0122         ), 
0123         cms.untracked.PSet(
0124             branch = cms.untracked.string('EcalRecHitsSorted_reducedEgamma_reducedEBRecHits_*'),
0125             splitLevel = cms.untracked.int32(99)
0126         ), 
0127         cms.untracked.PSet(
0128             branch = cms.untracked.string('EcalRecHitsSorted_reducedEgamma_reducedEERecHits_*'),
0129             splitLevel = cms.untracked.int32(99)
0130         ), 
0131         cms.untracked.PSet(
0132             branch = cms.untracked.string('recoGenJets_slimmedGenJets__*'),
0133             splitLevel = cms.untracked.int32(99)
0134         ), 
0135         cms.untracked.PSet(
0136             branch = cms.untracked.string('patJets_slimmedJetsPuppi__*'),
0137             splitLevel = cms.untracked.int32(99)
0138         ), 
0139         cms.untracked.PSet(
0140             branch = cms.untracked.string('EcalRecHitsSorted_reducedEgamma_reducedESRecHits_*'),
0141             splitLevel = cms.untracked.int32(99)
0142         )
0143     ),
0144     overrideInputFileSplitLevels = cms.untracked.bool(True),
0145     splitLevel = cms.untracked.int32(0)
0146 )
0147 
0148 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0149     dataset = cms.untracked.PSet(
0150         dataTier = cms.untracked.string('DQMIO'),
0151         filterName = cms.untracked.string('')
0152     ),
0153     fileName = cms.untracked.string('file:step3_inDQM.root'),
0154     outputCommands = process.DQMEventContent.outputCommands,
0155     splitLevel = cms.untracked.int32(0)
0156 )
0157 
0158 # Additional output definition
0159 
0160 # Other statements
0161 from Configuration.AlCa.GlobalTag import GlobalTag
0162 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
0163 
0164 # Path and EndPath definitions
0165 process.L1Reco_step = cms.Path(process.L1Reco)
0166 process.reconstruction_step = cms.Path(cms.Sequence(cms.Task(
0167     bunchSpacingProducer,
0168     ecalUncalibRecHitPhase2Task
0169 )))
0170 
0171 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0172 
0173 # Schedule definition
0174 process.schedule = cms.Schedule(process.L1Reco_step,process.reconstruction_step,process.FEVTDEBUGHLToutput_step)
0175 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0176 associatePatAlgosToolsTask(process)
0177 
0178 
0179 
0180 # Customisation from command line
0181 
0182 #Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule
0183 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0184 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0185 
0186 # Add early deletion of temporary data products to reduce peak memory need
0187 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0188 process = customiseEarlyDelete(process)
0189 # End adding early deletion