From 237dd08cdc94450273d024b8521285706e134d7f Mon Sep 17 00:00:00 2001 From: Sunanda Date: Tue, 3 Nov 2020 22:58:27 +0100 Subject: [PATCH] Also add cfg's for step4 and step5 --- .../test/dd4hep_ZMM_Run3_Step3_cfg.py | 4 +- .../test/dd4hep_ZMM_Run3_Step4_cfg.py | 97 +++++ .../test/dd4hep_ZMM_Run3_Step5_cfg.py | 332 ++++++++++++++++++ .../test/ddd_ZMM_Run3_Step3_cfg.py | 4 +- .../test/ddd_ZMM_Run3_Step4_cfg.py | 97 +++++ .../test/ddd_ZMM_Run3_Step5_cfg.py | 332 ++++++++++++++++++ 6 files changed, 862 insertions(+), 4 deletions(-) create mode 100644 SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step4_cfg.py create mode 100644 SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step5_cfg.py create mode 100644 SimG4Core/Configuration/test/ddd_ZMM_Run3_Step4_cfg.py create mode 100644 SimG4Core/Configuration/test/ddd_ZMM_Run3_Step5_cfg.py diff --git a/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step3_cfg.py b/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step3_cfg.py index 7e37934a62517..93de45c447dfe 100644 --- a/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step3_cfg.py +++ b/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step3_cfg.py @@ -93,7 +93,7 @@ dropMetaData = cms.untracked.string('ALL'), eventAutoFlushCompressedSize = cms.untracked.int32(-900), fastCloning = cms.untracked.bool(False), - fileName = cms.untracked.string('file:step3_ZMM_New2021_inMINIAODSIM.root'), + fileName = cms.untracked.string('file:step3_ZMM_dd4hep_inMINIAODSIM.root'), outputCommands = process.MINIAODSIMEventContent.outputCommands, overrideBranchesSplitLevel = cms.untracked.VPSet( cms.untracked.PSet( @@ -154,7 +154,7 @@ dataTier = cms.untracked.string('DQMIO'), filterName = cms.untracked.string('') ), - fileName = cms.untracked.string('file:step3_ZMM_New2021_inDQM.root'), + fileName = cms.untracked.string('file:step3_ZMM_dd4hep_inDQM.root'), outputCommands = process.DQMEventContent.outputCommands, splitLevel = cms.untracked.int32(0) ) diff --git a/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step4_cfg.py b/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step4_cfg.py new file mode 100644 index 0000000000000..718e8e3befc16 --- /dev/null +++ b/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step4_cfg.py @@ -0,0 +1,97 @@ +import FWCore.ParameterSet.Config as cms + +from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep + +process = cms.Process('HARVESTING',Run3_dd4hep) + +# import of standard configurations +process.load('Configuration.StandardSequences.Services_cff') +process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.EventContent.EventContent_cff') +process.load('SimGeneral.MixingModule.mixNoPU_cfi') +process.load('Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff') +process.load('Configuration.StandardSequences.MagneticField_cff') +process.load('Configuration.StandardSequences.DQMSaverAtRunEnd_cff') +process.load('Configuration.StandardSequences.Harvesting_cff') +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(100), + output = cms.optional.untracked.allowed(cms.int32,cms.PSet) +) + +# Input source +process.source = cms.Source("DQMRootSource", + fileNames = cms.untracked.vstring('file:step3_ZMM_dd4hep_inDQM.root') +) + +process.options = cms.untracked.PSet( + FailPath = cms.untracked.vstring(), + IgnoreCompletely = cms.untracked.vstring(), + Rethrow = cms.untracked.vstring('ProductNotFound'), + SkipEvent = cms.untracked.vstring(), + allowUnscheduled = cms.obsolete.untracked.bool, + canDeleteEarly = cms.untracked.vstring(), + emptyRunLumiMode = cms.obsolete.untracked.string, + eventSetup = cms.untracked.PSet( + forceNumberOfConcurrentIOVs = cms.untracked.PSet( + + ), + numberOfConcurrentIOVs = cms.untracked.uint32(1) + ), + fileMode = cms.untracked.string('FULLMERGE'), + forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False), + makeTriggerResults = cms.obsolete.untracked.bool, + numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1), + numberOfConcurrentRuns = cms.untracked.uint32(1), + numberOfStreams = cms.untracked.uint32(0), + numberOfThreads = cms.untracked.uint32(1), + printDependencies = cms.untracked.bool(False), + sizeOfStackForThreadsInKB = cms.optional.untracked.uint32, + throwIfIllegalParameter = cms.untracked.bool(True), + wantSummary = cms.untracked.bool(False) +) + +# Production Info +process.configurationMetadata = cms.untracked.PSet( + annotation = cms.untracked.string('step4 nevts:100'), + name = cms.untracked.string('Applications'), + version = cms.untracked.string('$Revision: 1.19 $') +) + +# Output definition + +# Additional output definition + +# Other statements +from Configuration.AlCa.GlobalTag import GlobalTag +process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2021_realistic', '') + +# Path and EndPath definitions +process.genHarvesting = cms.Path(process.postValidation_gen) +process.validationprodHarvesting = cms.Path(process.hltpostvalidation_prod+process.postValidation_gen) +process.validationHarvestingHI = cms.Path(process.postValidationHI) +process.alcaHarvesting = cms.Path() +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) +process.validationpreprodHarvesting = cms.Path(process.postValidation_preprod+process.hltpostvalidation_preprod+process.postValidation_gen) +process.validationHarvestingNoHLT = cms.Path(process.postValidation+process.postValidation_gen) +process.validationpreprodHarvestingNoHLT = cms.Path(process.postValidation_preprod+process.postValidation_gen) +process.dqmHarvestingPOGMC = cms.Path(process.DQMOffline_SecondStep_PrePOGMC) +process.dqmHarvestingFakeHLT = cms.Path(process.DQMOffline_SecondStep_FakeHLT+process.DQMOffline_Certification) +process.DQMHarvestMiniAOD_step = cms.Path(process.DQMHarvestMiniAOD) +process.dqmsave_step = cms.Path(process.DQMSaver) + +# Schedule definition +process.schedule = cms.Schedule(process.validationHarvesting,process.dqmHarvesting,process.dqmHarvestingExtraHLT,process.validationHarvestingMiniAOD,process.DQMHarvestMiniAOD_step,process.dqmsave_step) +from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask +associatePatAlgosToolsTask(process) + + + +# Customisation from command line + +# Add early deletion of temporary data products to reduce peak memory need +from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete +process = customiseEarlyDelete(process) +# End adding early deletion diff --git a/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step5_cfg.py b/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step5_cfg.py new file mode 100644 index 0000000000000..f2586e4a99774 --- /dev/null +++ b/SimG4Core/Configuration/test/dd4hep_ZMM_Run3_Step5_cfg.py @@ -0,0 +1,332 @@ +import FWCore.ParameterSet.Config as cms + +from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep + +process = cms.Process('ALCA',Run3_dd4hep) + +# import of standard configurations +process.load('Configuration.StandardSequences.Services_cff') +process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.EventContent.EventContent_cff') +process.load('SimGeneral.MixingModule.mixNoPU_cfi') +process.load('Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff') +process.load('Configuration.StandardSequences.MagneticField_cff') +process.load('Configuration.StandardSequences.AlCaRecoStreams_cff') +process.load('Configuration.StandardSequences.EndOfProcess_cff') +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(10), + output = cms.optional.untracked.allowed(cms.int32,cms.PSet) +) + +# Input source +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:step3_ZMM_dd4hep.root'), + secondaryFileNames = cms.untracked.vstring() +) + +process.options = cms.untracked.PSet( + FailPath = cms.untracked.vstring(), + IgnoreCompletely = cms.untracked.vstring(), + Rethrow = cms.untracked.vstring(), + SkipEvent = cms.untracked.vstring(), + allowUnscheduled = cms.obsolete.untracked.bool, + canDeleteEarly = cms.untracked.vstring(), + emptyRunLumiMode = cms.obsolete.untracked.string, + eventSetup = cms.untracked.PSet( + forceNumberOfConcurrentIOVs = cms.untracked.PSet( + + ), + numberOfConcurrentIOVs = cms.untracked.uint32(1) + ), + fileMode = cms.untracked.string('FULLMERGE'), + forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False), + makeTriggerResults = cms.obsolete.untracked.bool, + numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1), + numberOfConcurrentRuns = cms.untracked.uint32(1), + numberOfStreams = cms.untracked.uint32(0), + numberOfThreads = cms.untracked.uint32(1), + printDependencies = cms.untracked.bool(False), + sizeOfStackForThreadsInKB = cms.optional.untracked.uint32, + throwIfIllegalParameter = cms.untracked.bool(True), + wantSummary = cms.untracked.bool(False) +) + +# Production Info +process.configurationMetadata = cms.untracked.PSet( + annotation = cms.untracked.string('step5 nevts:10'), + name = cms.untracked.string('Applications'), + version = cms.untracked.string('$Revision: 1.19 $') +) + +# Output definition + + +# Additional output definition +process.ALCARECOStreamEcalESAlign = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOEcalESAlign') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('EcalESAlign') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('EcalESAlign.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep ESDigiCollection_ecalPreshowerDigis_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ecalAlCaESAlignTrackReducer_*_*', + 'keep SiStripClusteredmNewDetSetVector_ecalAlCaESAlignTrackReducer_*_*', + 'keep TrackingRecHitsOwned_ecalAlCaESAlignTrackReducer_*_*', + 'keep recoTrackExtras_ecalAlCaESAlignTrackReducer_*_*', + 'keep recoTracks_ecalAlCaESAlignTrackReducer_*_*', + 'keep recoBeamSpot_offlineBeamSpot_*_*' + ) +) +process.ALCARECOStreamHcalCalHBHEMuonFilter = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOHcalCalHBHEMuonFilter') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('HcalCalHBHEMuonFilter') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('HcalCalHBHEMuonFilter.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_hbhereco_*_*', + 'keep *_ecalRecHit_*_*', + 'keep *_offlineBeamSpot_*_*', + 'keep *_TriggerResults_*_*', + 'keep HcalNoiseSummary_hcalnoise_*_*', + 'keep recoTracks_globalMuons_*_*', + 'keep recoTrackExtras_globalMuons_*_*', + 'keep recoTracks_standAloneMuons_*_*', + 'keep recoTrackExtras_standAloneMuons_*_*', + 'keep recoTracks_generalTracks_*_*', + 'keep recoTrackExtras_generalTracks_*_*', + 'keep recoTracks_tevMuons_*_*', + 'keep recoTrackExtras_tevMuons_*_*', + 'keep *_offlinePrimaryVertices_*_*', + 'keep *_scalersRawToDigi_*_*', + 'keep *_muons_*_*' + ) +) +process.ALCARECOStreamMuAlOverlaps = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOMuAlOverlaps') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('MuAlOverlaps') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('MuAlOverlaps.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOMuAlOverlaps_*_*', + 'keep *_ALCARECOMuAlOverlapsGeneralTracks_*_*', + 'keep *_muonCSCDigis_*_*', + 'keep *_muonDTDigis_*_*', + 'keep *_muonRPCDigis_*_*', + 'keep *_dt1DRecHits_*_*', + 'keep *_dt2DSegments_*_*', + 'keep *_dt4DSegments_*_*', + 'keep *_csc2DRecHits_*_*', + 'keep *_cscSegments_*_*', + 'keep *_rpcRecHits_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep *_offlineBeamSpot_*_*', + 'keep *_offlinePrimaryVertices_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*' + ) +) +process.ALCARECOStreamSiPixelCalSingleMuon = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOSiPixelCalSingleMuon') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('SiPixelCalSingleMuon') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('SiPixelCalSingleMuon.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOSiPixelCalSingleMuon_*_*', + 'keep *_muons__*', + 'keep *_offlinePrimaryVertices_*_*', + 'keep *_*riggerResults_*_HLT' + ) +) +process.ALCARECOStreamSiStripCalMinBias = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOSiStripCalMinBias') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('SiStripCalMinBias') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('SiStripCalMinBias.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOSiStripCalMinBias_*_*', + 'keep *_siStripClusters_*_*', + 'keep *_siPixelClusters_*_*', + 'keep DetIdedmEDCollection_siStripDigis_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep LumiScalerss_scalersRawToDigi_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_TriggerResults_*_*' + ) +) +process.ALCARECOStreamTkAlJpsiMuMu = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlJpsiMuMu') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlJpsiMuMu') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlJpsiMuMu.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlJpsiMuMu_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*' + ) +) +process.ALCARECOStreamTkAlMinBias = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlMinBias') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlMinBias') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlMinBias.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlMinBias_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*', + 'keep *_offlineBeamSpot_*_*' + ) +) +process.ALCARECOStreamTkAlMuonIsolated = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlMuonIsolated') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlMuonIsolated') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlMuonIsolated.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlMuonIsolated_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*' + ) +) +process.ALCARECOStreamTkAlUpsilonMuMu = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlUpsilonMuMu') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlUpsilonMuMu') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlUpsilonMuMu.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlUpsilonMuMu_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*' + ) +) +process.ALCARECOStreamTkAlZMuMu = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlZMuMu') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlZMuMu') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlZMuMu.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlZMuMu_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*' + ) +) + +# Other statements +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOEcalESAlign_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlUpsilonMuMu_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOHcalCalHBHEMuonFilter_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOMuAlOverlaps_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlMinBias_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOSiPixelCalSingleMuon_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlMuonIsolated_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlZMuMu_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOSiStripCalMinBias_noDrop.outputCommands) +from Configuration.AlCa.GlobalTag import GlobalTag +process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2021_realistic', '') + +# Path and EndPath definitions +process.endjob_step = cms.EndPath(process.endOfProcess) +process.ALCARECOStreamEcalESAlignOutPath = cms.EndPath(process.ALCARECOStreamEcalESAlign) +process.ALCARECOStreamHcalCalHBHEMuonFilterOutPath = cms.EndPath(process.ALCARECOStreamHcalCalHBHEMuonFilter) +process.ALCARECOStreamMuAlOverlapsOutPath = cms.EndPath(process.ALCARECOStreamMuAlOverlaps) +process.ALCARECOStreamSiPixelCalSingleMuonOutPath = cms.EndPath(process.ALCARECOStreamSiPixelCalSingleMuon) +process.ALCARECOStreamSiStripCalMinBiasOutPath = cms.EndPath(process.ALCARECOStreamSiStripCalMinBias) +process.ALCARECOStreamTkAlJpsiMuMuOutPath = cms.EndPath(process.ALCARECOStreamTkAlJpsiMuMu) +process.ALCARECOStreamTkAlMinBiasOutPath = cms.EndPath(process.ALCARECOStreamTkAlMinBias) +process.ALCARECOStreamTkAlMuonIsolatedOutPath = cms.EndPath(process.ALCARECOStreamTkAlMuonIsolated) +process.ALCARECOStreamTkAlUpsilonMuMuOutPath = cms.EndPath(process.ALCARECOStreamTkAlUpsilonMuMu) +process.ALCARECOStreamTkAlZMuMuOutPath = cms.EndPath(process.ALCARECOStreamTkAlZMuMu) + +# Schedule definition +process.schedule = cms.Schedule(process.pathALCARECOEcalESAlign,process.pathALCARECOTkAlUpsilonMuMu,process.pathALCARECOHcalCalHBHEMuonFilter,process.pathALCARECOMuAlOverlaps,process.pathALCARECOMuAlOverlapsGeneralTracks,process.pathALCARECOTkAlMinBias,process.pathALCARECOSiPixelCalSingleMuon,process.pathALCARECOTkAlMuonIsolated,process.pathALCARECOTkAlZMuMu,process.pathALCARECOTkAlJpsiMuMu,process.pathALCARECOSiStripCalMinBias,process.endjob_step,process.ALCARECOStreamEcalESAlignOutPath,process.ALCARECOStreamHcalCalHBHEMuonFilterOutPath,process.ALCARECOStreamMuAlOverlapsOutPath,process.ALCARECOStreamSiPixelCalSingleMuonOutPath,process.ALCARECOStreamSiStripCalMinBiasOutPath,process.ALCARECOStreamTkAlJpsiMuMuOutPath,process.ALCARECOStreamTkAlMinBiasOutPath,process.ALCARECOStreamTkAlMuonIsolatedOutPath,process.ALCARECOStreamTkAlUpsilonMuMuOutPath,process.ALCARECOStreamTkAlZMuMuOutPath) +from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask +associatePatAlgosToolsTask(process) + + + +# Customisation from command line + +# Add early deletion of temporary data products to reduce peak memory need +from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete +process = customiseEarlyDelete(process) +# End adding early deletion diff --git a/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step3_cfg.py b/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step3_cfg.py index c0b1745e84da3..7ad5f113682a8 100644 --- a/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step3_cfg.py +++ b/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step3_cfg.py @@ -93,7 +93,7 @@ dropMetaData = cms.untracked.string('ALL'), eventAutoFlushCompressedSize = cms.untracked.int32(-900), fastCloning = cms.untracked.bool(False), - fileName = cms.untracked.string('file:step3_ZMM_New2021_inMINIAODSIM.root'), + fileName = cms.untracked.string('file:step3_ZMM_ddd_inMINIAODSIM.root'), outputCommands = process.MINIAODSIMEventContent.outputCommands, overrideBranchesSplitLevel = cms.untracked.VPSet( cms.untracked.PSet( @@ -154,7 +154,7 @@ dataTier = cms.untracked.string('DQMIO'), filterName = cms.untracked.string('') ), - fileName = cms.untracked.string('file:step3_ZMM_New2021_inDQM.root'), + fileName = cms.untracked.string('file:step3_ZMM_ddd_inDQM.root'), outputCommands = process.DQMEventContent.outputCommands, splitLevel = cms.untracked.int32(0) ) diff --git a/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step4_cfg.py b/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step4_cfg.py new file mode 100644 index 0000000000000..c8ebc14651691 --- /dev/null +++ b/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step4_cfg.py @@ -0,0 +1,97 @@ +import FWCore.ParameterSet.Config as cms + +from Configuration.Eras.Era_Run3_cff import Run3 + +process = cms.Process('HARVESTING',Run3) + +# import of standard configurations +process.load('Configuration.StandardSequences.Services_cff') +process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.EventContent.EventContent_cff') +process.load('SimGeneral.MixingModule.mixNoPU_cfi') +process.load('Configuration.Geometry.GeometryExtended2021Reco_cff') +process.load('Configuration.StandardSequences.MagneticField_cff') +process.load('Configuration.StandardSequences.DQMSaverAtRunEnd_cff') +process.load('Configuration.StandardSequences.Harvesting_cff') +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(100), + output = cms.optional.untracked.allowed(cms.int32,cms.PSet) +) + +# Input source +process.source = cms.Source("DQMRootSource", + fileNames = cms.untracked.vstring('file:step3_ZMM_ddd_inDQM.root') +) + +process.options = cms.untracked.PSet( + FailPath = cms.untracked.vstring(), + IgnoreCompletely = cms.untracked.vstring(), + Rethrow = cms.untracked.vstring('ProductNotFound'), + SkipEvent = cms.untracked.vstring(), + allowUnscheduled = cms.obsolete.untracked.bool, + canDeleteEarly = cms.untracked.vstring(), + emptyRunLumiMode = cms.obsolete.untracked.string, + eventSetup = cms.untracked.PSet( + forceNumberOfConcurrentIOVs = cms.untracked.PSet( + + ), + numberOfConcurrentIOVs = cms.untracked.uint32(1) + ), + fileMode = cms.untracked.string('FULLMERGE'), + forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False), + makeTriggerResults = cms.obsolete.untracked.bool, + numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1), + numberOfConcurrentRuns = cms.untracked.uint32(1), + numberOfStreams = cms.untracked.uint32(0), + numberOfThreads = cms.untracked.uint32(1), + printDependencies = cms.untracked.bool(False), + sizeOfStackForThreadsInKB = cms.optional.untracked.uint32, + throwIfIllegalParameter = cms.untracked.bool(True), + wantSummary = cms.untracked.bool(False) +) + +# Production Info +process.configurationMetadata = cms.untracked.PSet( + annotation = cms.untracked.string('step4 nevts:100'), + name = cms.untracked.string('Applications'), + version = cms.untracked.string('$Revision: 1.19 $') +) + +# Output definition + +# Additional output definition + +# Other statements +from Configuration.AlCa.GlobalTag import GlobalTag +process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2021_realistic', '') + +# Path and EndPath definitions +process.genHarvesting = cms.Path(process.postValidation_gen) +process.validationprodHarvesting = cms.Path(process.hltpostvalidation_prod+process.postValidation_gen) +process.validationHarvestingHI = cms.Path(process.postValidationHI) +process.alcaHarvesting = cms.Path() +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) +process.validationpreprodHarvesting = cms.Path(process.postValidation_preprod+process.hltpostvalidation_preprod+process.postValidation_gen) +process.validationHarvestingNoHLT = cms.Path(process.postValidation+process.postValidation_gen) +process.validationpreprodHarvestingNoHLT = cms.Path(process.postValidation_preprod+process.postValidation_gen) +process.dqmHarvestingPOGMC = cms.Path(process.DQMOffline_SecondStep_PrePOGMC) +process.dqmHarvestingFakeHLT = cms.Path(process.DQMOffline_SecondStep_FakeHLT+process.DQMOffline_Certification) +process.DQMHarvestMiniAOD_step = cms.Path(process.DQMHarvestMiniAOD) +process.dqmsave_step = cms.Path(process.DQMSaver) + +# Schedule definition +process.schedule = cms.Schedule(process.validationHarvesting,process.dqmHarvesting,process.dqmHarvestingExtraHLT,process.validationHarvestingMiniAOD,process.DQMHarvestMiniAOD_step,process.dqmsave_step) +from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask +associatePatAlgosToolsTask(process) + + + +# Customisation from command line + +# Add early deletion of temporary data products to reduce peak memory need +from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete +process = customiseEarlyDelete(process) +# End adding early deletion diff --git a/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step5_cfg.py b/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step5_cfg.py new file mode 100644 index 0000000000000..2c241b47ae6d7 --- /dev/null +++ b/SimG4Core/Configuration/test/ddd_ZMM_Run3_Step5_cfg.py @@ -0,0 +1,332 @@ +import FWCore.ParameterSet.Config as cms + +from Configuration.Eras.Era_Run3_cff import Run3 + +process = cms.Process('ALCA',Run3) + +# import of standard configurations +process.load('Configuration.StandardSequences.Services_cff') +process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.EventContent.EventContent_cff') +process.load('SimGeneral.MixingModule.mixNoPU_cfi') +process.load('Configuration.Geometry.GeometryExtended2021Reco_cff') +process.load('Configuration.StandardSequences.MagneticField_cff') +process.load('Configuration.StandardSequences.AlCaRecoStreams_cff') +process.load('Configuration.StandardSequences.EndOfProcess_cff') +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(10), + output = cms.optional.untracked.allowed(cms.int32,cms.PSet) +) + +# Input source +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:step3_ZMM_ddd.root'), + secondaryFileNames = cms.untracked.vstring() +) + +process.options = cms.untracked.PSet( + FailPath = cms.untracked.vstring(), + IgnoreCompletely = cms.untracked.vstring(), + Rethrow = cms.untracked.vstring(), + SkipEvent = cms.untracked.vstring(), + allowUnscheduled = cms.obsolete.untracked.bool, + canDeleteEarly = cms.untracked.vstring(), + emptyRunLumiMode = cms.obsolete.untracked.string, + eventSetup = cms.untracked.PSet( + forceNumberOfConcurrentIOVs = cms.untracked.PSet( + + ), + numberOfConcurrentIOVs = cms.untracked.uint32(1) + ), + fileMode = cms.untracked.string('FULLMERGE'), + forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False), + makeTriggerResults = cms.obsolete.untracked.bool, + numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1), + numberOfConcurrentRuns = cms.untracked.uint32(1), + numberOfStreams = cms.untracked.uint32(0), + numberOfThreads = cms.untracked.uint32(1), + printDependencies = cms.untracked.bool(False), + sizeOfStackForThreadsInKB = cms.optional.untracked.uint32, + throwIfIllegalParameter = cms.untracked.bool(True), + wantSummary = cms.untracked.bool(False) +) + +# Production Info +process.configurationMetadata = cms.untracked.PSet( + annotation = cms.untracked.string('step5 nevts:10'), + name = cms.untracked.string('Applications'), + version = cms.untracked.string('$Revision: 1.19 $') +) + +# Output definition + + +# Additional output definition +process.ALCARECOStreamEcalESAlign = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOEcalESAlign') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('EcalESAlign') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('EcalESAlign.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep ESDigiCollection_ecalPreshowerDigis_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ecalAlCaESAlignTrackReducer_*_*', + 'keep SiStripClusteredmNewDetSetVector_ecalAlCaESAlignTrackReducer_*_*', + 'keep TrackingRecHitsOwned_ecalAlCaESAlignTrackReducer_*_*', + 'keep recoTrackExtras_ecalAlCaESAlignTrackReducer_*_*', + 'keep recoTracks_ecalAlCaESAlignTrackReducer_*_*', + 'keep recoBeamSpot_offlineBeamSpot_*_*' + ) +) +process.ALCARECOStreamHcalCalHBHEMuonFilter = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOHcalCalHBHEMuonFilter') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('HcalCalHBHEMuonFilter') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('HcalCalHBHEMuonFilter.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_hbhereco_*_*', + 'keep *_ecalRecHit_*_*', + 'keep *_offlineBeamSpot_*_*', + 'keep *_TriggerResults_*_*', + 'keep HcalNoiseSummary_hcalnoise_*_*', + 'keep recoTracks_globalMuons_*_*', + 'keep recoTrackExtras_globalMuons_*_*', + 'keep recoTracks_standAloneMuons_*_*', + 'keep recoTrackExtras_standAloneMuons_*_*', + 'keep recoTracks_generalTracks_*_*', + 'keep recoTrackExtras_generalTracks_*_*', + 'keep recoTracks_tevMuons_*_*', + 'keep recoTrackExtras_tevMuons_*_*', + 'keep *_offlinePrimaryVertices_*_*', + 'keep *_scalersRawToDigi_*_*', + 'keep *_muons_*_*' + ) +) +process.ALCARECOStreamMuAlOverlaps = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOMuAlOverlaps') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('MuAlOverlaps') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('MuAlOverlaps.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOMuAlOverlaps_*_*', + 'keep *_ALCARECOMuAlOverlapsGeneralTracks_*_*', + 'keep *_muonCSCDigis_*_*', + 'keep *_muonDTDigis_*_*', + 'keep *_muonRPCDigis_*_*', + 'keep *_dt1DRecHits_*_*', + 'keep *_dt2DSegments_*_*', + 'keep *_dt4DSegments_*_*', + 'keep *_csc2DRecHits_*_*', + 'keep *_cscSegments_*_*', + 'keep *_rpcRecHits_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep *_offlineBeamSpot_*_*', + 'keep *_offlinePrimaryVertices_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*' + ) +) +process.ALCARECOStreamSiPixelCalSingleMuon = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOSiPixelCalSingleMuon') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('SiPixelCalSingleMuon') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('SiPixelCalSingleMuon.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOSiPixelCalSingleMuon_*_*', + 'keep *_muons__*', + 'keep *_offlinePrimaryVertices_*_*', + 'keep *_*riggerResults_*_HLT' + ) +) +process.ALCARECOStreamSiStripCalMinBias = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOSiStripCalMinBias') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('SiStripCalMinBias') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('SiStripCalMinBias.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOSiStripCalMinBias_*_*', + 'keep *_siStripClusters_*_*', + 'keep *_siPixelClusters_*_*', + 'keep DetIdedmEDCollection_siStripDigis_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep LumiScalerss_scalersRawToDigi_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_TriggerResults_*_*' + ) +) +process.ALCARECOStreamTkAlJpsiMuMu = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlJpsiMuMu') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlJpsiMuMu') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlJpsiMuMu.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlJpsiMuMu_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*' + ) +) +process.ALCARECOStreamTkAlMinBias = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlMinBias') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlMinBias') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlMinBias.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlMinBias_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*', + 'keep *_offlineBeamSpot_*_*' + ) +) +process.ALCARECOStreamTkAlMuonIsolated = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlMuonIsolated') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlMuonIsolated') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlMuonIsolated.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlMuonIsolated_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*' + ) +) +process.ALCARECOStreamTkAlUpsilonMuMu = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlUpsilonMuMu') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlUpsilonMuMu') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlUpsilonMuMu.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlUpsilonMuMu_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*' + ) +) +process.ALCARECOStreamTkAlZMuMu = cms.OutputModule("PoolOutputModule", + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlZMuMu') + ), + dataset = cms.untracked.PSet( + dataTier = cms.untracked.string('ALCARECO'), + filterName = cms.untracked.string('TkAlZMuMu') + ), + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), + fileName = cms.untracked.string('TkAlZMuMu.root'), + outputCommands = cms.untracked.vstring( + 'drop *', + 'keep *_ALCARECOTkAlZMuMu_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', + 'keep *_TriggerResults_*_*', + 'keep DcsStatuss_scalersRawToDigi_*_*', + 'keep *_offlinePrimaryVertices_*_*' + ) +) + +# Other statements +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOEcalESAlign_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlUpsilonMuMu_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOHcalCalHBHEMuonFilter_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOMuAlOverlaps_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlMinBias_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOSiPixelCalSingleMuon_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlMuonIsolated_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlZMuMu_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands) +process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOSiStripCalMinBias_noDrop.outputCommands) +from Configuration.AlCa.GlobalTag import GlobalTag +process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2021_realistic', '') + +# Path and EndPath definitions +process.endjob_step = cms.EndPath(process.endOfProcess) +process.ALCARECOStreamEcalESAlignOutPath = cms.EndPath(process.ALCARECOStreamEcalESAlign) +process.ALCARECOStreamHcalCalHBHEMuonFilterOutPath = cms.EndPath(process.ALCARECOStreamHcalCalHBHEMuonFilter) +process.ALCARECOStreamMuAlOverlapsOutPath = cms.EndPath(process.ALCARECOStreamMuAlOverlaps) +process.ALCARECOStreamSiPixelCalSingleMuonOutPath = cms.EndPath(process.ALCARECOStreamSiPixelCalSingleMuon) +process.ALCARECOStreamSiStripCalMinBiasOutPath = cms.EndPath(process.ALCARECOStreamSiStripCalMinBias) +process.ALCARECOStreamTkAlJpsiMuMuOutPath = cms.EndPath(process.ALCARECOStreamTkAlJpsiMuMu) +process.ALCARECOStreamTkAlMinBiasOutPath = cms.EndPath(process.ALCARECOStreamTkAlMinBias) +process.ALCARECOStreamTkAlMuonIsolatedOutPath = cms.EndPath(process.ALCARECOStreamTkAlMuonIsolated) +process.ALCARECOStreamTkAlUpsilonMuMuOutPath = cms.EndPath(process.ALCARECOStreamTkAlUpsilonMuMu) +process.ALCARECOStreamTkAlZMuMuOutPath = cms.EndPath(process.ALCARECOStreamTkAlZMuMu) + +# Schedule definition +process.schedule = cms.Schedule(process.pathALCARECOEcalESAlign,process.pathALCARECOTkAlUpsilonMuMu,process.pathALCARECOHcalCalHBHEMuonFilter,process.pathALCARECOMuAlOverlaps,process.pathALCARECOMuAlOverlapsGeneralTracks,process.pathALCARECOTkAlMinBias,process.pathALCARECOSiPixelCalSingleMuon,process.pathALCARECOTkAlMuonIsolated,process.pathALCARECOTkAlZMuMu,process.pathALCARECOTkAlJpsiMuMu,process.pathALCARECOSiStripCalMinBias,process.endjob_step,process.ALCARECOStreamEcalESAlignOutPath,process.ALCARECOStreamHcalCalHBHEMuonFilterOutPath,process.ALCARECOStreamMuAlOverlapsOutPath,process.ALCARECOStreamSiPixelCalSingleMuonOutPath,process.ALCARECOStreamSiStripCalMinBiasOutPath,process.ALCARECOStreamTkAlJpsiMuMuOutPath,process.ALCARECOStreamTkAlMinBiasOutPath,process.ALCARECOStreamTkAlMuonIsolatedOutPath,process.ALCARECOStreamTkAlUpsilonMuMuOutPath,process.ALCARECOStreamTkAlZMuMuOutPath) +from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask +associatePatAlgosToolsTask(process) + + + +# Customisation from command line + +# Add early deletion of temporary data products to reduce peak memory need +from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete +process = customiseEarlyDelete(process) +# End adding early deletion