Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:57

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 dbfile = 'sqlite_file:SiStripLorentzAngle_CalibrationEnsemble.db'
0004 dbtag = 'SiStripLorentzAngle_CalibrationEnsemble_31X'
0005 
0006 #digitization
0007 from SimTracker.SiStripDigitizer.SiStripDigi_APVModeDec_cff import *
0008 from SimGeneral.Configuration.SimGeneral_cff import *
0009 from EventFilter.SiStripRawToDigi.SiStripDigiToRaw_cfi import *
0010 pdigi = cms.Sequence(cms.SequencePlaceholder("randomEngineStateProducer")*cms.SequencePlaceholder("mix")*
0011                      simSiStripDigis*trackingParticles*SiStripDigiToRaw)
0012 simSiStripDigis.chargeDivisionsPerStrip = 100
0013 
0014 #Digitize and reconstruct using smeared values of mobility
0015 SiStripLorentzAngle = cms.ESSource("PoolDBESSource",
0016                                    BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0017                                    DBParameters = cms.PSet( messageLevel = cms.untracked.int32(0),
0018                                                             authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0019                                                             ),
0020                                    timetype = cms.untracked.string('runnumber'),
0021                                    connect = cms.string(dbfile),
0022                                    toGet = cms.VPSet(
0023     cms.PSet( record = cms.string('SiStripLorentzAngleRcd'), tag = cms.string(dbtag) )
0024     )
0025                                    )
0026 es_prefer_SiStripLorentzAngle = cms.ESPrefer("PoolDBESSource","SiStripLorentzAngle")
0027 
0028 SiStripLorentzAngleSim = cms.ESSource("PoolDBESSource",
0029                                       BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0030                                       DBParameters = cms.PSet( messageLevel = cms.untracked.int32(0),
0031                                                                authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0032                                                                ),
0033                                       timetype = cms.untracked.string('runnumber'),
0034                                       connect = cms.string(dbfile),
0035                                       toGet = cms.VPSet(
0036     cms.PSet( record = cms.string('SiStripLorentzAngleSimRcd'), tag = cms.string(dbtag) )
0037     )
0038                                       )
0039 es_prefer_SiStripLorentzAngleSim = cms.ESPrefer("PoolDBESSource","SiStripLorentzAngleSim")
0040 
0041 redigi_step       = cms.Path( pdigi )