17#ifndef gFexTowerBuilder_H
18#define gFexTowerBuilder_H
39 virtual StatusCode
execute(
const EventContext&)
const override;
49 this,
"xODTriggerTowers",
"xAODTriggerTowers",
50 "xAODTriggerTowers container"};
54 this,
"gTowersWriteKey",
"L1_gFexDataTowers",
55 "Write gFexEDM Trigger Tower container"};
59 this,
"gFexFiberTowerMapping",
62 "Text file to convert from hardware fiber to eta-phi location"};
66 "Applies masking. Only use for data"};
69 "Tells the algorithm if it is data. Used for xAOD::TriggerTower WARNING "
70 "due to the 0 supression"};
73 this,
"gFEX2SCmapping",
74 "Run3L1CaloSimulation/L1CaloFEXAlgos/gFEX/gCaloTowers_to_scells_v1.txt",
75 "Text file to convert from simulation ID to SuperCell Identifier"};
78 this,
"gFEX2Tilemapping",
79 "Run3L1CaloSimulation/L1CaloFEXAlgos/gFEX/gCaloTowers_to_tile_v1.txt",
80 "Text file to convert from simulation ID to Tile Identifier"};
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.
std::unordered_map< uint32_t, std::vector< uint64_t > > m_map_TTower2SCells
Gaudi::Property< bool > m_apply_masking
StatusCode ReadFibersfromFile(const std::string &)
gFexTowerBuilder(const std::string &name, ISvcLocator *svc)
Gaudi::Property< std::string > m_FiberMapping
virtual StatusCode initialize() override
Function initialising the algorithm.
Gaudi::Property< std::string > m_gFEX2Scellmapping
StatusCode ReadTilefromFile(const std::string &)
bool isBadSCellID(const std::string &) const
Gaudi::Property< std::string > m_gFEX2Tilemapping
StatusCode ReadSCfromFile(const std::string &)
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerKey
SG::WriteHandleKey< xAOD::gFexTowerContainer > m_gTowersWriteKey
SG::ReadHandleKey< CaloCellContainer > m_SCellKey
std::unordered_map< unsigned int, std::array< float, 4 > > m_Firm2Tower_map
virtual StatusCode execute(const EventContext &) const override
Function executing the algorithm.
Gaudi::Property< bool > m_isDATA
std::unordered_map< uint32_t, std::vector< uint32_t > > m_map_TTower2Tile
static std::string find_calib_file(const std::string &logical_file_name)
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...