Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-05 02:38:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ICALIB")
0004 process.source = cms.Source("EmptyIOVSource",
0005     firstValue = cms.uint64(1),
0006     lastValue = cms.uint64(1),
0007     timetype = cms.string('runnumber'),
0008     interval = cms.uint64(1)
0009 )
0010 
0011 process.load('FWCore.MessageService.MessageLogger_cfi')   
0012 process.MessageLogger.cerr.enable = False
0013 process.MessageLogger.SiStripBadStripFromASCIIFile=dict()  
0014 process.MessageLogger.SiStripBadStrip=dict()
0015 process.MessageLogger.cout = cms.untracked.PSet(
0016     enable = cms.untracked.bool(True),
0017     threshold = cms.untracked.string("DEBUG"),
0018     default   = cms.untracked.PSet(limit = cms.untracked.int32(0)),                       
0019     FwkReport = cms.untracked.PSet(limit = cms.untracked.int32(-1),
0020                                    reportEvery = cms.untracked.int32(1000)
0021                                    ),                                                      
0022     SiStripBadStripFromASCIIFile = cms.untracked.PSet( limit = cms.untracked.int32(-1)),
0023     SiStripBadStrip = cms.untracked.PSet( limit = cms.untracked.int32(-1)),
0024     enableStatistics = cms.untracked.bool(True)
0025     )
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(1)
0029 )
0030 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0031     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0032     DBParameters = cms.PSet(
0033         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0034     ),
0035     timetype = cms.untracked.string('runnumber'),
0036     connect = cms.string('sqlite_file:SiStripConstructionDefectsDBFile.db'),
0037     toPut = cms.VPSet(cms.PSet(
0038         record = cms.string('SiStripBadStrip'),
0039         tag = cms.string('SiStripBadChannel_v1')
0040     ))
0041 )
0042 
0043 from CondTools.SiStrip.siStripBadStripFromASCIIFile_cfi import siStripBadStripFromASCIIFile
0044 process.prod = siStripBadStripFromASCIIFile.clone(Record = cms.string('SiStripBadStrip'),
0045                                                   printDebug = cms.bool(False),
0046                                                   IOVMode = cms.string('Run'),
0047                                                   SinceAppendMode = cms.bool(True),
0048                                                   doStoreOnDB = cms.bool(True),
0049                                                   file = cms.FileInPath('CondTools/SiStrip/data/DefectsFromConstructionDB.dat'))
0050 
0051 process.p = cms.Path(process.prod)
0052 
0053