Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:44

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: stepHarvest --data --conditions auto:run2_data --scenario pp -s ALCAHARVEST:SiStripGains --filein file:PromptCalibProdSiStripGains.root -n -1 --fileout file:calib.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 
0009 process = cms.Process('ALCAHARVEST')
0010 
0011 # import of standard configurations
0012 process.load('Configuration.StandardSequences.Services_cff')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0016 process.load('Configuration.StandardSequences.MagneticField_cff')
0017 process.load('Configuration.StandardSequences.AlCaHarvesting_cff')
0018 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021     input = cms.untracked.int32(-1)
0022 )
0023 
0024 # Input source
0025 process.source = cms.Source("PoolSource",
0026     fileNames = cms.untracked.vstring('file:PromptCalibProdSiStripGains_A.root'),
0027     processingMode = cms.untracked.string('RunsAndLumis'),
0028     secondaryFileNames = cms.untracked.vstring()
0029 )
0030 
0031 process.options = cms.untracked.PSet(
0032     Rethrow = cms.untracked.vstring('ProductNotFound'),
0033     fileMode = cms.untracked.string('FULLMERGE')
0034 )
0035 
0036 # Production Info
0037 process.configurationMetadata = cms.untracked.PSet(
0038     annotation = cms.untracked.string('stepHarvest nevts:-1'),
0039     name = cms.untracked.string('Applications'),
0040     version = cms.untracked.string('$Revision: 1.19 $')
0041 )
0042 
0043 # Output definition
0044 
0045 # Additional output definition
0046 
0047 # Other statements
0048 process.PoolDBOutputService.toPut.append(process.ALCAHARVESTSiStripGains_dbOutput)
0049 process.pclMetadataWriter.recordsToMap.append(process.ALCAHARVESTSiStripGains_metadata)
0050 from Configuration.AlCa.GlobalTag import GlobalTag
0051 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0052 
0053 # Path and EndPath definitions
0054 process.SiStripGains = cms.Path(process.ALCAHARVESTSiStripGains)
0055 process.ALCAHARVESTDQMSaveAndMetadataWriter = cms.Path(process.dqmSaver+process.pclMetadataWriter)
0056 
0057 # Schedule definition
0058 process.schedule = cms.Schedule(process.SiStripGains,process.ALCAHARVESTDQMSaveAndMetadataWriter)
0059 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0060 associatePatAlgosToolsTask(process)
0061 
0062 # Add early deletion of temporary data products to reduce peak memory need
0063 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0064 process = customiseEarlyDelete(process)
0065 # End adding early deletion