Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:27:30

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 --filetype DQM --mc --conditions auto:run2_mc --era Run2_2016 -s HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM -n 100 --filein file:step3_inDQM.root --fileout file:step4.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from FWCore.ParameterSet.VarParsing import VarParsing 
0009 
0010 options = VarParsing ('analysis')
0011 options.register('inputFile',
0012                 'matbdgForReco_FromReco_SingleMuPt100_inDQM.root',
0013                 VarParsing.multiplicity.singleton,
0014                 VarParsing.varType.string,
0015                 "Input file to use.")
0016 options.register('label',
0017                 'Global',
0018                 VarParsing.multiplicity.singleton,
0019                 VarParsing.varType.string,
0020                 "Label to use in the final ROOT file.")
0021 options.parseArguments()
0022 
0023 from Configuration.Eras.Era_Run2_2016_cff import Run2_2016
0024 process = cms.Process('HARVESTING',Run2_2016)
0025 
0026 # import of standard configurations
0027 process.load('Configuration.StandardSequences.Services_cff')
0028 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0029 process.load('FWCore.MessageService.MessageLogger_cfi')
0030 process.load('Configuration.EventContent.EventContent_cff')
0031 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0032 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0033 process.load('Configuration.StandardSequences.MagneticField_cff')
0034 process.load('Configuration.StandardSequences.DQMSaverAtRunEnd_cff')
0035 process.load('Configuration.StandardSequences.Harvesting_cff')
0036 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0037 
0038 process.maxEvents = cms.untracked.PSet(
0039     input = cms.untracked.int32(100)
0040 )
0041 
0042 # Input source
0043 process.source = cms.Source("DQMRootSource",
0044     fileNames = cms.untracked.vstring('file:%s' % options.inputFile)
0045 )
0046 
0047 process.options = cms.untracked.PSet(
0048     Rethrow = cms.untracked.vstring('ProductNotFound'),
0049     fileMode = cms.untracked.string('FULLMERGE')
0050 )
0051 
0052 # Production Info
0053 process.configurationMetadata = cms.untracked.PSet(
0054     annotation = cms.untracked.string('step4 nevts:100'),
0055     name = cms.untracked.string('Applications'),
0056     version = cms.untracked.string('$Revision: 1.19 $')
0057 )
0058 
0059 # Output definition
0060 
0061 # Additional output definition
0062 
0063 # Other statements
0064 from Configuration.AlCa.GlobalTag import GlobalTag
0065 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0066 
0067 # Path and EndPath definitions
0068 process.dqmHarvestingPOGMC = cms.Path(process.DQMOffline_SecondStep_PrePOGMC)
0069 process.validationprodHarvesting = cms.Path(process.hltpostvalidation_prod+process.postValidation_gen)
0070 process.validationHarvesting = cms.Path(process.postValidation+process.hltpostvalidation+process.postValidation_gen)
0071 process.dqmHarvestingFakeHLT = cms.Path(process.DQMOffline_SecondStep_FakeHLT+process.DQMOffline_Certification)
0072 process.validationpreprodHarvesting = cms.Path(process.postValidation_preprod+process.hltpostvalidation_preprod+process.postValidation_gen)
0073 process.validationHarvestingMiniAOD = cms.Path(process.JetPostProcessor+process.METPostProcessorHarvesting+process.postValidationMiniAOD)
0074 process.validationHarvestingHI = cms.Path(process.postValidationHI)
0075 process.genHarvesting = cms.Path(process.postValidation_gen)
0076 process.dqmHarvestingPOG = cms.Path(process.DQMOffline_SecondStep_PrePOG)
0077 process.alcaHarvesting = cms.Path()
0078 process.dqmHarvesting = cms.Path(process.DQMOffline_SecondStep+process.DQMOffline_Certification)
0079 process.validationHarvestingFS = cms.Path(process.postValidation+process.hltpostvalidation+process.postValidation_gen)
0080 process.postValidation_trackingOnly_step = cms.Path(process.postValidation_trackingOnly)
0081 process.DQMHarvestTracking_step = cms.Path(process.DQMHarvestTracking)
0082 process.dqmsave_step = cms.Path(process.DQMSaver)
0083 
0084 process.dqmSaver.workflow = '/%s/CMSSW_X_Y_Z/DQM' % options.label
0085 
0086 # Schedule definition
0087 process.schedule = cms.Schedule(process.postValidation_trackingOnly_step,process.DQMHarvestTracking_step,process.dqmsave_step)
0088 
0089