Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-25 03:29:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ICALIB")
0004 process.MessageLogger = cms.Service(
0005     "MessageLogger",
0006     threshold = cms.untracked.string('INFO'),
0007     #destinations = cms.untracked.vstring('cout'),
0008     destinations = cms.untracked.vstring('SiStripDetVOffFakeBuilder.log')
0009 )
0010 
0011 process.source = cms.Source("EmptyIOVSource",
0012     firstValue = cms.uint64(1),
0013     lastValue = cms.uint64(1),
0014     timetype = cms.string('runnumber'),
0015     interval = cms.uint64(1)
0016 )
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(1)
0020 )
0021 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0022     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0023     DBParameters = cms.PSet(
0024         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0025     ),
0026     timetype = cms.untracked.string('runnumber'),
0027     connect = cms.string('sqlite_file:SiStripConditionsDBFile.db'),
0028     toPut = cms.VPSet(cms.PSet(
0029         record = cms.string('SiStripDetVOffRcd'),
0030         tag = cms.string('SiStripDetVOff_v1')
0031     ))
0032 )
0033 
0034 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0035 from Configuration.AlCa.autoCond import autoCond
0036 process.GlobalTag.globaltag = autoCond['run2_design']
0037 print("taking geometry from %s" % process.GlobalTag.globaltag.value())
0038 process.load("Configuration.StandardSequences.GeometryDB_cff")
0039 
0040 process.prod = cms.EDAnalyzer("SiStripDetVOffFakeBuilder")
0041 
0042 #process.print = cms.OutputModule("AsciiOutputModule")
0043 
0044 process.p = cms.Path(process.prod)
0045 #process.ep = cms.EndPath(process.print)
0046 
0047