CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalRawToDigi_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import EventFilter.HcalRawToDigi.hcalRawToDigi_cfi
3 
4 # This version is intended for unpacking standard production data
5 hcalDigis = EventFilter.HcalRawToDigi.hcalRawToDigi_cfi.hcalRawToDigi.clone()
6 # Flag to enable unpacking of ZDC channels (default = True)
7 hcalDigis.UnpackZDC = cms.untracked.bool(True)
8 # Flag to enable unpacking of TTP channels (default = false)
9 hcalDigis.UnpackTTP = cms.untracked.bool(True)
10 # Optional filter to remove any digi with "data valid" off, "error" on,
11 # or capids not rotating
12 hcalDigis.FilterDataQuality = cms.bool(True)
13 hcalDigis.InputLabel = cms.InputTag("rawDataCollector")
14 # Use the defaults for FED numbers
15 # Do not complain about missing FEDs
16 hcalDigis.ComplainEmptyData = cms.untracked.bool(False)
17 # Flag to enable unpacking of calibration channels (default = false)
18 hcalDigis.UnpackCalib = cms.untracked.bool(True)
19 hcalDigis.lastSample = cms.int32(9)
20 # At most ten samples can be put into a digi, if there are more
21 # than ten, firstSample and lastSample select which samples
22 # will be copied to the digi
23 hcalDigis.firstSample = cms.int32(0)