Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:15:05

0001 import FWCore.ParameterSet.Config as cms
0002 import EventFilter.HcalRawToDigi.hcalRawToDigi_cfi
0003 
0004 # This version is intended for unpacking standard production data
0005 hcalDigis =  EventFilter.HcalRawToDigi.hcalRawToDigi_cfi.hcalRawToDigi.clone()
0006 # Flag to enable unpacking of ZDC channels (default = True)
0007 hcalDigis.UnpackZDC = cms.untracked.bool(True)
0008 # Flag to enable unpacking of TTP channels (default = false)
0009 hcalDigis.UnpackTTP = cms.untracked.bool(True)
0010 # Optional filter to remove any digi with "data valid" off, "error" on, 
0011 # or capids not rotating
0012 hcalDigis.FilterDataQuality = cms.bool(True)
0013 hcalDigis.InputLabel = cms.InputTag("rawDataCollector")
0014 # Use the defaults for FED numbers
0015 # Do not complain about missing FEDs
0016 hcalDigis.ComplainEmptyData = cms.untracked.bool(False)
0017 # Flag to enable unpacking of calibration channels (default = false)
0018 hcalDigis.UnpackCalib = cms.untracked.bool(True)
0019 hcalDigis.lastSample = cms.int32(9)
0020 # At most ten samples can be put into a digi, if there are more
0021 # than ten, firstSample and lastSample select which samples
0022 # will be copied to the digi
0023 hcalDigis.firstSample = cms.int32(0)
0024 
0025 import EventFilter.HcalRawToDigi.HcalRawToDigiFake_cfi
0026 _hcalDigisFake = EventFilter.HcalRawToDigi.HcalRawToDigiFake_cfi.HcalRawToDigiFake.clone()
0027 from Configuration.Eras.Modifier_hcalSkipPacker_cff import hcalSkipPacker
0028 hcalSkipPacker.toReplaceWith(hcalDigis, _hcalDigisFake)
0029