CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/CalibTracker/SiStripLorentzAngle/python/redigi_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 dbfile = 'sqlite_file:SiStripLorentzAngle_CalibrationEnsemble.db'
00004 dbtag = 'SiStripLorentzAngle_CalibrationEnsemble_31X'
00005 
00006 #digitization
00007 from SimTracker.SiStripDigitizer.SiStripDigi_APVModeDec_cff import *
00008 from SimGeneral.Configuration.SimGeneral_cff import *
00009 from EventFilter.SiStripRawToDigi.SiStripDigiToRaw_cfi import *
00010 pdigi = cms.Sequence(cms.SequencePlaceholder("randomEngineStateProducer")*cms.SequencePlaceholder("mix")*
00011                      simSiStripDigis*trackingParticles*SiStripDigiToRaw)
00012 simSiStripDigis.chargeDivisionsPerStrip = 100
00013 
00014 #Digitize and reconstruct using smeared values of mobility
00015 SiStripLorentzAngle = cms.ESSource("PoolDBESSource",
00016                                    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
00017                                    DBParameters = cms.PSet( messageLevel = cms.untracked.int32(0),
00018                                                             authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
00019                                                             ),
00020                                    timetype = cms.untracked.string('runnumber'),
00021                                    connect = cms.string(dbfile),
00022                                    toGet = cms.VPSet(
00023     cms.PSet( record = cms.string('SiStripLorentzAngleRcd'), tag = cms.string(dbtag) )
00024     )
00025                                    )
00026 es_prefer_SiStripLorentzAngle = cms.ESPrefer("PoolDBESSource","SiStripLorentzAngle")
00027 
00028 SiStripLorentzAngleSim = cms.ESSource("PoolDBESSource",
00029                                       BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
00030                                       DBParameters = cms.PSet( messageLevel = cms.untracked.int32(0),
00031                                                                authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
00032                                                                ),
00033                                       timetype = cms.untracked.string('runnumber'),
00034                                       connect = cms.string(dbfile),
00035                                       toGet = cms.VPSet(
00036     cms.PSet( record = cms.string('SiStripLorentzAngleSimRcd'), tag = cms.string(dbtag) )
00037     )
00038                                       )
00039 es_prefer_SiStripLorentzAngleSim = cms.ESPrefer("PoolDBESSource","SiStripLorentzAngleSim")
00040 
00041 redigi_step       = cms.Path( pdigi )