Go to the documentation of this file.00001 """
00002 PixelPopConCalibAnalyzer_cfi.py
00003
00004 Python cfi file for the PixelPopConCalib application.
00005
00006 Original version: Sep 2008, M. Eads
00007 """
00008
00009 import FWCore.ParameterSet.Config as cms
00010
00011
00012 PixelPopConCalibAnalyzer = cms.EDAnalyzer('PixelPopConCalibAnalyzer',
00013
00014 record = cms.string('SiPixelCalibConfigurationRcd'),
00015
00016 loggingOn = cms.untracked.bool(True),
00017
00018
00019
00020 SinceAppendMode = cms.bool(True),
00021 Source = cms.PSet(
00022
00023 firstSince = cms.untracked.double(300),
00024
00025
00026
00027
00028 connectString = cms.string('file:///afs/cern.ch/user/m/meads/test_calib.dat'),
00029
00030
00031 schemaName = cms.string('CMS_PXL_PIXEL_VIEW_OWNER'),
00032 viewName = cms.string('CONF_KEY_PIXEL)CALIB_V'),
00033 runNumber = cms.int32(-1),
00034 configKeyName = cms.string('pixel-config-key-demo2'),
00035
00036 sinceIOV = cms.uint32(1)
00037 )
00038 )
00039
00040
00041 from CondCore.DBCommon.CondDBCommon_cfi import *
00042
00043 CondDBCommon.connect = cms.string('sqlite_file:testExample.db')
00044
00045 CondDBCommon.DBParameters.authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
00046 PoolDBOutputService = cms.Service("PoolDBOutputService",
00047 CondDBCommon,
00048
00049 logconnect = cms.untracked.string('sqlite_file:log.db'),
00050
00051 toPut = cms.VPSet(cms.PSet(
00052
00053 record = cms.string('SiPixelCalibConfigurationRcd'),
00054
00055 tag = cms.string('Pxl_tst_tag1')
00056 ))
00057 )