14#ifndef gFexTowerSummer_H
15#define gFexTowerSummer_H
38 virtual StatusCode
execute(
const EventContext&)
const override;
49 this,
"gFexDataTowers",
"L1_gFexDataTowers",
"gFexDataTowers container"};
53 this,
"gTowers200WriteKey",
"L1_gFexDataTowers200",
"Write gFEX 200 MeV Trigger Tower container"};
56 this,
"gTowers50WriteKey",
"L1_gFexDataTowers50",
"Write gFEX 50 MeV Trigger Tower container"};
60 this,
"gTowersEMWriteKey",
"L1_gFexEmulatedEMTowers",
"Write gFEX 200 MeV Trigger Tower EM container"};
63 this,
"gTowersHADWriteKey",
"L1_gFexEmulatedHADTowers",
"Write gFEX 200 MeV Trigger Tower HAD container"};
70 gtFPGA &Xsaturation)
const;
72 void undoMLE(
int &datumPtr)
const;
74 void getEtaPhi(
float& Eta,
float& Phi,
int iEta,
int iPhi,
75 int gFEXtowerID)
const;
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
Function initialising the algorithm.
gFexTowerSummer(const std::string &name, ISvcLocator *svc)
SG::WriteHandleKey< xAOD::gFexTowerContainer > m_gTowersWriteKey
void signExtend(int *xptr, int upto) const
SG::WriteHandleKey< xAOD::gFexTowerContainer > m_gTowersHADWriteKey
std::array< std::array< int, LVL1::gFEXPos::AB_COLUMNS >, LVL1::gFEXPos::ABC_ROWS > gtFPGA
virtual StatusCode execute(const EventContext &) const override
Function executing the algorithm.
SG::ReadHandleKey< xAOD::gFexTowerContainer > m_gFexFiberTowersReadKey
SG::WriteHandleKey< xAOD::gFexTowerContainer > m_gTowersEMWriteKey
StatusCode gtReconstructABC(const EventContext &ctx, unsigned int XFPGA, gtFPGA &XgtF, gtFPGA &Xgt, gtFPGA &Xsaturation) const
SG::WriteHandleKey< xAOD::gFexTowerContainer > m_gTowers50WriteKey
void getEtaPhi(float &Eta, float &Phi, int iEta, int iPhi, int gFEXtowerID) const
void undoMLE(int &datumPtr) const
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...