IcebergRawDecoder.fcl
Go to the documentation of this file.
1 BEGIN_PROLOG
2 
3 iceberg_tpc_raw_decoder:
4 {
5  module_type: "IcebergTPCRawDecoder"
6  OutputDataLabel: "daq"
7 
8  RCERawDataLabel: "daq"
9  RCERawDataContainerInstance: "ContainerTPC"
10  RCERawDataNonContainerInstance: "TPC"
11  RCEFragmentType: 2
12  RCEDropEventsWithSmallFrags: false
13  RCEDropSmallFrags: true
14  RCESmallFragSize: 500
15  RCEDropFragsWithBadCSF: false # skip fragments with invalid crate, slot, and fiber numbers
16  RCEHexDump: false
17  RCESaveFragsToFiles: false
18  RCECheckBufferSize: true
19  RCEBufferSizeCheckLimit: 10000000
20 
21  FELIXRawDataLabel: "daq"
22  FELIXRawDataContainerInstance: "ContainerFELIX"
23  FELIXRawDataNonContainerInstance: "FELIX"
24  FELIXFragmentType: 8
25  FELIXDropFragsWithBadCSF: false
26  FELIXEnforceExactCrateNumber: false
27  FELIXCrateNumberToCheck: 6
28  FELIXHexDump: false
29  FELIXDropEventsWithSmallFrags: false
30  FELIXDropSmallFrags: true
31  FELIXSmallFragSize: 500
32  FELIXCheckBufferSize: true
33  FELIXBufferSizeCheckLimit: 10000000
34 
35  CompressHuffman: false
36  PrintColdataConvertCount: false
37 
38  MakeHistograms: false #for making error monitoring histograms
39 
40 # enforcement flags. If these are set to true and the data completeness
41 # conditions are not met, then an emtpy collection of raw::RawDigits is
42 # put in the event
43 
44 # if set to true, the number of channels present in the fragments must be
45 # the FullChannelCount below.
46 
47  EnforceFullChannelCount: false
48  FullChannelCount: 1280
49 
50 # requires that we don't see the same channel twice in in an event
51 
52  EnforceNoDuplicateChannels: true
53 
54 # requires that all channels have the same number of ticks (on each event separately)
55 
56  EnforceSameTickCount: false
57 
58 # requires that all channels have the specified number of ticks
59 
60  EnforceFullTickCount: false
61  FullTickCount: 6000
62 
63 # requires that no errors are reported by the unpacker (checksum or capture errors)
64 
65  EnforceErrorFree: false
66 }
67 
68 iceberg_felixbufferdecoder_march2021:
69 {
70  module_type: "IcebergFELIXBufferDecoderMarch2021"
71 
72  InputFiles: [ "slr1-0-data.bin",
73  "slr1-64-data.bin",
74  "slr1-128-data.bin",
75  "slr1-256-data.bin",
76  "slr1-320-data.bin" ]
77  OutputDataLabel: "daq"
78  NSamples: 2000
79  CompressHuffman: false
80  StartTimestamp: 0 # 64-bit unsigned timestmap. 0 or any number less than first timestamp in the
81  # input files means start at the first frame in the input files.
82 }
83 
84 timing_raw_decoder:
85 {
86  module_type: "TimingRawDecoder"
87  RawDataLabel: "daq"
88  OutputDataLabel: "daq"
89  UseChannelMap: "true"
90  Debug: "false"
91  MakeTree: "false"
92 }
93 
94 END_PROLOG