![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
39 return StatusCode::SUCCESS;
46 CHECK( aodRH.isValid() );
53 trigInfo = eiRH.isValid() ? eiRH.cptr()->trigger_info() :
nullptr;
57 std::unique_ptr<xAOD::TrigDecisionAuxInfo> aux = std::make_unique<xAOD::TrigDecisionAuxInfo>();
58 std::unique_ptr<xAOD::TrigDecision> xaod = std::make_unique<xAOD::TrigDecision>();
66 CHECK( writeHandle.record(std::move(xaod), std::move(aux)));
69 return StatusCode::SUCCESS;
SG::ReadHandleKey< EventInfo > m_eventInfoKey
ToolHandle< ITrigDecisionCnvTool > m_cnvTool
bool empty() const
Test if the key is blank.
The TrigDecision is an object which merges trigger informations from various levels.
SG::ReadHandleKey< TrigDec::TrigDecision > m_aodKey
An algorithm that can be simultaneously executed in multiple threads.
TrigDecisionCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
Function initialising the algorithm.
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
This class contains trigger related information.
Helpers for checking error return status codes and reporting errors.
SG::WriteHandleKey< xAOD::TrigDecision > m_xaodKey
virtual ~TrigDecisionCnvAlg()
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.