CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CondDBESSource_cfi.py
Go to the documentation of this file.
1 #This is the default configuration for the connection to the frontier servlets
2 #in order to fetch the condition payloads in CMSSW.
3 import FWCore.ParameterSet.Config as cms
4 from CondCore.CondDB.CondDB_cfi import *
5 
6 CondDBConnection = CondDB.clone( connect = cms.string( 'frontier://FrontierProd/CMS_CONDITIONS' ) )
7 print '# Conditions read from CMS_CONDITIONS via FrontierProd '
8 GlobalTag = cms.ESSource( "PoolDBESSource",
9  CondDBConnection,
10  globaltag = cms.string( '' ),
11  snapshotTime = cms.string( '' ),
12  toGet = cms.VPSet(), # hook to override or add single payloads
13  DumpStat = cms.untracked.bool( False ),
14  ReconnectEachRun = cms.untracked.bool( False ),
15  RefreshAlways = cms.untracked.bool( False ),
16  RefreshEachRun = cms.untracked.bool( False ),
17  RefreshOpenIOVs = cms.untracked.bool( False ),
18  pfnPostfix = cms.untracked.string( '' ),
19  pfnPrefix = cms.untracked.string( '' ),
20  )