Set of modifications:
- Besides the overlapped 4x4 cells sum, now we consider also the not
overlapped 2x2 sum, necessary to do the selection of the L0 trigger.
- The maximum sums and cell positions for the 2x2 and 4x4 sums are
calculated and they are kept.
- The maximum amplitudes are transformed in Raw adc samples. Each time
bin of the sample is compared to the trigger threshold until the bin
sample is larger. The adc sample array is also kept.
- Defined a bool, fSimulation, if True, it loads the digits from the
trigger code, if False, the TClonesArray with the digits must be
provided to the Trigger when we call it.
Gustavo