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                 PartitionName = cms.untracked.string("TI_13-JUN-2009_1"),
0031                 ForceCurrentState = cms.untracked.bool(False),
0032                 ForceVersions = cms.untracked.bool(True), 
0033                 CablingVersion = cms.untracked.vuint32(72,0),
0034                 FecVersion = cms.untracked.vuint32(568,0),
0035                 FedVersion = cms.untracked.vuint32(747,0),
0036                 DcuDetIdsVersion = cms.untracked.vuint32(9,0),
0037                 MaskVersion = cms.untracked.vuint32(85,0),
0038                 DcuPsuMapVersion = cms.untracked.vuint32(265,1)
0039                 
0040         )
0041     )
0042 process.SiStripConfigDb.TNS_ADMIN = ''
0043 
0044 process.load("OnlineDB.SiStripO2O.SiStripO2OCalibrationFactors_cfi")
0045 process.SiStripCondObjBuilderFromDb = cms.Service("SiStripCondObjBuilderFromDb",
0046     process.SiStripO2OCalibrationFactors
0047 )
0048 process.SiStripCondObjBuilderFromDb.SiStripDetInfoFile = cms.FileInPath("CalibTracker/SiStripCommon/data/SiStripDetInfo.dat")
0049 process.SiStripCondObjBuilderFromDb.UseFED = True
0050 
0051 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0052 process.CondDBCommon.connect = 'sqlite_file:dbfile.db'
0053 process.CondDBCommon.DBParameters.messageLevel = 4
0054 process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
0055 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0056     process.CondDBCommon,
0057     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0058     logconnect = cms.untracked.string('sqlite_file:log.db'),
0059     timetype = cms.untracked.string('runnumber'),
0060     toPut = cms.VPSet(cms.PSet(
0061         record = cms.string('SiStripPedestalsRcd'),
0062         tag = cms.string('SiStripPedestals_test')
0063     ), 
0064         cms.PSet(
0065             record = cms.string('SiStripNoisesRcd'),
0066             tag = cms.string('SiStripNoise_test')
0067         ), 
0068         cms.PSet(
0069             record = cms.string('SiStripThresholdRcd'),
0070             tag = cms.string('SiStripThreshold_test')
0071         ), 
0072         cms.PSet(
0073             record = cms.string('SiStripBadStrip'),
0074             tag = cms.string('SiStripBadChannel_test')
0075         ), 
0076         cms.PSet(
0077             record = cms.string('SiStripFedCablingRcd'),
0078             tag = cms.string('SiStripFedCabling_test')
0079         ))
0080 )
0081 
0082 process.CommonSiStripPopConParams = cms.PSet(
0083     SinceAppendMode = cms.bool(True),
0084     Source = cms.PSet(
0085         since = cms.untracked.uint32(1),
0086         name = cms.untracked.string('default'),
0087         debug = cms.untracked.bool(True)
0088     ),
0089     loggingOn = cms.untracked.bool(True)
0090 )
0091 
0092 process.siStripPopConNoise = cms.EDAnalyzer("SiStripPopConNoise",
0093     process.CommonSiStripPopConParams,
0094     record = cms.string('SiStripNoisesRcd')
0095 )
0096 process.siStripPopConNoise.Source.name = 'siStripPopConNoise'
0097 
0098 process.siStripPopConPedestals = cms.EDAnalyzer("SiStripPopConPedestals",
0099     process.CommonSiStripPopConParams,
0100     record = cms.string('SiStripPedestalsRcd')
0101 )
0102 process.siStripPopConPedestals.Source.name = 'siStripPopConPedestals'
0103 
0104 process.siStripPopConThreshold = cms.EDAnalyzer("SiStripPopConThreshold",
0105     process.CommonSiStripPopConParams,
0106     record = cms.string('SiStripThresholdRcd')
0107 )
0108 process.siStripPopConThreshold.Source.name = 'siStripPopConThreshold'
0109 
0110 process.siStripPopConFedCabling = cms.EDAnalyzer("SiStripPopConFedCabling",
0111     process.CommonSiStripPopConParams,
0112     record = cms.string('SiStripFedCablingRcd')
0113 )
0114 process.siStripPopConFedCabling.Source.name = 'siStripPopConFedCabling'
0115 
0116 process.siStripPopConBadStrip = cms.EDAnalyzer("SiStripPopConBadStrip",
0117     process.CommonSiStripPopConParams,
0118     record = cms.string('SiStripBadStrip')
0119 )
0120 process.siStripPopConBadStrip.Source.name = 'siStripPopConBadStrip'
0121 
0122 
0123 process.pped = cms.Path(process.siStripPopConFedCabling+process.siStripPopConNoise+process.siStripPopConPedestals+process.siStripPopConThreshold+process.siStripPopConBadStrip)
0124 
0125 
0126 
0127