CMS 3D CMS Logo

totemTimingRawToDigi_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
4 from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
5 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
6 
7 from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi
8 
9 totemTimingRawToDigi = totemVFATRawToDigi.clone(
10  subSystem = 'TotemTiming',
11 
12  fedIds = cms.vuint32(586, 587), #as declared in DataFormats/FEDRawData/interface/FEDNumbering.h
13 
14  RawToDigi = cms.PSet(
15  verbosity = cms.untracked.uint32(0),
16 
17  # disable all the checks
18  testFootprint = cms.uint32(0),
19  testCRC = cms.uint32(0),
20  testID = cms.uint32(0), # compare the ID from data and mapping
21  testECMostFrequent = cms.uint32(0), # compare frame's EC with the most frequent value in the event
22  testBCMostFrequent = cms.uint32(0), # compare frame's BC with the most frequent value in the event
23 
24  # if non-zero, prints a per-VFAT error summary at the end of the job
25  printErrorSummary = cms.untracked.uint32(0),
26 
27  # if non-zero, prints a summary of frames found in data, but not in the mapping
28  printUnknownFrameSummary = cms.untracked.uint32(0)
29  )
30 )
31 
32 # for Run 2 backward compatibility
33 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(totemTimingRawToDigi,
34 fedIds = [] )