File indexing completed on 2024-04-06 12:01:58
0001
0002
0003 import FWCore.ParameterSet.Config as cms
0004
0005 process = cms.Process("myprocess")
0006
0007 process.load("CondCore.CondDB.CondDB_cfi")
0008 process.load("FWCore.MessageService.MessageLogger_cfi")
0009
0010 process.CondDB.connect = 'sqlite_file:DropBoxMetadata.db'
0011
0012 process.maxEvents = cms.untracked.PSet(
0013 input = cms.untracked.int32(1)
0014 )
0015 process.source = cms.Source("EmptySource",
0016 firstRun = cms.untracked.uint32(300000)
0017 )
0018
0019
0020
0021 process.myReader = cms.EDAnalyzer("ProduceDropBoxMetadata",
0022
0023 write = cms.untracked.bool(False),
0024 toWrite = cms.VPSet(),
0025
0026
0027
0028 read = cms.untracked.bool(True),
0029
0030
0031 toRead = cms.untracked.vstring(
0032 'BeamSpotObjectsRcdByRun',
0033 'BeamSpotObjectsRcdByLumi',
0034 'BeamSpotObjectsRcdHPByLumi',
0035 'BeamSpotObjectsRcdHPByRun',
0036 'SiStripBadStripRcd',
0037 'SiStripBadStripFromHitEffRcd',
0038 'SiStripApvGainRcd',
0039 'TrackerAlignmentRcd',
0040 'TrackerAlignmentHGRcd',
0041 'TrackerAlignmentHGCombinedRcd',
0042 'SiStripApvGainRcdAAG',
0043 'EcalPedestalsRcd',
0044 "LumiCorrectionsRcd",
0045 "SiPixelQualityFromDbRcd_prompt",
0046 "SiPixelQualityFromDbRcd_stuckTBM",
0047 "SiPixelQualityFromDbRcd_other",
0048 "SiPixelLorentzAngleRcd",
0049 "SiPixelLorentzAngleRcdMCS",
0050 "CTPPSRPAlignmentCorrectionsDataRcd",
0051 "PPSTimingCalibrationRcd_HPTDC",
0052 "PPSTimingCalibrationRcd_SAMPIC",
0053 "SiStripLorentzAngleRcd",
0054 )
0055 )
0056
0057 process.p = cms.Path(process.myReader)
0058
0059 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0060 process.GlobalTag.globaltag = '124X_dataRun3_Express_Queue'
0061
0062
0063
0064 readsqlite = True
0065 if readsqlite:
0066 process.GlobalTag.toGet = cms.VPSet(
0067 cms.PSet(record = cms.string("DropBoxMetadataRcd"),
0068 tag = cms.string("DropBoxMetadata"),
0069 connect = cms.string("sqlite_file:DropBoxMetadata.db")
0070 )
0071 )