13#ifndef eFexTowerBuilder_H
14#define eFexTowerBuilder_H
58 virtual StatusCode
execute(
const EventContext& ctx)
const;
62 mutable std::map<unsigned long long, std::pair<std::pair<int,int>,std::pair<int,int>>> m_scMap
ATLAS_THREAD_SAFE;
64 StatusCode
fillTowers(
const EventContext& ctx)
const;
65 StatusCode
fillMap(
const EventContext& ctx)
const;
75 Gaudi::Property<std::string>
m_mappingFile {
this,
"MappingFile",
"L1CaloFEXByteStream/2023-02-13/scToEfexTowers.root",
"PathResolver location to mapping file"};
76 ToolHandle<eFEXSuperCellTowerIdProvider>
m_eFEXSuperCellTowerIdProviderTool {
this,
"eFEXSuperCellTowerIdProviderTool",
"LVL1::eFEXSuperCellTowerIdProvider",
"Tool that provides tower-FOGA mapping"};
78 Gaudi::Property<bool>
m_applyMasking{
this,
"ApplyMasking",
true,
"Apply masking of supercells based on provenance bits. Should be set to False for MC"};
80 Gaudi::Property<bool>
m_v6Mapping{
this,
"UseLATOMEv6Mapping",
false,
"If true, will use the LATOME v6 mapping if cannot determine from latome header"};
Definition of CaloDetDescrManager.
An algorithm that can be simultaneously executed in multiple threads.
This class initializes the Calo (LAr and Tile) offline identifiers.
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_ttKey
SG::ReadHandleKey< xAOD::EventInfo > m_eiKey
virtual StatusCode execute(const EventContext &ctx) const
StatusCode fillMap(const EventContext &ctx) const
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_ddmKey
eFexTowerBuilder(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< LArLATOMEHeaderContainer > m_LArLatomeHeaderContainerKey
std::mutex m_fillMapMutex ATLAS_THREAD_SAFE
Gaudi::Property< bool > m_v6Mapping
ToolHandle< eFEXSuperCellTowerIdProvider > m_eFEXSuperCellTowerIdProviderTool
virtual StatusCode initialize()
Gaudi::Property< std::string > m_mappingFile
SG::ReadHandleKey< CaloCellContainer > m_scellKey
~eFexTowerBuilder()=default
StatusCode fillTowers(const EventContext &ctx) const
SG::WriteHandleKey< xAOD::eFexTowerContainer > m_outKey
Gaudi::Property< bool > m_applyMasking
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.
Provide Supercell-tower mapping.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...