allow to disable L1 algorithms
There are 3 different L1 algorithms:
- charge trigger (
Q(hit) > threshold
) - simple coincidence (
|T(hit1) - T(hit2)| <= DeltaT
, withhit1
andhit2
from adjacent channels on the same floor) - floor coincidence (
|T(hit1) - T(hit2)| <= DeltaT
, withhit1
andhit2
from non-adjacent channels on the same floor)
As a real use-case of the requested feature, in clas12, coincidences are never used and "disabled" by setting DeltaT to a negative value. Although this trick is effective, the TCPU pays the CPU cost of computing the conditions.
Allow to disable L1 algorithms via the datacard.
Make sure that at least one L1 algorithm is active.