|
ATLAS Offline Software
|
Go to the documentation of this file.
13 const std::string& linkName,
14 const EventContext& eventContext) {
16 target.typelessSetObjectLink(linkName,
23 const std::string& linkName,
24 const EventContext& eventContext) {
26 target.typelessSetObjectLink(linkName,
57 return StatusCode::SUCCESS;
68 auto cont = std::make_unique<xAOD::TrigCompositeContainer>();
69 auto auxcont = std::make_unique<xAOD::TrigCompositeAuxContainer>();
70 cont->setStore(auxcont.get());
75 l1trHandle->
push_back(std::make_unique<xAOD::TrigComposite>());
78 auto retrieveAndLink = [
this, &eventContext, &l1trHandle](
auto key) ->
StatusCode {
80 if (
key.empty()) {
return StatusCode::SUCCESS;}
86 if (not handle->empty()) {
89 return StatusCode::SUCCESS;
109 return StatusCode::SUCCESS;
129 ATH_CHECK(cTauRoIs.record(std::make_unique<xAOD::eFexTauRoIContainer>(),
130 std::make_unique<xAOD::eFexTauRoIAuxContainer>()));
138 cTauRoIs->push_back(std::make_unique<xAOD::eFexTauRoI>());
140 *cTauRoIs->back() = *eTau;
146 cjTauLink(*cTauRoIs->back()) = jTauLink_t{};
149 ATH_MSG_DEBUG(
"Matched jTau index " << i_jTau <<
" to eTau index " << i_eTau);
151 cjTauLink(*cTauRoIs->back()) = jTauLink_t{
m_jFexTauRoIKey.key(), i_jTau, eventContext};
160 if (not cTauRoIs->empty()) {
164 return StatusCode::SUCCESS;
SG::ReadHandleKey< xAOD::jFexLRJetRoIContainer > m_jFexLRJetRoIKey
ElementLink< T > makeLink(const SG::View *view, const SG::ReadHandle< T > &handle, size_t index)
Create EL to a collection in view.
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jFexSRJetRoIKey
sgkey_t key() const
Get the key that we reference, as a hash.
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexLRJetRoIKey
const std::string & key() const
Return the StoreGate ID for the referenced object.
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode execute(const EventContext &eventContext) const override
SG::ReadHandleKey< xAOD::jFexFwdElRoIContainer > m_jFexFwdElRoIKey
SG::WriteDecorHandleKey< xAOD::eFexTauRoIContainer > m_cjTauLinkKey
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Property holding a SG store/key/clid from which a WriteHandle is made.
Class describing a LVL1 eFEX tau region of interest.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_muRoIKey
Handle class for adding a decoration to an object.
Default, invalid implementation of ClassID_traits.
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_l1TriggerResultWHKey
Class used to describe composite objects in the HLT.
const T * back() const
Access the last element in the collection as an rvalue.
ToolHandleArray< IRoIThresholdsTool > m_thresholdPatternTools
static size_t cTauMatching(const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoIContainer &jTauRoIs)
SG::WriteHandleKey< xAOD::eFexTauRoIContainer > m_cTauRoIKey
value_type push_back(value_type pElem)
Add an element to the end of the collection.
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFexEMRoIKey
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFexTauRoIKey
virtual StatusCode initialize() override
L1TriggerResultMaker(const std::string &name, ISvcLocator *svcLoc)
Standard constructor.
StatusCode createCombinedTauRoIs(xAOD::TrigComposite &l1tr, const EventContext &eventContext) const
Create the combined Tau container matching eTau to jTau.
SG::ReadHandleKey< xAOD::jFexTauRoIContainer > m_jFexTauRoIKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexSRJetRoIKey