Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:29:34

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.172 
0004 # Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v 
0005 # with command line options: step3 -s HARVESTING:dqmHarvesting --conditions auto:com10 --scenario pp --no_exec --data
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process('HARVESTING')
0009 
0010 # Input source
0011 process.source = cms.Source("PoolSource",
0012     fileNames = cms.untracked.vstring(
0013       'file:AlcaBeamSpot.root'
0014     ),
0015     processingMode = cms.untracked.string('RunsAndLumis')
0016 )
0017 
0018 
0019 # initialize MessageLogger
0020 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0021 
0022 process.MessageLogger.cerr = cms.untracked.PSet(enable = cms.untracked.bool(False))
0023 process.MessageLogger.cout = cms.untracked.PSet(
0024     threshold = cms.untracked.string('INFO'),
0025     default = cms.untracked.PSet(
0026        limit = cms.untracked.int32(0)
0027     ),
0028     AlcaBeamSpotHarvester = cms.untracked.PSet(
0029         #reportEvery = cms.untracked.int32(100) # every 1000th only
0030     limit = cms.untracked.int32(0)
0031     ),
0032     AlcaBeamSpotManager = cms.untracked.PSet(
0033         #reportEvery = cms.untracked.int32(100) # every 1000th only
0034     limit = cms.untracked.int32(0)
0035     )
0036 )
0037 #process.MessageLogger.cout.enableStatistics = cms.untracked.bool(True)
0038 
0039 process.load("Calibration.TkAlCaRecoProducers.AlcaBeamSpotHarvester_cff")
0040 
0041 process.alcaBeamSpotHarvester.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string("lumibased") #lumibase
0042 
0043 # import of standard configurations
0044 process.load('Configuration.StandardSequences.Services_cff')
0045 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0046 process.load('Configuration.StandardSequences.GeometryExtended_cff')
0047 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0048 process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')
0049 process.load('Configuration.StandardSequences.Harvesting_cff')
0050 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0051 process.load('Configuration.EventContent.EventContent_cff')
0052 
0053 process.configurationMetadata = cms.untracked.PSet(
0054     annotation = cms.untracked.string('step3 nevts:1'),
0055     name = cms.untracked.string('PyReleaseValidation')
0056 )
0057 process.maxEvents = cms.untracked.PSet(
0058     input = cms.untracked.int32(-1)
0059 )
0060 #process.maxLuminosityBlocks=cms.untracked.PSet(
0061 #         input=cms.untracked.int32(1)
0062 #)
0063 process.options = cms.untracked.PSet(
0064     Rethrow = cms.untracked.vstring('ProductNotFound'),
0065     fileMode = cms.untracked.string('FULLMERGE')
0066 )
0067 
0068 # Additional output definition
0069 
0070 # Other statements
0071 process.GlobalTag.globaltag = 'GR_R_38X_V9::All'
0072 
0073 # Path and EndPath definitions
0074 process.edmtome_step = cms.Path(process.EDMtoME)
0075 process.validationpreprodHarvesting = cms.Path(process.postValidation*process.hltpostvalidation_preprod)
0076 process.validationprodHarvesting = cms.Path(process.postValidation*process.hltpostvalidation_prod)
0077 process.dqmHarvesting = cms.Path(process.DQMOffline_SecondStep*process.DQMOffline_Certification)
0078 process.validationHarvesting = cms.Path(process.postValidation*process.hltpostvalidation)
0079 process.validationHarvestingFS = cms.Path(process.HarvestingFastSim)
0080 process.dqmHarvestingPOG = cms.Path(process.DQMOffline_SecondStep_PrePOG)
0081 process.dqmsave_step = cms.Path(process.DQMSaver)
0082 
0083 
0084 
0085 
0086 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0087 
0088 
0089 process.CondDBCommon.connect = "sqlite_file:testbs.db"
0090 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0091                                           process.CondDBCommon,
0092                                           toPut = cms.VPSet(cms.PSet(
0093     record = cms.string('BeamSpotObjectsRcd'),
0094     tag = cms.string('TestLSBasedBS') )),
0095     loadBlobStreamer = cms.untracked.bool(False),
0096     timetype   = cms.untracked.string('lumiid')
0097 #    timetype   = cms.untracked.string('runnumber')
0098 )
0099 
0100 
0101 
0102 process.alcaHarvesting = cms.Path(process.alcaBeamSpotHarvester)
0103 
0104 # Schedule definition
0105 process.schedule = cms.Schedule(process.alcaHarvesting)