Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:18

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0004 
0005 process = cms.Process('HARVESTING',Run3_dd4hep)
0006 
0007 # import of standard configurations
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 process.load('Configuration.EventContent.EventContent_cff')
0012 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0013 process.load('Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff')
0014 process.load('Configuration.StandardSequences.MagneticField_cff')
0015 process.load('Configuration.StandardSequences.DQMSaverAtRunEnd_cff')
0016 process.load('Configuration.StandardSequences.Harvesting_cff')
0017 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(100),
0021     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0022 )
0023 
0024 # Input source
0025 process.source = cms.Source("DQMRootSource",
0026     fileNames = cms.untracked.vstring('file:step3_ZMM_dd4hep_inDQM.root')
0027 )
0028 
0029 process.options = cms.untracked.PSet(
0030     IgnoreCompletely = cms.untracked.vstring(),
0031     Rethrow = cms.untracked.vstring('ProductNotFound'),
0032     TryToContinue = cms.untracked.vstring(),
0033     allowUnscheduled = cms.obsolete.untracked.bool,
0034     canDeleteEarly = cms.untracked.vstring(),
0035     emptyRunLumiMode = cms.obsolete.untracked.string,
0036     eventSetup = cms.untracked.PSet(
0037         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0038 
0039         ),
0040         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0041     ),
0042     fileMode = cms.untracked.string('FULLMERGE'),
0043     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0044     makeTriggerResults = cms.obsolete.untracked.bool,
0045     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0046     numberOfConcurrentRuns = cms.untracked.uint32(1),
0047     numberOfStreams = cms.untracked.uint32(0),
0048     numberOfThreads = cms.untracked.uint32(1),
0049     printDependencies = cms.untracked.bool(False),
0050     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0051     throwIfIllegalParameter = cms.untracked.bool(True),
0052     wantSummary = cms.untracked.bool(False)
0053 )
0054 
0055 # Production Info
0056 process.configurationMetadata = cms.untracked.PSet(
0057     annotation = cms.untracked.string('step4 nevts:100'),
0058     name = cms.untracked.string('Applications'),
0059     version = cms.untracked.string('$Revision: 1.19 $')
0060 )
0061 
0062 # Output definition
0063 
0064 # Additional output definition
0065 
0066 # Other statements
0067 from Configuration.AlCa.GlobalTag import GlobalTag
0068 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0069 
0070 # Path and EndPath definitions
0071 process.genHarvesting = cms.Path(process.postValidation_gen)
0072 process.validationprodHarvesting = cms.Path(process.hltpostvalidation_prod+process.postValidation_gen)
0073 process.validationHarvestingHI = cms.Path(process.postValidationHI)
0074 process.alcaHarvesting = cms.Path()
0075 process.validationHarvestingFS = cms.Path(process.recoMuonPostProcessors+process.postValidationTracking+process.MuIsoValPostProcessor+process.calotowersPostProcessor+process.hcalSimHitsPostProcessor+process.hcaldigisPostProcessor+process.hcalrechitsPostProcessor+process.electronPostValidationSequence+process.photonPostProcessor+process.pfJetClient+process.pfMETClient+process.pfJetResClient+process.pfElectronClient+process.rpcRecHitPostValidation_step+process.makeBetterPlots+process.bTagCollectorSequenceMCbcl+process.METPostProcessor+process.L1GenPostProcessor+process.bdHadronTrackPostProcessor+process.siPixelPhase1OfflineDQM_harvestingV+process.MuonGEMHitsPostProcessors+process.MuonGEMDigisPostProcessors+process.MuonGEMRecHitsPostProcessors+process.postValidation_gen)
0076 process.validationpreprodHarvesting = cms.Path(process.postValidation_preprod+process.hltpostvalidation_preprod+process.postValidation_gen)
0077 process.validationHarvestingNoHLT = cms.Path(process.postValidation+process.postValidation_gen)
0078 process.validationpreprodHarvestingNoHLT = cms.Path(process.postValidation_preprod+process.postValidation_gen)
0079 process.dqmHarvestingPOGMC = cms.Path(process.DQMOffline_SecondStep_PrePOGMC)
0080 process.dqmHarvestingFakeHLT = cms.Path(process.DQMOffline_SecondStep_FakeHLT+process.DQMOffline_Certification)
0081 process.DQMHarvestMiniAOD_step = cms.Path(process.DQMHarvestMiniAOD)
0082 process.dqmsave_step = cms.Path(process.DQMSaver)
0083 
0084 # Schedule definition
0085 process.schedule = cms.Schedule(process.validationHarvesting,process.dqmHarvesting,process.dqmHarvestingExtraHLT,process.validationHarvestingMiniAOD,process.DQMHarvestMiniAOD_step,process.dqmsave_step)
0086 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0087 associatePatAlgosToolsTask(process)
0088 
0089 
0090 
0091 # Customisation from command line
0092 
0093 # Add early deletion of temporary data products to reduce peak memory need
0094 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0095 process = customiseEarlyDelete(process)
0096 # End adding early deletion