CMS 3D CMS Logo

ScCaloRawToDigi_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # default parameters for the DMA input source
4 dmaDataModeParameters = cms.PSet(
5  dataSourceMode=cms.string("DMA"),
6  dmaSourceId=cms.int32(2)
7 )
8 
9 # default parameters for the TCP source
10 tcpDataModeParameters = cms.PSet(
11  dataSourceMode=cms.string("TCP"),
12  jetSourceIdList = cms.vint32(22),
13  eGammaSourceIdList = cms.vint32(23),
14  tauSourceIdList = cms.vint32(25),
15  etSumSourceIdList = cms.vint32(24),
16 )
17 
18 ScCaloUnpacker = cms.EDProducer("ScCaloRawToDigi",
19  srcInputTag = cms.InputTag("rawDataCollector"),
20  # DMA / TCP mode configs
21  dataSource = tcpDataModeParameters,
22  # unpack the full set of energy sums
23  enableAllSums = cms.bool(True),
24  # print all objects
25  debug = cms.untracked.bool(False)
26 )
27