Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:48:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 #
0005 #   By Freya Blekman
0006 #
0007 #  default .cfi file 
0008 #
0009 from CondCore.DBCommon.CondDBCommon_cfi import *
0010 #include "CondCore/DBCommon/data/CondDBSetup.cfi"
0011 sipixelcalib_essource = cms.ESSource("PoolDBESSource",
0012     CondDBCommon,
0013     #    using CondDBSetup
0014     toGet = cms.VPSet(cms.PSet(
0015         record = cms.string('SiPixelCalibConfigurationRcd'),
0016         # change the tag appropriately. Look at /afs/cern.ch/cms/Tracker/Pixel/configuration/TestDatabase.txt for existing tag names.
0017         tag = cms.string('GainCalibration_298')
0018     ))
0019 )
0020 
0021 sipixelcalib_essource.connect = 'oracle://cms_orcoff_int2r/CMS_COND_TIF_PIXELS' ##cms_orcoff_int2r/CMS_COND_TIF_PIXELS"
0022 
0023 sipixelcalib_essource.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
0024 #   replace sipixelcalib_essource.connect = "frontier://FrontierDev/CMS_COND_PIXEL"
0025 #   replace sipixelcalib_essource.DBParameters.authenticationMethod = 0
0026 #   seems to have disappeard in 20X
0027 #   replace sipixelcalib_essource.timetype ="runnumber"
0028 sipixelcalib_essource.DBParameters.messageLevel = 0
0029