diff --git a/schema/fddaqconf/readoutgen.jsonnet b/schema/fddaqconf/readoutgen.jsonnet index c19e8b2..9f7021b 100644 --- a/schema/fddaqconf/readoutgen.jsonnet +++ b/schema/fddaqconf/readoutgen.jsonnet @@ -89,12 +89,15 @@ local cs = { s.field( "latency_buffer_size", types.count, default=499968, doc="Size of the latency buffers (in number of elements)"), s.field( "fragment_send_timeout_ms", types.count, default=10, doc="The send timeout that will be used in the readout modules when sending fragments downstream (i.e. to the TRB)."), s.field( "enable_tpg", types.flag, default=false, doc="Enable TPG"), - s.field( "tpg_threshold", types.count, default=120, doc="Select TPG threshold"), + s.field( "tpg_threshold_default", types.count, default=120, doc="Select the default TPG threshold."), + s.field( "tpg_threshold_plane0", types.count, default=0, doc="Select TPG threshold for plane 0. Defaults to tpg_threshold_default value if empty."), + s.field( "tpg_threshold_plane1", types.count, default=0, doc="Select TPG threshold for plane 1. Defaults to tpg_threshold_default value if empty."), + s.field( "tpg_threshold_plane2", types.count, default=0, doc="Select TPG threshold for plane 2. Defaults to tpg_threshold_default value if empty."), s.field( "tpg_rs_memory_factor", types.float4, default=0.8, doc="Memory factor (R) for the TPG running sum algorithms"), s.field( "tpg_rs_scale_factor", types.count, default=2, doc="Scale factor for the TPG running sum algorithms"), s.field( "tpg_frugal_streaming_accumulator_limit", types.count, default=10, doc="Accumulator limit for the frugal streaming method"), s.field( "tpg_algorithm", types.string, default="SimpleThreshold", doc="Select TPG algorithm (SimpleThreshold, AbsRS)"), - s.field( "enable_simple_threshold_on_collection", types.flag, default=false, doc="Enable SimpleThreshold TPG algorithm only on collection planes when a Running Sum algorithm is enabled"), + s.field( "enable_simple_threshold_on_plane2", types.flag, default=false, doc="Enable SimpleThreshold TPG algorithm only on plane 2 when a Running Sum algorithm is enabled."), s.field( "tpg_channel_mask", self.id_list, default=[], doc="List of offline channels to be masked out from the TPHandler"), s.field( "tpset_min_latency_ticks", types.uint8, 3125000, doc="Latency introduced to allow for TPs to arrive and be reordered, default is 50 ms"), s.field( "tardy_tp_quiet_time_at_start_sec", types.int4, 10, doc="Amount of time that warning messages about tardy TPs will be suppressed at the start of a run, default is 10s"),