Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:46

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     IgnoreCompletely = cms.untracked.vstring(),
0039     Rethrow = cms.untracked.vstring(),
0040     TryToContinue = cms.untracked.vstring(),
0041     allowUnscheduled = cms.obsolete.untracked.bool,
0042     canDeleteEarly = cms.untracked.vstring(),
0043     emptyRunLumiMode = cms.obsolete.untracked.string,
0044     eventSetup = cms.untracked.PSet(
0045         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0046             allowAnyLabel_=cms.required.untracked.uint32
0047         ),
0048         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0049     ),
0050     fileMode = cms.untracked.string('FULLMERGE'),
0051     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0052     makeTriggerResults = cms.obsolete.untracked.bool,
0053     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0054     numberOfConcurrentRuns = cms.untracked.uint32(1),
0055     numberOfStreams = cms.untracked.uint32(0),
0056     numberOfThreads = cms.untracked.uint32(1),
0057     printDependencies = cms.untracked.bool(False),
0058     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0059     throwIfIllegalParameter = cms.untracked.bool(True),
0060     wantSummary = cms.untracked.bool(False)
0061 )
0062 
0063 # Production Info
0064 process.configurationMetadata = cms.untracked.PSet(
0065     annotation = cms.untracked.string('step3 nevts:10'),
0066     name = cms.untracked.string('Applications'),
0067     version = cms.untracked.string('$Revision: 1.19 $')
0068 )
0069 
0070 # Output definition
0071 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0072     dataset = cms.untracked.PSet(
0073         dataTier = cms.untracked.string('GEN-SIM-RECO'),
0074         filterName = cms.untracked.string('')
0075     ),
0076     fileName = cms.untracked.string('file:step3.root'),
0077     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0078     splitLevel = cms.untracked.int32(0)
0079 )
0080 
0081 process.MINIAODSIMoutput = cms.OutputModule("PoolOutputModule",
0082     compressionAlgorithm = cms.untracked.string('LZMA'),
0083     compressionLevel = cms.untracked.int32(4),
0084     dataset = cms.untracked.PSet(
0085         dataTier = cms.untracked.string('MINIAODSIM'),
0086         filterName = cms.untracked.string('')
0087     ),
0088     dropMetaData = cms.untracked.string('ALL'),
0089     eventAutoFlushCompressedSize = cms.untracked.int32(-900),
0090     fastCloning = cms.untracked.bool(False),
0091     fileName = cms.untracked.string('file:step3_inMINIAODSIM.root'),
0092     outputCommands = process.MINIAODSIMEventContent.outputCommands,
0093     overrideBranchesSplitLevel = cms.untracked.VPSet(
0094         cms.untracked.PSet(
0095             branch = cms.untracked.string('patPackedCandidates_packedPFCandidates__*'),
0096             splitLevel = cms.untracked.int32(99)
0097         ), 
0098         cms.untracked.PSet(
0099             branch = cms.untracked.string('recoGenParticles_prunedGenParticles__*'),
0100             splitLevel = cms.untracked.int32(99)
0101         ), 
0102         cms.untracked.PSet(
0103             branch = cms.untracked.string('patTriggerObjectStandAlones_slimmedPatTrigger__*'),
0104             splitLevel = cms.untracked.int32(99)
0105         ), 
0106         cms.untracked.PSet(
0107             branch = cms.untracked.string('patPackedGenParticles_packedGenParticles__*'),
0108             splitLevel = cms.untracked.int32(99)
0109         ), 
0110         cms.untracked.PSet(
0111             branch = cms.untracked.string('patJets_slimmedJets__*'),
0112             splitLevel = cms.untracked.int32(99)
0113         ), 
0114         cms.untracked.PSet(
0115             branch = cms.untracked.string('recoVertexs_offlineSlimmedPrimaryVertices__*'),
0116             splitLevel = cms.untracked.int32(99)
0117         ), 
0118         cms.untracked.PSet(
0119             branch = cms.untracked.string('recoCaloClusters_reducedEgamma_reducedESClusters_*'),
0120             splitLevel = cms.untracked.int32(99)
0121         ), 
0122         cms.untracked.PSet(
0123             branch = cms.untracked.string('EcalRecHitsSorted_reducedEgamma_reducedEBRecHits_*'),
0124             splitLevel = cms.untracked.int32(99)
0125         ), 
0126         cms.untracked.PSet(
0127             branch = cms.untracked.string('EcalRecHitsSorted_reducedEgamma_reducedEERecHits_*'),
0128             splitLevel = cms.untracked.int32(99)
0129         ), 
0130         cms.untracked.PSet(
0131             branch = cms.untracked.string('recoGenJets_slimmedGenJets__*'),
0132             splitLevel = cms.untracked.int32(99)
0133         ), 
0134         cms.untracked.PSet(
0135             branch = cms.untracked.string('patJets_slimmedJetsPuppi__*'),
0136             splitLevel = cms.untracked.int32(99)
0137         ), 
0138         cms.untracked.PSet(
0139             branch = cms.untracked.string('EcalRecHitsSorted_reducedEgamma_reducedESRecHits_*'),
0140             splitLevel = cms.untracked.int32(99)
0141         )
0142     ),
0143     overrideInputFileSplitLevels = cms.untracked.bool(True),
0144     splitLevel = cms.untracked.int32(0)
0145 )
0146 
0147 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0148     dataset = cms.untracked.PSet(
0149         dataTier = cms.untracked.string('DQMIO'),
0150         filterName = cms.untracked.string('')
0151     ),
0152     fileName = cms.untracked.string('file:step3_inDQM.root'),
0153     outputCommands = process.DQMEventContent.outputCommands,
0154     splitLevel = cms.untracked.int32(0)
0155 )
0156 
0157 # Additional output definition
0158 
0159 # Other statements
0160 from Configuration.AlCa.GlobalTag import GlobalTag
0161 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
0162 
0163 # Path and EndPath definitions
0164 process.L1Reco_step = cms.Path(process.L1Reco)
0165 process.reconstruction_step = cms.Path(cms.Sequence(cms.Task(
0166     bunchSpacingProducer,
0167     ecalUncalibRecHitPhase2Task
0168 )))
0169 
0170 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0171 
0172 # Schedule definition
0173 process.schedule = cms.Schedule(process.L1Reco_step,process.reconstruction_step,process.FEVTDEBUGHLToutput_step)
0174 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0175 associatePatAlgosToolsTask(process)
0176 
0177 
0178 
0179 # Customisation from command line
0180 
0181 #Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule
0182 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0183 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0184 
0185 # Add early deletion of temporary data products to reduce peak memory need
0186 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0187 process = customiseEarlyDelete(process)
0188 # End adding early deletion