Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:38

0001 import FWCore.ParameterSet.VarParsing as VarParsing
0002 from CondCore.Utilities.popcon2dropbox_job_conf import md, process
0003 
0004 options = VarParsing.VarParsing()
0005 options.register( 'runNumber'
0006                        , 1 #default value
0007                        , VarParsing.VarParsing.multiplicity.singleton
0008                        , VarParsing.VarParsing.varType.int
0009                        , "Run number to be uploaded.")
0010 options.parseArguments()
0011 
0012 process.RunInfo = cms.EDAnalyzer( "RunInfoPopConAnalyzer"
0013                                                      , SinceAppendMode = cms.bool( True )
0014                                                      , record = cms.string( 'RunInfoRcd' )
0015                                                      , Source = cms.PSet( runNumber = cms.uint64( options.runNumber )
0016                                                                                     , OnlineDBPass = cms.untracked.string( 'MICKEY2MOUSE' ) )
0017                                                      , loggingOn = cms.untracked.bool( True )
0018                                                      , targetDBConnectionString = cms.untracked.string( str( md.destinationDatabase() ) )
0019                                                      , IsDestDbCheckedInQueryLog = cms.untracked.bool(False) )
0020 
0021 process.p = cms.Path(process.RunInfo)