Adding jFexTower builder to fill jTower for jFEX simulation

Merged Sergi Rodriguez Bosca requested to merge serodrig/athena:EmuVsData_3.0 into 23.0

This MR is meant to introduce the jTowerMakerFromJfexTowers. It makes the jTower objects using different ways:

  • If is MC it uses the legacy path: CaloCell/TriggerTower containers -> jTower -> jFex simulation (until now so far)
  • if it is Data (not flags.Input.isMC):
    • if jFEX pre-scaled input data is available: L1_jFexDataTowers -> jTower -> jFex simulation
    • if jFEX pre-scaled input data is not available: CaloCell/TriggerTower containers -> jTower -> jFex simulation (until now so far)

There is an additional procedure (for developer and testers). If we have L1_jFexEmulatedTowers, we can set UseEmulated = True in that case only if it is data, it can do:

  • if jFEX pre-scaled input data is available: L1_jFexDataTowers -> jTower -> jFex simulation
  • if jFEX pre-scaled input data is not available: L1_jFexEmulatedTowers -> jTower -> jFex simulation (It has the same effect as CaloCell/TriggerTower containers -> jTower -> jFex simulation)
Edited by Sergi Rodriguez Bosca

Merge request reports