All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
decodePMTdefs_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: decodePMTdefs_icarus.fcl
3 # Purpose: Presets for decoding of ICARUS runs
4 # Date: July 15, 2021
5 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
6 #
7 # This file contains several configurations targetting the decoding of PMT data
8 # from ICARUS commissioning and Run 0 runs.
9 #
10 # The runs have been selected based on SBN DocDB 22700 (v1).
11 #
12 #
13 # Assumptions on the job configuration
14 # -------------------------------------
15 #
16 # The definitions in this configuration files cover the configuration of the PMT
17 # decoder and possibly others. The names used for the various modules are the
18 # "standard" ones from `stage0_icarus_defs.fcl` (which is, however, _not_
19 # included):
20 # * `PMTconfig`: PMT configuration extractor
21 # * `daqPMT`: PMT decoder
22 # * `daqTrigger`: trigger decoder
23 #
24 #
25 # Example of usage
26 # -----------------
27 #
28 # To run a `decodingjob.fcl` with the standard module names on run 5510
29 # (or similar), the `decoder_PMT_trigger_minbias_run5510_icarus` configuration
30 # may be used. For example:
31 #
32 # #include "decodePMTdefs_icarus.fcl"
33 # #include "decoding_job.fcl"
34 #
35 # physics.producers: {
36 # @table::physics.producers
37 # @table::decoder_PMT_trigger_minbias_run5510_icarus
38 # }
39 #
40 #
41 #
42 #
43 
44 #include "decoderdefs_icarus.fcl"
45 
46 BEGIN_PROLOG
47 
49 
50 # we use this as a common starting point
51 # (note that this is not based on an official definition from elsewhere):
52 decodePMT_base_icarus: {
53  module_type: DaqDecoderICARUSPMT
54  FragmentsLabels: [ "daq:CAENV1730", "daq:ContainerCAENV1730" ]
55  PMTconfigTag: PMTconfig
56  TriggerTag: daqTrigger
57  BoardSetup: @local::icarus_V1730_setup
58 } # decodePMT_base_icarus
59 
60 decodePMT_base_icarus_Run0: {
61  @table::decodePMT_base_icarus
62  BoardSetup: @local::icarus_V1730_setup_Run0
63 } # decodePMT_base_icarus_Run0
64 
65 
66 decoder_PMT_trigger_base_icarus: {
67  daqPMT: @local::decodePMT_base_icarus_Run0
68  # daqTrigger: trigger decoding not explicitly set (but expected)
69 } # decoder_PMT_trigger_base_icarus
70 
71 
72 ################################################################################
73 ### Minimum bias runs
74 ################################################################################
75 
76 #
77 # base configuration: standard
78 #
79 # runs tested: 5984, 6002, 6030, 6036, 6069, 6101-6104
80 #
81 decoder_PMT_trigger_minbias_icarus: @local::decoder_PMT_trigger_base_icarus
82 
83 
84 #
85 # no PMT readout board time counter (TTT) reset every second
86 #
87 decoder_PMT_trigger_minbias_noPPSTTT_icarus: @local::decoder_PMT_trigger_minbias_icarus
88 decoder_PMT_trigger_minbias_noPPSTTT_icarus.daqPMT.TTTresetEverySecond: false
89 
90 
91 #
92 # no trigger decoding
93 #
94 decoder_PMT_trigger_minbias_skiptrigger_icarus: {
95  @table::decoder_PMT_trigger_minbias_icarus
96 
98 
99 } # decoder_PMT_trigger_minbias_skiptrigger_icarus
100 decoder_PMT_trigger_minbias_skiptrigger_icarus.daqPMT.TriggerTag: @erase
101 
102 
103 #
104 # west cryostat only
105 #
106 decoder_PMT_trigger_minbias_west_icarus: @local::decoder_PMT_trigger_minbias_icarus
107 decoder_PMT_trigger_minbias_west_icarus.daqPMT.BoardSetup: @local::icarus_V1730_West_setup_Run0
108 
109 
110 #
111 # west cryostat only, no trigger decoding
112 #
113 decoder_PMT_trigger_minbias_skiptrigger_west_icarus: @local::decoder_PMT_trigger_minbias_skiptrigger_icarus
114 decoder_PMT_trigger_minbias_skiptrigger_west_icarus.daqPMT.BoardSetup: @local::icarus_V1730_West_setup_Run0
115 
116 #
117 # trigger data payload has wrong string terminator, which is not recognised:
118 # custom trigger parsing is possible
119 # Runs known to be affected:
120 # * 5510, 5679: uses `decoder_PMT_trigger_minbias_skiptrigger_icarus`
121 # * 5252 (West only): uses `decoder_PMT_trigger_minbias_skiptrigger_west_icarus`
122 #
123 decoder_PMT_trigger_minbias_run5252_icarus: @local::decoder_PMT_trigger_minbias_skiptrigger_west_icarus
124 decoder_PMT_trigger_minbias_run5510_icarus: @local::decoder_PMT_trigger_minbias_skiptrigger_icarus
125 decoder_PMT_trigger_minbias_run5679_icarus: @local::decoder_PMT_trigger_minbias_skiptrigger_icarus
126 decoder_PMT_trigger_minbias_run5795_icarus: @local::decoder_PMT_trigger_minbias_skiptrigger_icarus
127 
128 
129 
130 ################################################################################
131 ### Trigger runs
132 ################################################################################
133 
134 #
135 # base configuration: trigger information used in decoding;
136 # supports multi-window PMT acquisition
137 # via periodic readout board time count (TTT) reset
138 #
139 # runs tested: 5986-7, 5992-3, 6001, 6003-5, 6007-9, 6011-16, 6042-3, 6070,
140 # 6079, 6080, 6082-3, 6085, 6093, 6095, 6097-6100,
141 #
142 #
143 decoder_PMT_trigger_majority_icarus: @local::decoder_PMT_trigger_base_icarus
144 
145 
146 #
147 # only east cryostat
148 #
149 decoder_PMT_trigger_majority_east_icarus: @local::decoder_PMT_trigger_majority_icarus
150 decoder_PMT_trigger_majority_east_icarus.daqPMT.BoardSetup: @local::icarus_V1730_East_setup_Run0
151 
152 
153 #
154 # no PMT readout board time counter (TTT) reset every second
155 #
156 decoder_PMT_trigger_majority_noPPSTTT_icarus: @local::decoder_PMT_trigger_majority_icarus
157 decoder_PMT_trigger_majority_noPPSTTT_icarus.daqPMT.TTTresetEverySecond: false
158 
159 
160 #
161 # no PMT readout board time counter (TTT) reset every second, east cryostat only
162 #
163 decoder_PMT_trigger_majority_noPPSTTT_east_icarus: @local::decoder_PMT_trigger_majority_noPPSTTT_icarus
164 decoder_PMT_trigger_majority_noPPSTTT_east_icarus.daqPMT.BoardSetup: @local::icarus_V1730_East_setup_Run0
165 
166 
167 #
168 # majority trigger runs without TTT reset (single window PMT acquisition):
169 # Runs known to be affected:
170 # * 5873: uses `decoder_PMT_trigger_majority_noPPSTTT_east_icarus`
171 #
172 decoder_PMT_trigger_majority_run5873_icarus: @local::decoder_PMT_trigger_majority_noPPSTTT_east_icarus
173 
174 
175 
176 ################################################################################
177 
178 END_PROLOG
BEGIN_PROLOG icarus_V1730_West_setup_Run0
Module which does nothing.
BEGIN_PROLOG dummyModule
process_name PMTconfig
process_name daqTrigger
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
process_name daqPMT
Definition: decoder.fcl:42