Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:37

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_harvest --conditions auto:run2_data -s ALCAHARVEST:SiPixelQuality --data --era Run2_2017 --filein file:PromptCalibProdSiPixel.root -n -1 --customise_commands=process.GlobalTag.toGet.append(cms.PSet(record=cms.string("SiPixelQualityFromDbRcd"), tag=cms.string("SiPixelQuality_v04_offline"), connect=cms.string("frontier://FrontierProd/CMS_CONDITIONS")))\n --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 
0009 from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
0010 process = cms.Process('ALCAHARVEST',Run2_2017)
0011 
0012 # import of standard configurations
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 process.load('Configuration.EventContent.EventContent_cff')
0017 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0018 process.load('Configuration.StandardSequences.MagneticField_cff')
0019 process.load('Configuration.StandardSequences.AlCaHarvesting_cff')
0020 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(-1)
0024 )
0025 
0026 # Input source
0027 process.source = cms.Source("PoolSource",
0028     fileNames = cms.untracked.vstring('file:PromptCalibProdSiPixel.root'),
0029     processingMode = cms.untracked.string('RunsAndLumis'),
0030     secondaryFileNames = cms.untracked.vstring()
0031 )
0032 
0033 process.options = cms.untracked.PSet(
0034     Rethrow = cms.untracked.vstring('ProductNotFound'),
0035     fileMode = cms.untracked.string('FULLMERGE')
0036 )
0037 
0038 # Production Info
0039 process.configurationMetadata = cms.untracked.PSet(
0040     annotation = cms.untracked.string('step4_harvest nevts:-1'),
0041     name = cms.untracked.string('Applications'),
0042     version = cms.untracked.string('$Revision: 1.19 $')
0043 )
0044 
0045 # Output definition
0046 
0047 # Additional output definition
0048 
0049 # Other statements
0050 process.PoolDBOutputService.toPut.extend(process.ALCAHARVESTSiPixelQuality_dbOutput)
0051 process.pclMetadataWriter.recordsToMap.extend(process.ALCAHARVESTSiPixelQuality_metadata)
0052 from Configuration.AlCa.GlobalTag import GlobalTag
0053 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0054 
0055 # Path and EndPath definitions
0056 process.BeamSpotHPLowPUByRun = cms.Path(process.ALCAHARVESTBeamSpotHPLowPUByRun)
0057 process.ALCAHARVESTDQMSaveAndMetadataWriter = cms.Path(process.dqmSaver+process.pclMetadataWriter)
0058 process.EcalPedestals = cms.Path(process.ALCAHARVESTEcalPedestals)
0059 process.LumiPCC = cms.Path(process.ALCAHARVESTLumiPCC)
0060 process.BeamSpotByRun = cms.Path(process.ALCAHARVESTBeamSpotByRun)
0061 
0062 process.ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.threshold = cms.untracked.double(0.01)
0063 process.SiPixelQuality = cms.Path(process.ALCAHARVESTSiPixelQuality)#+process.siPixelPhase1DQMHarvester)
0064 
0065 process.BeamSpotHPLowPUByLumi = cms.Path(process.ALCAHARVESTBeamSpotHPLowPUByLumi)
0066 process.SiStripGains = cms.Path(process.ALCAHARVESTSiStripGains)
0067 process.BeamSpotHPByRun = cms.Path(process.ALCAHARVESTBeamSpotHPByRun)
0068 process.SiPixelAli = cms.Path(process.ALCAHARVESTSiPixelAli)
0069 process.BeamSpotByLumi = cms.Path(process.ALCAHARVESTBeamSpotByLumi)
0070 process.BeamSpotHPByLumi = cms.Path(process.ALCAHARVESTBeamSpotHPByLumi)
0071 process.SiStripGainsAAG = cms.Path(process.ALCAHARVESTSiStripGainsAAG)
0072 process.SiStripQuality = cms.Path(process.ALCAHARVESTSiStripQuality)
0073 
0074 # Schedule definition
0075 process.schedule = cms.Schedule(process.SiPixelQuality,process.ALCAHARVESTDQMSaveAndMetadataWriter)
0076 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0077 associatePatAlgosToolsTask(process)
0078 
0079 
0080 # Customisation from command line
0081 
0082 process.GlobalTag.toGet.append(cms.PSet(record=cms.string("SiPixelQualityFromDbRcd"), tag=cms.string("SiPixelQuality_v04_offline"), connect=cms.string("frontier://FrontierProd/CMS_CONDITIONS")))
0083 
0084 # Add early deletion of temporary data products to reduce peak memory need
0085 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0086 process = customiseEarlyDelete(process)
0087 # End adding early deletion