Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DigiToRaw1")
0004 
0005 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0006 
0007 process.source = cms.Source("PoolSource", fileNames =  cms.untracked.vstring('file:mu10.root'))
0008 
0009 process.load("Geometry.TrackerSimData.trackerSimGeometryXML_cfi")
0010 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0011 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0012 process.load("Configuration.StandardSequences.MagneticField_cff")
0013 
0014 
0015 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0016 process.load("CalibTracker.Configuration.SiPixel_FakeConditions_cff")
0017 
0018 process.load("CalibTracker.Configuration.SiPixelCabling.SiPixelCabling_SQLite_cff")
0019 process.siPixelCabling.connect = 'sqlite_file:cabling.db'
0020 process.siPixelCabling.toGet = cms.VPSet(cms.PSet(
0021     record = cms.string('SiPixelFedCablingMapRcd'),
0022     tag = cms.string('SiPixelFedCablingMap_v14')
0023 ))
0024 
0025 process.load("EventFilter.SiPixelRawToDigi.SiPixelDigiToRaw_cfi")
0026 #process.siPixelRawData.InputLabel = 'siPixelDigis'
0027 
0028 process.MessageLogger = cms.Service("MessageLogger",
0029     cerr = cms.untracked.PSet(
0030         enable = cms.untracked.bool(False)
0031     ),
0032     debugModules = cms.untracked.vstring('siPixelRawData'),
0033     files = cms.untracked.PSet(
0034         d2r = cms.untracked.PSet(
0035             threshold = cms.untracked.string('DEBUG')
0036         )
0037     )
0038 )
0039 
0040 process.out = cms.OutputModule("PoolOutputModule",
0041     fileName =  cms.untracked.string('file:rawdata.root'),
0042     outputCommands = cms.untracked.vstring("drop *","keep *_siPixelRawData_*_*")
0043 )
0044 
0045 
0046 process.p = cms.Path(process.siPixelRawData)
0047 process.ep = cms.EndPath(process.out)
0048 
0049 
0050