1 from CondCore.Utilities.popcon2dropbox_job_conf
import options, psetForRecord, setup_popcon
2 import CondTools.Ecal.db_credentials
as auth
4 recordName =
"EcalLaserAPDPNRatiosRcd" 5 tagTimeType =
"timestamp" 9 process.MessageLogger = cms.Service(
"MessageLogger",
10 debugModules = cms.untracked.vstring(
'*'),
11 destinations = cms.untracked.vstring(
'cout')
14 process.essource = cms.ESSource(
"PoolDBESSource",
15 connect = cms.string(
str(options.destinationDatabase)),
16 DumpStat=cms.untracked.bool(
True),
20 db_service,db_user,db_pwd = auth.get_readOnly_db_credentials()
22 process.conf_o2o = cms.EDAnalyzer(
"ExTestEcalLaserAnalyzer",
23 SinceAppendMode = cms.bool(
True),
24 record = cms.string( recordName ),
25 loggingOn = cms.untracked.bool(
True),
30 maxtime = cms.string(
"-30"),
31 sequences = cms.string(
"20"),
32 OnlineDBUser = cms.string(db_user),
34 debug = cms.bool(
False),
36 fake = cms.bool(
False),
37 OnlineDBPassword = cms.string(db_pwd),
38 OnlineDBSID = cms.string(db_service)
40 targetDBConnectionString = cms.untracked.string(
str(options.destinationDatabase))
43 process.p = cms.Path(process.conf_o2o)
def psetForRecord(recordName)
def setup_popcon(recordName, tagTimeType)