test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
totemVFATRawToDigi_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 totemVFATRawToDigi = cms.EDProducer("TotemVFATRawToDigi",
4  rawDataTag = cms.InputTag(""),
5 
6  # options: "RP"
7  subSystem = cms.string(""),
8 
9  # IMPORTANT: leave empty to load the default configuration from
10  # DataFormats/FEDRawData/interface/FEDNumbering.h
11  fedIds = cms.vuint32(),
12 
13  RawUnpacking = cms.PSet(
14  ),
15 
16  RawToDigi = cms.PSet(
17  # 0: no error output
18  # 1: one-line message for every event with at least one corrupted VFAT frame
19  # 2: lists all corrupted VFATs in all events
20  # 3: lists all corruptions for all corrupted VFATs in all events
21  verbosity = cms.untracked.uint32(0),
22 
23  # flags for available consistency tests
24  # 0: do not perform the test at all
25  # 1: print an error message, but keep the frame
26  # 2: print an error message and do not process the frame
27  testFootprint = cms.uint32(2),
28  testCRC = cms.uint32(2),
29  testID = cms.uint32(2), # compare the ID from data and mapping
30  testECMostFrequent = cms.uint32(2), # compare frame's EC with the most frequent value in the event
31  testBCMostFrequent = cms.uint32(2), # compare frame's BC with the most frequent value in the event
32 
33  # the minimal number of frames to search for the most frequent counter value
34  EC_min = cms.untracked.uint32(10),
35  BC_min = cms.untracked.uint32(10),
36 
37  # the most frequent counter value is accepted provided its relative occupancy is higher than this fraction
38  EC_fraction = cms.untracked.double(0.6),
39  BC_fraction = cms.untracked.double(0.6),
40 
41  # if non-zero, prints a per-VFAT error summary at the end of the job
42  printErrorSummary = cms.untracked.uint32(1),
43 
44  # if non-zero, prints a summary of frames found in data, but not in the mapping
45  printUnknownFrameSummary = cms.untracked.uint32(0),
46  )
47 )