CMS 3D CMS Logo

SiPixelCalibConfiguration_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 #
5 # By Freya Blekman
6 #
7 # default .cfi file
8 #
10 #include "CondCore/DBCommon/data/CondDBSetup.cfi"
11 sipixelcalib_essource = cms.ESSource("PoolDBESSource",
12  CondDBCommon,
13  # using CondDBSetup
14  toGet = cms.VPSet(cms.PSet(
15  record = cms.string('SiPixelCalibConfigurationRcd'),
16  # change the tag appropriately. Look at /afs/cern.ch/cms/Tracker/Pixel/configuration/TestDatabase.txt for existing tag names.
17  tag = cms.string('GainCalibration_298')
18  ))
19 )
20 
21 sipixelcalib_essource.connect = 'oracle://cms_orcoff_int2r/CMS_COND_TIF_PIXELS'
22 
23 sipixelcalib_essource.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
24 # replace sipixelcalib_essource.connect = "frontier://FrontierDev/CMS_COND_PIXEL"
25 # replace sipixelcalib_essource.DBParameters.authenticationMethod = 0
26 # seems to have disappeard in 20X
27 # replace sipixelcalib_essource.timetype ="runnumber"
28 sipixelcalib_essource.DBParameters.messageLevel = 0
29 
CondDBCommon_cfi