Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
process	ProcessOne = {
 service = MessageLogger {
    untracked vstring destinations = { "cout" }
          untracked PSet cout = { untracked string threshold = 
#"ERROR" 
# or switch to
"INFO" 
} 
}	

//Subproject specific modules
     source = EmptyIOVSource {
         string timetype = "runnumber"
         uint64 firstValue = 1
         uint64 lastValue = 1
         uint64 interval = 1
       }


//PopCon config
include "CondCore/DBCommon/data/CondDBCommon.cfi"
// eg to write the objects in sqlite

replace CondDBCommon.connect = "sqlite_file:pop_test.db"

// Database output service
    service = PoolDBOutputService{
	using CondDBCommon
        untracked string timetype="runnumber"
	VPSet toPut = { { string record = "CSCPedestalsRcd" string tag = "Example_tag" } }
	untracked string logconnect = "sqlite_file:log.db"
   }




//Common parameters to all subprojects
module Test1 = ExPopConAnalyzer {	
   string record = "CSCPedestalsRcd"  	
   untracked bool loggingOn = True	
   bool SinceAppendMode = true		
   PSet Source = {
      untracked uint64 firstSince = xxx 
      untracked uint64 number = yyy
  }
}  
   

 path p = {Test1}
}