Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:47

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("fakeDB")
0004 process.load("Configuration.StandardSequences.GeometryDB_cff")
0005 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0006 process.DTGeometryESModule.applyAlignment = False
0007 process.DTGeometryESModule.fromDDD = False
0008 
0009 process.load("CondCore.CondDB.CondDB_cfi")
0010 
0011 process.source = cms.Source("EmptySource")
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(1)
0015 )
0016 process.calibDB = cms.ESSource("PoolDBESSource",
0017     process.CondDB,
0018     toGet = cms.VPSet(cms.PSet(
0019         record = cms.string('DTTtrigRcd'),
0020         tag = cms.string('ttrig')
0021     )),
0022 )
0023 process.calibDB.connect = cms.string('sqlite_file:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_MUONCALIB/DTCALIB/COMM09/ttrig/ttrig_ResidCorr_112281.db')
0024 #process.DTMapping = cms.ESSource("PoolDBESSource",
0025 #         DBParameters = cms.PSet(
0026 #         messageLevel = cms.untracked.int32(0),
0027 #         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0028 #         ),
0029 #         siteLocalConfig = cms.untracked.bool(False),
0030 #         toGet = cms.VPSet(cms.PSet(
0031 #         record = cms.string('DTTtrigRcd'),
0032 #         tag = cms.string('DT_tTrig_IDEAL_V01_mc')
0033 #             )),
0034 #         connect = cms.string('frontier://FrontierPrep/CMS_COND_PRESH')
0035 #)
0036 
0037 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0038     FaketTrig = cms.PSet(
0039         initialSeed = cms.untracked.uint32(563)
0040     )
0041 )
0042 
0043 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0044     process.CondDB,
0045     timetype = cms.untracked.string('runnumber'),
0046     toPut = cms.VPSet(cms.PSet(
0047         record = cms.string('DTTtrigRcd'),
0048         tag = cms.string('ttrig')
0049     ))
0050 )
0051 process.PoolDBOutputService.connect = cms.string('sqlite_file:ttrig_112281-75.db')
0052 
0053 process.FaketTrig = cms.EDAnalyzer("FakeTTrig",
0054     useTofCorrection = cms.untracked.bool(False),
0055     useWirePropCorrection = cms.untracked.bool(False),
0056     dbLabel = cms.untracked.string(''),
0057     vPropWire = cms.untracked.double(24.4),
0058     readDB = cms.untracked.bool(True),
0059     fakeTTrigPedestal = cms.untracked.double(500.0),
0060     smearing = cms.untracked.double(12.0)
0061 )
0062 
0063 process.p = cms.Path(process.FaketTrig)
0064