1 from CondCore.Utilities.popcon2dropbox_job_conf
import options, psetForRecord, setup_popcon
2 import CondTools.Ecal.db_credentials
as auth
4 recordName =
"EcalDAQTowerStatusRcd" 5 tagTimeType =
"runnumber" 10 process.MessageLogger = cms.Service(
"MessageLogger",
11 debugModules = cms.untracked.vstring(
'*'),
12 destinations = cms.untracked.vstring(
'cout')
15 process.essource = cms.ESSource(
"PoolDBESSource",
16 connect = cms.string(
str(options.destinationDatabase) ),
17 DumpStat=cms.untracked.bool(
True),
21 db_service,db_user,db_pwd = auth.get_readOnly_db_credentials()
23 process.conf_o2o = cms.EDAnalyzer(
"ExTestEcalDAQAnalyzer",
24 SinceAppendMode = cms.bool(
True),
25 record = cms.string( recordName ),
26 loggingOn = cms.untracked.bool(
True),
28 firstRun = cms.string(
'121756'),
29 lastRun = cms.string(
'100000000'),
30 OnlineDBUser = cms.string(db_user),
31 debug = cms.bool(
False),
32 OnlineDBPassword = cms.string(db_pwd),
33 OnlineDBSID = cms.string(db_service),
34 location = cms.string(
'P5_Co'),
36 runtype = cms.string(
'BEAM'),
37 gentag = cms.string(
'GLOBAL')
39 targetDBConnectionString = cms.untracked.string(
str(options.destinationDatabase))
42 process.p = cms.Path(process.conf_o2o)
def psetForRecord(recordName)
def setup_popcon(recordName, tagTimeType)