Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:32:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("o2o")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     cerr = cms.untracked.PSet(
0007         enable = cms.untracked.bool(False)
0008     ),
0009     cout = cms.untracked.PSet(
0010         enable = cms.untracked.bool(True),
0011         threshold = cms.untracked.string('DEBUG')
0012     ),
0013     debugModules = cms.untracked.vstring('*')
0014 )
0015 
0016 process.maxEvents = cms.untracked.PSet(
0017     input = cms.untracked.int32(1)
0018 )
0019 process.source = cms.Source("EmptySource",
0020     numberEventsInRun = cms.untracked.uint32(1),
0021     firstRun = cms.untracked.uint32(1)
0022 )
0023 
0024 
0025 process.load("OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi")
0026 process.SiStripConfigDb.UsingDb = True
0027 process.SiStripConfigDb.ConfDb = ''
0028 process.SiStripConfigDb.Partitions = cms.untracked.PSet(
0029     PartTIBD = cms.untracked.PSet(
0030         ForceCurrentState = cms.untracked.bool(False),
0031         ForceVersions = cms.untracked.bool(True),
0032         PartitionName = cms.untracked.string('TI_13-JUN-2009_1'),
0033         # RunNumber = cms.untracked.uint32(105505),
0034         # RunNumber = cms.untracked.uint32(108838),
0035         RunNumber = cms.untracked.uint32(111799),
0036         CablingVersion = cms.untracked.vuint32(72, 0),
0037         FecVersion = cms.untracked.vuint32(555, 0),
0038         FedVersion = cms.untracked.vuint32(723, 0),
0039         DcuDetIdsVersion = cms.untracked.vuint32(9, 0),
0040         DcuPsuMapVersion = cms.untracked.vuint32(265,1)
0041         )
0042     )
0043 process.SiStripConfigDb.TNS_ADMIN = ''
0044 
0045 process.load("OnlineDB.SiStripO2O.SiStripO2OCalibrationFactors_cfi")
0046 process.SiStripCondObjBuilderFromDb = cms.Service("SiStripCondObjBuilderFromDb",
0047     process.SiStripO2OCalibrationFactors
0048 )
0049 process.SiStripCondObjBuilderFromDb.SiStripDetInfoFile = cms.FileInPath("CalibTracker/SiStripCommon/data/SiStripDetInfo.dat")
0050 process.SiStripCondObjBuilderFromDb.UseFEC = True
0051 
0052 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0053 process.CondDBCommon.connect = 'sqlite_file:dbfile.db'
0054 process.CondDBCommon.DBParameters.messageLevel = 4
0055 process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
0056 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0057     process.CondDBCommon,
0058     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0059     logconnect = cms.untracked.string('sqlite_file:log.db'),
0060     timetype = cms.untracked.string('runnumber'),
0061     toPut = cms.VPSet(cms.PSet(
0062         record = cms.string('SiStripLatencyRcd'),
0063         tag = cms.string('SiStripApvLatency_test')
0064     ))
0065 )
0066 
0067 process.CommonSiStripPopConParams = cms.PSet(
0068     SinceAppendMode = cms.bool(True),
0069     Source = cms.PSet(
0070         since = cms.untracked.uint32(1),
0071         name = cms.untracked.string('default'),
0072         debug = cms.untracked.bool(True)
0073     ),
0074     loggingOn = cms.untracked.bool(True)
0075 )
0076 
0077 process.siStripPopConApvLatency = cms.EDAnalyzer("SiStripPopConApvLatency",
0078     process.CommonSiStripPopConParams,
0079     record = cms.string('SiStripLatencyRcd')
0080 )
0081 process.siStripPopConApvLatency.Source.name = 'siStripPopConApvLatency'
0082 
0083 
0084 process.pped = cms.Path(process.siStripPopConApvLatency)
0085 
0086