File indexing completed on 2024-04-06 11:56:17
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process("read")
0005 process.load("CondCore.CondDB.CondDB_cfi")
0006
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000000)
0009
0010
0011 process.source = cms.Source("EmptySource",
0012 numberEventsInRun = cms.untracked.uint32(1),
0013 firstRun = cms.untracked.uint32(1)
0014 )
0015 process.maxEvents = cms.untracked.PSet(
0016
0017 input = cms.untracked.int32(200000)
0018 )
0019
0020 process.GlobalPositionSource = cms.ESSource(
0021 "PoolDBESSource",
0022 process.CondDBSetup,
0023
0024
0025
0026
0027 toGet = cms.VPSet(cms.PSet(record = cms.string('GlobalPositionRcd'),
0028
0029
0030 tag = cms.string('GlobalAlignment_v2_offline'))
0031 ),
0032 connect = cms.string('frontier://FrontierProd/CMS_COND_31X_ALIGNMENT')
0033
0034 )
0035 process.GlobalPositionRcdScan = cms.EDAnalyzer(
0036 "GlobalPositionRcdScan",
0037
0038 rotation = cms.string('all')
0039 )
0040
0041 process.p = cms.Path(process.GlobalPositionRcdScan)
0042
0043