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 = [586, 587], #as declared in DataFormats/FEDRawData/interface/FEDNumbering.h
13 
14  RawToDigi = dict(
15  verbosity = 0,
16 
17  # disable all the checks
18  testFootprint = 0,
19  testCRC = 0,
20  testID = 0, # compare the ID from data and mapping
21  testECMostFrequent = 0, # compare frame's EC with the most frequent value in the event
22  testBCMostFrequent = 0, # compare frame's BC with the most frequent value in the event
23 
24  # tracked parameter for Totem T2
25  useOlderT2TestFile = False,
26 
27  # if true, prints a per-VFAT error summary at the end of the job
28  printErrorSummary = False,
29 
30  # if true, prints a summary of frames found in data, but not in the mapping
31  printUnknownFrameSummary = False
32  )
33 )
34 
35 # for Run 2 backward compatibility
36 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(totemTimingRawToDigi,
37 fedIds = [] )