Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CALIB")
0004 process.MessageLogger = cms.Service("MessageLogger",
0005     cerr = cms.untracked.PSet(
0006         enable = cms.untracked.bool(False)
0007     ),
0008     files = cms.untracked.PSet(
0009         out = cms.untracked.PSet(
0010             threshold = cms.untracked.string('INFO')
0011         )
0012     )
0013 )
0014 
0015 process.source = cms.Source("EmptyIOVSource",
0016                             firstValue = cms.uint64(109574),
0017                             lastValue = cms.uint64(109574),
0018                             timetype = cms.string('runnumber'),
0019                             interval = cms.uint64(1)
0020                             )
0021 
0022 # the DB Geometry is NOT used because in this cfg only one tag is taken from the DB and no GT is used. To be fixed if this is a problem
0023 process.load('Configuration.Geometry.GeometryExtended_cff')
0024 process.TrackerTopologyEP = cms.ESProducer("TrackerTopologyEP")
0025 process.load("Geometry.TrackerGeometryBuilder.trackerParameters_cfi")
0026 
0027 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0028 
0029 process.poolDBESSource = cms.ESSource(
0030                                       "PoolDBESSource",
0031                                       BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0032                                       DBParameters = cms.PSet(messageLevel = cms.untracked.int32(2),
0033                                                               authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0034                                                               ),
0035                                       timetype = cms.untracked.string('runnumber'),
0036                                       connect = cms.string('frontier://FrontierProd/CMS_COND_31X_STRIP'),
0037                                       toGet = cms.VPSet(cms.PSet(record = cms.string('SiStripApvGainRcd'),
0038                                                                  tag = cms.string('SiStripApvGain_GR09_31X_v1_hlt')
0039                                                                  )
0040                                                         )
0041                                       )
0042 
0043 
0044 process.analysis = cms.EDAnalyzer("SiStripPlotGain")
0045 
0046 
0047 process.p = cms.Path(process.analysis)
0048