Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:38:18

0001 """
0002 testPixelPopConCalibAnalyzer_cfg.pg
0003 
0004 Python configuration file to run the pixel calib configuration popcon application
0005 
0006 Original version: Sep 2008, M. Eads
0007 """
0008 
0009 import FWCore.ParameterSet.Config as cms
0010 
0011 process = cms.Process("testPixelPopConCalibAnalyzer")
0012 # load the cfi for the PixelPopConCalib application
0013 process.load("CondTools.SiPixel.PixelPopConCalibAnalyzer_cfi")
0014 
0015 # define the source for the CMSSW process
0016 process.source = cms.Source('EmptyIOVSource',
0017                             timetype = cms.string('runnumber'),
0018                             firstValue = cms.uint64(1),
0019                             lastValue = cms.uint64(1),
0020                             interval = cms.uint64(1)
0021                             )
0022 
0023 # change the location the calib.dat data is read from
0024 #process.PixelPopConCalibAnalyzer.Source.connectString = 'file:///path/to/calib.dat'
0025 
0026 # change the run number used to set the IOV
0027 # by default, if sinceIOV is N, then the IOV will be from run N to infinity
0028 #process.PixelPopConCalibAnalyzer.Source.sinceIOV = 2
0029 
0030 # change the logging db used
0031 #process.PoolDBOutputService.logconnect = 'sqlite_file:my_logging.db'
0032 
0033 # change the tag name used
0034 #process.PoolDBOutputService.toPut[0].tag = 'my_tagname'
0035 
0036 # change the database that the calib config object is written to 
0037 #process.PoolDBOutputService.connect = 'sqlite_file:my.db' 
0038 
0039 process.p = cms.Path(process.PixelPopConCalibAnalyzer)