Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-11 03:56:57

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DetVOffReader")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     cerr = cms.untracked.PSet(
0007         enable = cms.untracked.bool(False)
0008     ),
0009     debugModules = cms.untracked.vstring(''),
0010     files = cms.untracked.PSet(
0011         SiStripDetVOffReader = cms.untracked.PSet()
0012     )
0013 )
0014 
0015 process.source = cms.Source("EmptyIOVSource",
0016                             timetype = cms.string('timestamp'),
0017                             firstValue = cms.uint64(6318323863869830144),
0018                             lastValue = cms.uint64(6318587115701303296),
0019                             interval = cms.uint64(1)
0020                             )
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(1)
0024     )
0025 
0026 #process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0027 #from Configuration.AlCa.GlobalTag import GlobalTag
0028 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0029 
0030 from CondCore.CondDB.CondDB_cfi import *
0031 CondDBDetVOff = CondDB.clone(connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS'))
0032 process.dbInput = cms.ESSource("PoolDBESSource",
0033                                CondDBDetVOff,
0034                                toGet = cms.VPSet(cms.PSet(record = cms.string('SiStripDetVOffRcd'),
0035                                                           tag = cms.string('SiStripDetVOff_1hourDelay_v1_Validation') #choose your own favourite
0036                                                           )
0037                                                  )
0038                                )
0039 
0040 process.fedcablingreader = cms.EDAnalyzer("SiStripDetVOffReader")
0041 
0042 process.p1 = cms.Path(process.fedcablingreader)
0043 
0044