5#ifndef GFEXL1CALO2SCELLDECORATORTOOL_H
6#define GFEXL1CALO2SCELLDECORATORTOOL_H
20#include <unordered_map>
33 virtual StatusCode
execute(
const EventContext& )
const override;
46 SG::ReadHandleKey < xAOD::gFexTowerContainer >
m_gTowersReadKey {
this,
"gTowersReadKey" ,
"L1_gFexDataTowers",
"Read gFex EDM Trigger Tower container"};
63 Gaudi::Property<std::string>
m_gFEX2Scellmapping {
this,
"gFEX2SCmapping" ,
"L1CaloFEXByteStream/gFEX_maps/2023_02_23/gfexSuperCellMap.txt" ,
"Text file to convert from simulation ID to SuperCell Identifier"};
64 Gaudi::Property<std::string>
m_gFEX2Tilemapping {
this,
"gFEX2Tilemapping",
"L1CaloFEXByteStream/gFEX_maps/2023_02_23/gfexTileMap.txt",
"Text file to convert from simulation ID to Tile Identifier"};
Property holding a SG store/key/clid from which a ReadHandle is made.
Handle class for adding a decoration to an object.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTileIDdecorKey
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTileEtadecorKey
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gtowerEtMeVdecorKey
std::unordered_map< uint32_t, std::vector< uint64_t > > m_map_TTower2SCells
Gaudi::Property< std::string > m_gFEX2Scellmapping
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellPhidecorKey
gFexTower2SCellDecorator(const std::string &name, ISvcLocator *svc)
SG::ReadHandleKey< CaloCellContainer > m_SCellKey
std::unordered_map< uint32_t, std::vector< uint32_t > > m_map_TTower2Tile
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellEtadecorKey
Gaudi::Property< std::string > m_gFEX2Tilemapping
const std::string m_ReadKey_name
SG::ReadHandleKey< xAOD::gFexTowerContainer > m_gTowersReadKey
virtual StatusCode initialize() override
Function initialising the algorithm.
bool isBadSCellID(const std::string &) const
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellSampledecorKey
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellEtdecorKey
StatusCode ReadTilefromFile(const std::string &)
StatusCode ReadSCfromFile(const std::string &)
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerKey
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTilePhidecorKey
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTowerEtdecorKey
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gTileEtMeVdecorKey
virtual StatusCode execute(const EventContext &) const override
Function executing the algorithm.
SG::WriteDecorHandleKey< xAOD::gFexTowerContainer > m_gSCellIDdecorKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...