Exemple #1
0
import FWCore.ParameterSet.Config as cms

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

totemT2Digis = totemVFATRawToDigi.clone(
    subSystem=cms.string('TotemT2'),
    RawToDigi=totemVFATRawToDigi.RawToDigi.clone(
        testCRC=cms.uint32(0),  # no need to test CRC for diamond frames
        testECMostFrequent=cms.uint32(
            0
        )  # show error in the DQM and then DAQ is sending resync, no need to test in the unpacker
    ))
Exemple #2
0
import FWCore.ParameterSet.Config as cms

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

totemTimingRawToDigi = totemVFATRawToDigi.clone(
    subSystem=cms.string('TotemTiming'),

    # IMPORTANT: leave empty to load the default configuration from
    #    DataFormats/FEDRawData/interface/FEDNumbering.h
    fedIds=cms.vuint32(),
    RawToDigi=cms.PSet(
        verbosity=cms.untracked.uint32(0),

        # disable all the checks
        testFootprint=cms.uint32(0),
        testCRC=cms.uint32(0),
        testID=cms.uint32(0),  # compare the ID from data and mapping
        testECMostFrequent=cms.uint32(
            0),  # compare frame's EC with the most frequent value in the event
        testBCMostFrequent=cms.uint32(
            0),  # compare frame's BC with the most frequent value in the event

        # if non-zero, prints a per-VFAT error summary at the end of the job
        printErrorSummary=cms.untracked.uint32(0),

        # if non-zero, prints a summary of frames found in data, but not in the mapping
        printUnknownFrameSummary=cms.untracked.uint32(0)))
Exemple #3
0
import FWCore.ParameterSet.Config as cms

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

totemRPRawToDigi = totemVFATRawToDigi.clone(
    subSystem=cms.string('TrackingStrip'))
import FWCore.ParameterSet.Config as cms

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

totemTimingRawToDigi = totemVFATRawToDigi.clone(
    subSystem = cms.string('TotemTiming'),
    
    # IMPORTANT: leave empty to load the default configuration from
    #    DataFormats/FEDRawData/interface/FEDNumbering.h
    fedIds = cms.vuint32(),
    
    RawToDigi = cms.PSet(
    verbosity = cms.untracked.uint32(0),

    # disable all the checks
    testFootprint = cms.uint32(0),
    testCRC = cms.uint32(0),
    testID = cms.uint32(0),               # compare the ID from data and mapping
    testECMostFrequent = cms.uint32(0),   # compare frame's EC with the most frequent value in the event
    testBCMostFrequent = cms.uint32(0),   # compare frame's BC with the most frequent value in the event
    
    # if non-zero, prints a per-VFAT error summary at the end of the job
    printErrorSummary = cms.untracked.uint32(0),
    
    # if non-zero, prints a summary of frames found in data, but not in the mapping
    printUnknownFrameSummary = cms.untracked.uint32(0)
  )
)
Exemple #5
0
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

totemRPRawToDigi = totemVFATRawToDigi.clone(
    subSystem='TrackingStrip',
    fedIds=[578, 580, 584, 585
            ]  #as declared in DataFormats/FEDRawData/interface/FEDNumbering.h
)

# for Run 2 backward compatibility
(ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(totemRPRawToDigi, fedIds=[])
import FWCore.ParameterSet.Config as cms

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

ctppsDiamondRawToDigi = totemVFATRawToDigi.clone(
    subSystem = cms.string('TimingDiamond')
)
Exemple #7
0
from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

totemTimingRawToDigi = totemVFATRawToDigi.clone(
    subSystem='TotemTiming',
    fedIds=cms.vuint32(
        586,
        587),  #as declared in DataFormats/FEDRawData/interface/FEDNumbering.h
    RawToDigi=cms.PSet(
        verbosity=cms.untracked.uint32(0),

        # disable all the checks
        testFootprint=cms.uint32(0),
        testCRC=cms.uint32(0),
        testID=cms.uint32(0),  # compare the ID from data and mapping
        testECMostFrequent=cms.uint32(
            0),  # compare frame's EC with the most frequent value in the event
        testBCMostFrequent=cms.uint32(
            0),  # compare frame's BC with the most frequent value in the event

        # if non-zero, prints a per-VFAT error summary at the end of the job
        printErrorSummary=cms.untracked.uint32(0),

        # if non-zero, prints a summary of frames found in data, but not in the mapping
        printUnknownFrameSummary=cms.untracked.uint32(0)))

# for Run 2 backward compatibility
(ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(totemTimingRawToDigi,
                                                fedIds=[])
import FWCore.ParameterSet.Config as cms

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

totemRPRawToDigi = totemVFATRawToDigi.clone(
    subSystem = cms.string('TrackingStrip')
)
import FWCore.ParameterSet.Config as cms

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

ctppsDiamondRawToDigi = totemVFATRawToDigi.clone(
    subSystem = cms.string('TimingDiamond'),
    RawToDigi = totemVFATRawToDigi.RawToDigi.clone(
        testCRC = cms.uint32(0), # no need to test CRC for diamond frames
        testECMostFrequent = cms.uint32(0) # show error in the DQM and then DAQ is sending resync, no need to test in the unpacker
    )
)
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

ctppsDiamondRawToDigi = totemVFATRawToDigi.clone(
    subSystem='TimingDiamond',
    fedIds=[579, 581, 582, 583
            ],  #as declared in DataFormats/FEDRawData/interface/FEDNumbering.h
    RawToDigi=dict(
        testCRC=0,  # no need to test CRC for diamond frames
        testECMostFrequent=
        0,  # show error in the DQM and then DAQ is sending resync, no need to test in the unpacker
    ))

# for Run 2 backward compatibility
(ctpps_2016 | ctpps_2017 | ctpps_2018).toModify(ctppsDiamondRawToDigi,
                                                fedIds=[])
import FWCore.ParameterSet.Config as cms

from EventFilter.CTPPSRawToDigi.totemVFATRawToDigi_cfi import totemVFATRawToDigi

ctppsDiamondRawToDigi = totemVFATRawToDigi.clone(
    subSystem=cms.string('TimingDiamond'))