File indexing completed on 2024-04-06 11:59:53
0001
0002
0003
0004
0005
0006
0007
0008 import FWCore.ParameterSet.Config as cms
0009
0010 process = cms.Process("Reader")
0011
0012
0013 process.MessageLogger = cms.Service("MessageLogger",
0014 cerr = cms.untracked.PSet(
0015 enable = cms.untracked.bool(False)
0016 ),
0017 debugModules = cms.untracked.vstring('*'),
0018 files = cms.untracked.PSet(
0019 LorentzAngleDepReaderDebug = cms.untracked.PSet(
0020 threshold = cms.untracked.string('DEBUG')
0021 ),
0022 LorentzAngleDepReaderSummary = cms.untracked.PSet(
0023 threshold = cms.untracked.string('INFO')
0024 )
0025 )
0026 )
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040 process.maxEvents = cms.untracked.PSet(
0041 input = cms.untracked.int32(10)
0042 )
0043 process.source = cms.Source("EmptyIOVSource",
0044 timetype = cms.string('runnumber'),
0045 firstValue = cms.uint64(1),
0046 lastValue = cms.uint64(11),
0047 interval = cms.uint64(1)
0048 )
0049
0050
0051 process.load("CalibTracker.SiStripESProducers.SiStripLorentzAngleDepESProducer_cfi")
0052
0053
0054
0055
0056 process.siStripLorentzAngleDepESProducer.LatencyRecord = cms.PSet(
0057 record = cms.string('SiStripLatencyRcd'),
0058 label = cms.untracked.string('Latency'))
0059
0060 process.siStripLorentzAngleDepESProducer.LorentzAnglePeakMode = cms.PSet(
0061 record = cms.string('SiStripLorentzAngleRcd'),
0062 label = cms.untracked.string('LA1'))
0063
0064 process.siStripLorentzAngleDepESProducer.LorentzAngleDeconvMode = cms.PSet(
0065 record = cms.string('SiStripLorentzAngleRcd'),
0066 label = cms.untracked.string('LA2'))
0067
0068
0069 process.poolDBESSource = cms.ESSource(
0070 "PoolDBESSource",
0071 BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0072 DBParameters = cms.PSet(
0073 messageLevel = cms.untracked.int32(2),
0074 authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0075 ),
0076 timetype = cms.untracked.string('runnumber'),
0077 connect = cms.string('sqlite_file:/afs/cern.ch/user/r/rebeca/public/dbfile.db'),
0078 toGet = cms.VPSet(
0079 cms.PSet(
0080 record = cms.string('SiStripLatencyRcd'),
0081 tag = cms.string('SiStripLatency_Ideal_31X'),
0082 label = cms.untracked.string('Latency')
0083 ),
0084 cms.PSet(
0085 record = cms.string('SiStripLorentzAngleRcd'),
0086 tag = cms.string('SiStripLorentzAngle_1'),
0087 label = cms.untracked.string('LA1')
0088 ),
0089 cms.PSet(
0090 record = cms.string('SiStripLorentzAngleRcd'),
0091 tag = cms.string('SiStripLorentzAngle_2'),
0092 label = cms.untracked.string('LA2')
0093 )
0094 )
0095 )
0096
0097 process.reader = cms.EDAnalyzer("SiStripLorentzAngleDepDummyPrinter")
0098
0099 process.p1 = cms.Path(process.reader)
0100
0101