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     )
0012 )
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input = cms.untracked.int32(1)
0016 )
0017 process.source = cms.Source("EmptySource",
0018     numberEventsInRun = cms.untracked.uint32(1),
0019     firstRun = cms.untracked.uint32(1)
0020 )
0021 
0022 
0023 process.load("OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi")
0024 process.SiStripConfigDb.UsingDb = True
0025 process.SiStripConfigDb.ConfDb = ''
0026 process.SiStripConfigDb.Partitions = cms.untracked.PSet(
0027    PartTIBD = cms.untracked.PSet(
0028                 ForceCurrentState = cms.untracked.bool(False),
0029                 ForceVersions = cms.untracked.bool(True),
0030                 PartitionName = cms.untracked.string('TI_13-JUN-2009_1'),
0031                 RunNumber = cms.untracked.uint32(120650),
0032                 CablingVersion = cms.untracked.vuint32(72, 0),
0033                 FecVersion = cms.untracked.vuint32(568, 0),
0034                 FedVersion = cms.untracked.vuint32(751, 0),
0035                 DcuDetIdsVersion = cms.untracked.vuint32(9, 0),
0036                 DcuPsuMapVersion = cms.untracked.vuint32(265, 1),
0037                 MaskVersion      = cms.untracked.vuint32(85, 0),
0038                 ApvTimingVersion   = cms.untracked.vuint32(10, 0)
0039                 )
0040     )
0041 process.SiStripConfigDb.TNS_ADMIN = ''
0042 
0043 process.load("OnlineDB.SiStripO2O.SiStripO2OCalibrationFactors_cfi")
0044 process.SiStripCondObjBuilderFromDb = cms.Service("SiStripCondObjBuilderFromDb",
0045     process.SiStripO2OCalibrationFactors
0046 )
0047 process.SiStripCondObjBuilderFromDb.SiStripDetInfoFile = cms.FileInPath("CalibTracker/SiStripCommon/data/SiStripDetInfo.dat")
0048 process.SiStripCondObjBuilderFromDb.UseAnalysis = True
0049 
0050 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0051 process.CondDBCommon.connect = 'sqlite_file:dbfile.db'
0052 process.CondDBCommon.DBParameters.messageLevel = 4
0053 process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
0054 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0055     process.CondDBCommon,
0056     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0057     logconnect = cms.untracked.string('sqlite_file:log.db'),
0058     timetype = cms.untracked.string('runnumber'),
0059     toPut = cms.VPSet(cms.PSet(
0060         record = cms.string('SiStripApvGainRcd'),
0061         tag = cms.string('SiStripApvGain_test')
0062     ))
0063 )
0064 
0065 process.CommonSiStripPopConParams = cms.PSet(
0066     SinceAppendMode = cms.bool(True),
0067     Source = cms.PSet(
0068         since = cms.untracked.uint32(1),
0069         name = cms.untracked.string('default'),
0070         debug = cms.untracked.bool(True)
0071     ),
0072     loggingOn = cms.untracked.bool(True)
0073 )
0074 
0075 process.siStripPopConApvGain = cms.EDAnalyzer("SiStripPopConApvGain",
0076     process.CommonSiStripPopConParams,
0077     record = cms.string('SiStripApvGainRcd')
0078 )
0079 process.siStripPopConApvGain.Source.name = 'siStripPopConApvGain'
0080 
0081 
0082 process.pped = cms.Path(process.siStripPopConApvGain)
0083 
0084