Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:59:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
0004 from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
0005 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
0006 from Configuration.Eras.Modifier_ctpps_2022_cff import ctpps_2022
0007 
0008 from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi
0009 
0010 # For Run3 we use extended list of FedIDs
0011 ctppsDiamondRawToDigi = totemVFATRawToDigi.clone(
0012     subSystem = 'TimingDiamond',
0013     fedIds = [579, 581, 582, 583, 588, 589],
0014     RawToDigi = dict(
0015         testCRC = 0,                     # no need to test CRC for diamond frames
0016         testECMostFrequent = 0, # show error in the DQM and then DAQ is sending resync, no need to test in the unpacker
0017     )
0018 )
0019 
0020 # for Run 2 backward compatibility
0021 # empty list of fedIds means that the ids will be read from DataFormats/FEDRawData/interface/FEDNumbering.h
0022 (ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(ctppsDiamondRawToDigi, fedIds = [] )