File indexing completed on 2024-11-25 02:29:25
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("Test")
0004 process.maxEvents = cms.untracked.PSet(
0005 input = cms.untracked.int32(1)
0006 )
0007 process.source = cms.Source("EmptySource",
0008
0009
0010
0011 firstRun = cms.untracked.uint32(1)
0012 )
0013
0014
0015
0016
0017
0018
0019
0020 process.MessageLogger = cms.Service("MessageLogger",
0021 cerr = cms.untracked.PSet(
0022 enable = cms.untracked.bool(False)
0023 ),
0024 cout = cms.untracked.PSet(
0025 enable = cms.untracked.bool(True),
0026 threshold = cms.untracked.string('WARNING')
0027 )
0028 )
0029
0030 process.Timing = cms.Service("Timing")
0031
0032 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0033 from Configuration.AlCa.autoCond import autoCond
0034 process.GlobalTag.globaltag = autoCond['run2_design']
0035
0036
0037 print(process.GlobalTag.globaltag)
0038
0039 process.load("Configuration.StandardSequences.GeometryDB_cff")
0040
0041 process.QualityReader = cms.ESSource("PoolDBESSource",
0042
0043 DBParameters = cms.PSet(
0044 messageLevel = cms.untracked.int32(0),
0045 authenticationPath = cms.untracked.string('')
0046 ),
0047 toGet = cms.VPSet(
0048 cms.PSet(
0049 record = cms.string("SiPixelDynamicInefficiencyRcd"),
0050 tag = cms.string("SiPixelDynamicInefficiency_v1")
0051 ),
0052 ),
0053 connect = cms.string('sqlite_file:siPixelDynamicInefficiency.db')
0054 )
0055
0056 process.es_prefer_QualityReader = cms.ESPrefer("PoolDBESSource","QualityReader")
0057
0058 process.DynamicInefficiencyReader = cms.EDAnalyzer("SiPixelDynamicInefficiencyReader",
0059 printDebug = cms.untracked.bool(False),
0060
0061 thePixelColEfficiency_BPix1 = cms.double(1.0),
0062 thePixelColEfficiency_BPix2 = cms.double(1.0),
0063 thePixelColEfficiency_BPix3 = cms.double(1.0),
0064 thePixelColEfficiency_FPix1 = cms.double(0.999),
0065 thePixelColEfficiency_FPix2 = cms.double(0.999),
0066 thePixelEfficiency_BPix1 = cms.double(1.0),
0067 thePixelEfficiency_BPix2 = cms.double(1.0),
0068 thePixelEfficiency_BPix3 = cms.double(1.0),
0069 thePixelEfficiency_FPix1 = cms.double(0.999),
0070 thePixelEfficiency_FPix2 = cms.double(0.999),
0071 thePixelChipEfficiency_BPix1 = cms.double(1.0),
0072 thePixelChipEfficiency_BPix2 = cms.double(1.0),
0073 thePixelChipEfficiency_BPix3 = cms.double(1.0),
0074 thePixelChipEfficiency_FPix1 = cms.double(0.999),
0075 thePixelChipEfficiency_FPix2 = cms.double(0.999),
0076 theInstLumiScaleFactor = cms.double(364),
0077 theLadderEfficiency_BPix1 = cms.vdouble( [1]*20 ),
0078 theLadderEfficiency_BPix2 = cms.vdouble( [1]*32 ),
0079 theLadderEfficiency_BPix3 = cms.vdouble( [1]*44 ),
0080 theModuleEfficiency_BPix1 = cms.vdouble( 1, 1, 1, 1, ),
0081 theModuleEfficiency_BPix2 = cms.vdouble( 1, 1, 1, 1, ),
0082 theModuleEfficiency_BPix3 = cms.vdouble( 1, 1, 1, 1 ),
0083 thePUEfficiency_BPix1 = cms.vdouble( 1.00023, -3.18350e-06, 5.08503e-10, -6.79785e-14 ),
0084 thePUEfficiency_BPix2 = cms.vdouble( 9.99974e-01, -8.91313e-07, 5.29196e-12, -2.28725e-15 ),
0085 thePUEfficiency_BPix3 = cms.vdouble( 1.00005, -6.59249e-07, 2.75277e-11, -1.62683e-15 ),
0086 theInnerEfficiency_FPix1 = cms.double(1.0),
0087 theInnerEfficiency_FPix2 = cms.double(1.0),
0088 theOuterEfficiency_FPix1 = cms.double(1.0),
0089 theOuterEfficiency_FPix2 = cms.double(1.0),
0090 thePUEfficiency_FPix_Inner = cms.vdouble(
0091 1.0
0092 ),
0093 thePUEfficiency_FPix_Outer = cms.vdouble(
0094 1.0
0095 ),
0096 )
0097 process.p = cms.Path(process.DynamicInefficiencyReader)