Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     cerr = cms.untracked.PSet(
0007         enable = cms.untracked.bool(False)
0008     ),
0009     cout = cms.untracked.PSet(
0010         enable = cms.untracked.bool(True),
0011         threshold = cms.untracked.string('DEBUG')
0012     ),
0013     debugModules = cms.untracked.vstring('*')
0014 )
0015 
0016 process.source = cms.Source("EmptyIOVSource",
0017     lastValue = cms.uint64(1),
0018     timetype = cms.string('runnumber'),
0019     firstValue = cms.uint64(1),
0020     interval = cms.uint64(1)
0021 )
0022 
0023 process.load("SimCalorimetry.EcalTrigPrimProducers.ecalTrigPrimESProducer_craft_cff")
0024 
0025 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0026 
0027 process.CondDBCommon.connect = 'sqlite_file:DB_craft.db'
0028 
0029 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0030     process.CondDBCommon,
0031     messagelevel = cms.untracked.uint32(3),
0032     catalog = cms.untracked.string('file:PoolFileCatalog_DB.xml'),
0033     toPut = cms.VPSet(cms.PSet(
0034         record = cms.string('EcalTPGPedestalsRcd'),
0035         tag = cms.string('EcalTPGPedestals_craft')
0036     ), 
0037         cms.PSet(
0038             record = cms.string('EcalTPGLinearizationConstRcd'),
0039             tag = cms.string('EcalTPGLinearizationConst_craft')
0040         ), 
0041         cms.PSet(
0042             record = cms.string('EcalTPGSlidingWindowRcd'),
0043             tag = cms.string('EcalTPGSlidingWindow_craft')
0044         ), 
0045         cms.PSet(
0046             record = cms.string('EcalTPGFineGrainEBIdMapRcd'),
0047             tag = cms.string('EcalTPGFineGrainEBIdMap_craft')
0048         ),
0049         cms.PSet(
0050             record = cms.string('EcalTPGFineGrainStripEERcd'),
0051             tag = cms.string('EcalTPGFineGrainStripEE_craft')
0052         ),
0053         cms.PSet(
0054             record = cms.string('EcalTPGFineGrainTowerEERcd'),
0055             tag = cms.string('EcalTPGFineGrainTowerEE_craft')
0056         ), 
0057         cms.PSet(
0058             record = cms.string('EcalTPGLutIdMapRcd'),
0059             tag = cms.string('EcalTPGLutIdMap_craft')
0060         ), 
0061         cms.PSet(
0062             record = cms.string('EcalTPGWeightIdMapRcd'),
0063             tag = cms.string('EcalTPGWeightIdMap_craft')
0064         ), 
0065         cms.PSet(
0066             record = cms.string('EcalTPGWeightGroupRcd'),
0067             tag = cms.string('EcalTPGWeightGroup_craft')
0068         ), 
0069         cms.PSet(
0070             record = cms.string('EcalTPGLutGroupRcd'),
0071             tag = cms.string('EcalTPGLutGroup_craft')
0072         ), 
0073         cms.PSet(
0074             record = cms.string('EcalTPGFineGrainEBGroupRcd'),
0075             tag = cms.string('EcalTPGFineGrainEBGroup_craft')
0076         ), 
0077         cms.PSet(
0078             record = cms.string('EcalTPGPhysicsConstRcd'),
0079             tag = cms.string('EcalTPGPhysicsConst_craft')
0080         ),
0081     cms.PSet(
0082             record = cms.string('EcalTPGCrystalStatusRcd'),
0083             tag = cms.string('EcalTPGCrystalStatus_craft')
0084         ),
0085     cms.PSet(
0086             record = cms.string('EcalTPGTowerStatusRcd'),
0087             tag = cms.string('EcalTPGTowerStatus_craft')
0088         ))
0089 )
0090 
0091 process.dbCopy = cms.EDAnalyzer("EcalTPGDBCopy",
0092     timetype = cms.string('runnumber'),
0093     toCopy = cms.VPSet(cms.PSet(
0094         record = cms.string('EcalTPGPedestalsRcd'),
0095         container = cms.string('EcalTPGPedestals')
0096     ), 
0097         cms.PSet(
0098             record = cms.string('EcalTPGLinearizationConstRcd'),
0099             container = cms.string('EcalTPGLinearizationConst')
0100         ), 
0101         cms.PSet(
0102             record = cms.string('EcalTPGSlidingWindowRcd'),
0103             container = cms.string('EcalTPGSlidingWindow')
0104         ), 
0105         cms.PSet(
0106             record = cms.string('EcalTPGFineGrainEBIdMapRcd'),
0107             container = cms.string('EcalTPGFineGrainEBIdMap')
0108         ), 
0109         cms.PSet(
0110             record = cms.string('EcalTPGFineGrainStripEERcd'),
0111             container = cms.string('EcalTPGFineGrainStripEE')
0112         ), 
0113         cms.PSet(
0114             record = cms.string('EcalTPGFineGrainTowerEERcd'),
0115             container = cms.string('EcalTPGFineGrainTowerEE')
0116         ), 
0117         cms.PSet(
0118             record = cms.string('EcalTPGLutIdMapRcd'),
0119             container = cms.string('EcalTPGLutIdMap')
0120         ), 
0121         cms.PSet(
0122             record = cms.string('EcalTPGWeightIdMapRcd'),
0123             container = cms.string('EcalTPGWeightIdMap')
0124         ), 
0125         cms.PSet(
0126             record = cms.string('EcalTPGWeightGroupRcd'),
0127             container = cms.string('EcalTPGWeightGroup')
0128         ), 
0129         cms.PSet(
0130             record = cms.string('EcalTPGLutGroupRcd'),
0131             container = cms.string('EcalTPGLutGroup')
0132         ), 
0133         cms.PSet(
0134             record = cms.string('EcalTPGFineGrainEBGroupRcd'),
0135             container = cms.string('EcalTPGFineGrainEBGroup')
0136         ), 
0137         cms.PSet(
0138             record = cms.string('EcalTPGPhysicsConstRcd'),
0139             container = cms.string('EcalTPGPhysicsConst')
0140         ),
0141     cms.PSet(
0142             record = cms.string('EcalTPGCrystalStatusRcd'),
0143             container = cms.string('EcalTPGCrystalStatus')
0144         ),
0145     cms.PSet(
0146             record = cms.string('EcalTPGTowerStatusRcd'),
0147             container = cms.string('EcalTPGTowerStatus')
0148         ))
0149 )
0150 
0151 process.p = cms.Path(process.dbCopy)
0152 
0153 
0154