ATLAS Offline Software
Loading...
Searching...
No Matches
HLTSeedingRoIToolDefs Namespace Reference

Collection of template parameter values for the RoIThresholdsTool and RoIsUnpackingToolPhase1 class templates. More...

Namespaces

namespace  cTau
namespace  eFexEM
namespace  eFexTau
namespace  gFexLRJet
namespace  gFexSRJet
namespace  jFexFwdEl
namespace  jFexLRJet
namespace  jFexSRJet
namespace  jFexTau
namespace  Muon

Typedefs

using AnyRoIPointer = std::variant<const eFexEM::T_RoI*, const eFexTau::T_RoI*, const jFexFwdEl::T_RoI*, const jFexTau::T_RoI*, const jFexSRJet::T_RoI*, const jFexLRJet::T_RoI*, const gFexSRJet::T_RoI*, const Muon::T_RoI*>
 std::variant of const ptr to RoI types. Note identical types are only entered once in the template (e.g. no cTau which is same type as eFexTau)
using AnyRoIContainer = std::variant<eFexEM::T_RoIContainer, eFexTau::T_RoIContainer, jFexFwdEl::T_RoIContainer, jFexTau::T_RoIContainer, jFexSRJet::T_RoIContainer, jFexLRJet::T_RoIContainer, gFexSRJet::T_RoIContainer, Muon::T_RoIContainer>
 std::variant of RoI containers. Has to correspond directly to AnyRoIPointer types.

Functions

template<std::size_t I = 0>
std::optional< AnyRoIPointerroiFromLink (const xAOD::TrigComposite &tc, const std::string &linkName)
 Recursively try each type from AnyRoIPointer variant to retrieve an object from a TrigComposite link.
constexpr float roiPhi (const AnyRoIPointer &roi)
constexpr float roiEta (const AnyRoIPointer &roi)
constexpr unsigned int roiWord (const AnyRoIPointer &roi)
constexpr unsigned int roiTobEt (const AnyRoIPointer &roi)

Detailed Description

Collection of template parameter values for the RoIThresholdsTool and RoIsUnpackingToolPhase1 class templates.

Also provides utility functions to access the RoI objects and their basic properties with a single interface