Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:19

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: step4 --mc --filetype DQM --conditions auto:phase1_2017_realistic -s HARVESTING:@allForPrompt --era Run2_2017 --scenario pp --filein file:RECO_RAW2DIGI_L1Reco_RECO_EI_PAT_VALIDATION_DQM_inDQM.root --python_filename=harvesting.py --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Run3_2023_cff import Run3_2023
0009 
0010 process = cms.Process('HARVESTING',Run3_2023)
0011 
0012 process_name = 'ZTT'
0013 
0014 # import of standard configurations
0015 process.load('Configuration.StandardSequences.Services_cff')
0016 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0017 process.load('FWCore.MessageService.MessageLogger_cfi')
0018 process.load('Configuration.EventContent.EventContent_cff')
0019 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0020 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0021 process.load('Configuration.StandardSequences.MagneticField_cff')
0022 process.load('Configuration.StandardSequences.DQMSaverAtRunEnd_cff')
0023 process.load('Configuration.StandardSequences.Harvesting_cff')
0024 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(1),
0028     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0029 )
0030 
0031 # Input source
0032 process.source = cms.Source("DQMRootSource",
0033     fileNames = cms.untracked.vstring('file:PAT_VALIDATION_DQM_'+process_name+'.root')
0034 )
0035 
0036 process.options = cms.untracked.PSet(
0037     IgnoreCompletely = cms.untracked.vstring(),
0038     Rethrow = cms.untracked.vstring('ProductNotFound'),
0039     TryToContinue = cms.untracked.vstring(),
0040     accelerators = cms.untracked.vstring('*'),
0041     allowUnscheduled = cms.obsolete.untracked.bool,
0042     canDeleteEarly = cms.untracked.vstring(),
0043     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0044     dumpOptions = cms.untracked.bool(False),
0045     emptyRunLumiMode = cms.obsolete.untracked.string,
0046     eventSetup = cms.untracked.PSet(
0047         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0048             allowAnyLabel_=cms.required.untracked.uint32
0049         ),
0050         numberOfConcurrentIOVs = cms.untracked.uint32(0)
0051     ),
0052     fileMode = cms.untracked.string('FULLMERGE'),
0053     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0054     makeTriggerResults = cms.obsolete.untracked.bool,
0055     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
0056     numberOfConcurrentRuns = cms.untracked.uint32(1),
0057     numberOfStreams = cms.untracked.uint32(0),
0058     numberOfThreads = cms.untracked.uint32(1),
0059     printDependencies = cms.untracked.bool(False),
0060     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0061     throwIfIllegalParameter = cms.untracked.bool(True),
0062     wantSummary = cms.untracked.bool(False)
0063 )
0064 
0065 # Production Info
0066 process.configurationMetadata = cms.untracked.PSet(
0067     annotation = cms.untracked.string('step4 nevts:1'),
0068     name = cms.untracked.string('Applications'),
0069     version = cms.untracked.string('$Revision: 1.19 $')
0070 )
0071 
0072 # Output definition
0073 
0074 # Additional output definition
0075 
0076 # Other statements
0077 from Configuration.AlCa.GlobalTag import GlobalTag
0078 process.GlobalTag = GlobalTag(process.GlobalTag, '126X_mcRun3_2023_forPU65_v1', '')
0079 
0080 # Path and EndPath definitions
0081 process.alcaHarvesting = cms.Path()
0082 process.dqmHarvesting = cms.Path(process.DQMOffline_SecondStep+process.DQMOffline_Certification)
0083 process.dqmHarvestingExtraHLT = cms.Path(process.DQMOffline_SecondStep_ExtraHLT+process.DQMOffline_Certification)
0084 process.dqmHarvestingFakeHLT = cms.Path(process.DQMOffline_SecondStep_FakeHLT+process.DQMOffline_Certification)
0085 process.dqmHarvestingPOGMC = cms.Path(process.DQMOffline_SecondStep_PrePOGMC)
0086 process.genHarvesting = cms.Path(process.postValidation_gen)
0087 process.validationHarvesting = cms.Path(process.postValidation+process.hltpostvalidation+process.postValidation_gen)
0088 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.MuonCSCDigisPostProcessors+process.siPixelPhase1OfflineDQM_harvestingV+process.MuonGEMHitsPostProcessors+process.MuonGEMDigisPostProcessors+process.MuonGEMRecHitsPostProcessors+process.postValidation_gen)
0089 process.validationHarvestingHI = cms.Path(process.postValidationHI)
0090 process.validationHarvestingMiniAOD = cms.Path(process.JetPostProcessor+process.METPostProcessorHarvesting+process.bTagMiniValidationHarvesting+process.postValidationMiniAOD)
0091 process.validationHarvestingNoHLT = cms.Path(process.postValidation+process.postValidation_gen)
0092 process.validationpreprodHarvesting = cms.Path(process.postValidation_preprod+process.hltpostvalidation_preprod+process.postValidation_gen)
0093 process.validationpreprodHarvestingNoHLT = cms.Path(process.postValidation_preprod+process.postValidation_gen)
0094 process.validationprodHarvesting = cms.Path(process.hltpostvalidation_prod+process.postValidation_gen)
0095 process.DQMHarvestMuon_step = cms.Path(process.DQMHarvestMuon)
0096 process.DQMCertMuon_step = cms.Path(process.DQMCertMuon)
0097 #process.DQMHarvestL1T_step = cms.Path(process.DQMHarvestL1T)
0098 process.DQMHarvestL1T_step = cms.Path() #MB: empty path as a workaround of unknown source of crashes in tau tests
0099 process.DQMHarvestHcal_step = cms.Path(process.DQMHarvestHcal)
0100 process.DQMHarvestJetMET_step = cms.Path(process.DQMHarvestJetMET)
0101 process.DQMCertJetMET_step = cms.Path(process.DQMCertJetMET)
0102 process.DQMHarvestEcal_step = cms.Path(process.DQMHarvestEcal)
0103 process.DQMCertEcal_step = cms.Path(process.DQMCertEcal)
0104 process.DQMHarvestEGamma_step = cms.Path(process.DQMHarvestEGamma)
0105 process.DQMCertEGamma_step = cms.Path(process.DQMCertEGamma)
0106 process.DQMNone_step = cms.Path(process.DQMNone)
0107 process.DQMMessageLoggerClientSeq_step = cms.Path(process.DQMMessageLoggerClientSeq)
0108 process.DQMHarvestTrackerStrip_step = cms.Path(process.DQMHarvestTrackerStrip)
0109 process.DQMCertTrackerStrip_step = cms.Path(process.DQMCertTrackerStrip)
0110 process.DQMHarvestTrackerPixel_step = cms.Path(process.DQMHarvestTrackerPixel)
0111 process.DQMCertTrackerPixel_step = cms.Path(process.DQMCertTrackerPixel)
0112 process.DQMHarvestTracking_step = cms.Path(process.DQMHarvestTracking)
0113 process.DQMCertTracking_step = cms.Path(process.DQMCertTracking)
0114 process.DQMHarvestTrigger_step = cms.Path(process.DQMHarvestTrigger)
0115 process.DQMCertTrigger_step = cms.Path(process.DQMCertTrigger)
0116 process.DQMHarvestBeam_step = cms.Path(process.DQMHarvestBeam)
0117 process.DQMHarvestFED_step = cms.Path(process.DQMHarvestFED)
0118 process.dqmsave_step = cms.Path(process.DQMSaver)
0119 process.effPlotting_step = cms.Path(process.effPlotting) # test
0120 
0121 # Schedule definition
0122 process.schedule = cms.Schedule(process.DQMHarvestMuon_step,process.DQMCertMuon_step,process.DQMHarvestL1T_step,process.DQMHarvestHcal_step,process.DQMHarvestJetMET_step,process.DQMCertJetMET_step,process.DQMHarvestEcal_step,process.DQMCertEcal_step,process.DQMHarvestEGamma_step,process.DQMCertEGamma_step,process.DQMNone_step,process.DQMMessageLoggerClientSeq_step,process.DQMHarvestTrackerStrip_step,process.DQMCertTrackerStrip_step,process.DQMHarvestTrackerPixel_step,process.DQMCertTrackerPixel_step,process.DQMHarvestTracking_step,process.DQMCertTracking_step,process.DQMHarvestTrigger_step,process.DQMCertTrigger_step,process.DQMHarvestBeam_step,process.DQMHarvestFED_step,process.effPlotting_step,process.dqmsave_step)
0123 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0124 associatePatAlgosToolsTask(process)
0125 
0126 
0127 
0128 # Customisation from command line
0129 
0130 # Add early deletion of temporary data products to reduce peak memory need
0131 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0132 process = customiseEarlyDelete(process)
0133 # End adding early deletion