CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/CondTools/SiPixel/python/SiPixelCalibConfiguration_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 #
00005 #   By Freya Blekman
00006 #
00007 #  default .cfi file 
00008 #
00009 from CondCore.DBCommon.CondDBCommon_cfi import *
00010 #include "CondCore/DBCommon/data/CondDBSetup.cfi"
00011 sipixelcalib_essource = cms.ESSource("PoolDBESSource",
00012     CondDBCommon,
00013     #    using CondDBSetup
00014     toGet = cms.VPSet(cms.PSet(
00015         record = cms.string('SiPixelCalibConfigurationRcd'),
00016         # change the tag appropriately. Look at /afs/cern.ch/cms/Tracker/Pixel/configuration/TestDatabase.txt for existing tag names.
00017         tag = cms.string('GainCalibration_298')
00018     ))
00019 )
00020 
00021 sipixelcalib_essource.connect = 'oracle://cms_orcoff_int2r/CMS_COND_TIF_PIXELS' ##cms_orcoff_int2r/CMS_COND_TIF_PIXELS"
00022 
00023 sipixelcalib_essource.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
00024 #   replace sipixelcalib_essource.connect = "frontier://FrontierDev/CMS_COND_PIXEL"
00025 #   replace sipixelcalib_essource.DBParameters.authenticationMethod = 0
00026 #   seems to have disappeard in 20X
00027 #   replace sipixelcalib_essource.timetype ="runnumber"
00028 sipixelcalib_essource.DBParameters.messageLevel = 0
00029