CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
redigi_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 dbfile = 'sqlite_file:SiStripLorentzAngle_CalibrationEnsemble.db'
4 dbtag = 'SiStripLorentzAngle_CalibrationEnsemble_31X'
5 
6 #digitization
10 pdigi = cms.Sequence(cms.SequencePlaceholder("randomEngineStateProducer")*cms.SequencePlaceholder("mix")*
11  simSiStripDigis*trackingParticles*SiStripDigiToRaw)
12 simSiStripDigis.chargeDivisionsPerStrip = 100
13 
14 #Digitize and reconstruct using smeared values of mobility
15 SiStripLorentzAngle = cms.ESSource("PoolDBESSource",
16  BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
17  DBParameters = cms.PSet( messageLevel = cms.untracked.int32(0),
18  authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
19  ),
20  timetype = cms.untracked.string('runnumber'),
21  connect = cms.string(dbfile),
22  toGet = cms.VPSet(
23  cms.PSet( record = cms.string('SiStripLorentzAngleRcd'), tag = cms.string(dbtag) )
24  )
25  )
26 es_prefer_SiStripLorentzAngle = cms.ESPrefer("PoolDBESSource","SiStripLorentzAngle")
27 
28 SiStripLorentzAngleSim = cms.ESSource("PoolDBESSource",
29  BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
30  DBParameters = cms.PSet( messageLevel = cms.untracked.int32(0),
31  authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
32  ),
33  timetype = cms.untracked.string('runnumber'),
34  connect = cms.string(dbfile),
35  toGet = cms.VPSet(
36  cms.PSet( record = cms.string('SiStripLorentzAngleSimRcd'), tag = cms.string(dbtag) )
37  )
38  )
39 es_prefer_SiStripLorentzAngleSim = cms.ESPrefer("PoolDBESSource","SiStripLorentzAngleSim")
40 
41 redigi_step = cms.Path( pdigi )