Warning, /CondCore/PopCon/test/PopConExample1_template.cfg is written in an unsupported language. File is not indexed.
0001 process ProcessOne = {
0002 service = MessageLogger {
0003 untracked vstring destinations = { "cout" }
0004 untracked PSet cout = { untracked string threshold =
0005 #"ERROR"
0006 # or switch to
0007 "INFO"
0008 }
0009 }
0010
0011 //Subproject specific modules
0012 source = EmptyIOVSource {
0013 string timetype = "runnumber"
0014 uint64 firstValue = 1
0015 uint64 lastValue = 1
0016 uint64 interval = 1
0017 }
0018
0019
0020 //PopCon config
0021 include "CondCore/DBCommon/data/CondDBCommon.cfi"
0022 // eg to write the objects in sqlite
0023
0024 replace CondDBCommon.connect = "sqlite_file:pop_test.db"
0025
0026 // Database output service
0027 service = PoolDBOutputService{
0028 using CondDBCommon
0029 untracked string timetype="runnumber"
0030 VPSet toPut = { { string record = "CSCPedestalsRcd" string tag = "Example_tag" } }
0031 untracked string logconnect = "sqlite_file:log.db"
0032 }
0033
0034
0035
0036
0037 //Common parameters to all subprojects
0038 module Test1 = ExPopConAnalyzer {
0039 string record = "CSCPedestalsRcd"
0040 untracked bool loggingOn = True
0041 bool SinceAppendMode = true
0042 PSet Source = {
0043 untracked uint64 firstSince = xxx
0044 untracked uint64 number = yyy
0045 }
0046 }
0047
0048
0049 path p = {Test1}
0050 }
0051