CMS 3D CMS Logo

cscUnpacker_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Import from the generic cfi file for CSC unpacking
4 import EventFilter.CSCRawToDigi.muonCSCDCCUnpacker_cfi
5 
6 muonCSCDigis = EventFilter.CSCRawToDigi.muonCSCDCCUnpacker_cfi.muonCSCDCCUnpacker.clone()
7 # Define input to the unpacker
8 muonCSCDigis.InputObjects = cms.InputTag("rawDataCollector")
9 # Use CSC examiner to check for corrupt or semi-corrupt data & avoid unpacker crashes
10 muonCSCDigis.UseExaminer = cms.bool(True)
11 # This mask is needed by the examiner
12 muonCSCDigis.ExaminerMask = cms.uint32(0x1FEBF7F6)
13 # Use Examiner to unpack good chambers and skip only bad ones
14 muonCSCDigis.UseSelectiveUnpacking = cms.bool(True)
15 # This mask simply reduces error reporting
16 muonCSCDigis.ErrorMask = cms.uint32(0x0)
17 # Unpack general status digis?
18 muonCSCDigis.UnpackStatusDigis = cms.bool(False)
19 # Unpack FormatStatus digi?
20 muonCSCDigis.UseFormatStatus = cms.bool(True)
21 # Turn on lots of output
22 muonCSCDigis.Debug = cms.untracked.bool(False)
23 muonCSCDigis.PrintEventNumber = cms.untracked.bool(False)
24 # Visualization of raw data in corrupted events
25 muonCSCDigis.VisualFEDInspect = cms.untracked.bool(False)
26 muonCSCDigis.VisualFEDShort = cms.untracked.bool(False)
27 muonCSCDigis.FormatedEventDump = cms.untracked.bool(False)