Set gTower energy from SuperCells and Tile towers and convert it to digit scale
With this MR, the procedure to set the energy of the gTowers from SC and Tile towers is changed as follows:
- The Tile energy retrieved from the TriggerTowerContainer is added up in the corresponding gTower
- The SC energy is added up in the corresponding gTower (separately from Tile energy)
- The total EM energy (from SuperCells) of each gTower is encoded+decoded according to the LATOME encoding scheme for gFEX
- The Tile energy is summed up to the decoded EM energy for each gTower
- The total energy of each gTower is converted to the gFEX digit scale (200 MeV resolution)
Additionally, the underflow and overflow for the jets built in the JetFinder algorithm are handled according to the firmware behavior.
Edited by Cecilia Tosciri