23#ifndef TrigDecisionMaker_TrigDecisionMakerMT_H
24#define TrigDecisionMaker_TrigDecisionMakerMT_H
27#include "GaudiKernel/ServiceHandle.h"
28#include "GaudiKernel/ToolHandle.h"
73 virtual StatusCode
execute(
const EventContext& context )
const override;
74 virtual StatusCode
finalize()
override;
80 Gaudi::Property<bool>
m_doL1{
this,
"doL1",
true,
"Read L1 trigger information"};
81 Gaudi::Property<bool>
m_doHLT{
this,
"doHLT",
true,
"Read HLT trigger information"};
82 Gaudi::Property<bool>
m_useEDMxAOD{
this,
"UseEDMxAOD",
false,
"Flag whether to use xAOD::CTPResult instead of ROIB::RoIBResult for CTP result"};
85 ToolHandle<HLT::ILvl1ResultAccessTool>
m_lvl1Tool{
this,
"Lvl1ResultAccessTool",
"HLT::Lvl1ResultAccessTool/Lvl1ResultAccessTool",
"L1 tool to fetch"};
87 ToolHandle<ITriggerBitsMakerTool>
m_bitsMakerTool{
this,
"BitsMakerTool",
"",
"Tool to create trigger bits for MC"};
An algorithm that can be simultaneously executed in multiple threads.
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.
Gaudi::Property< bool > m_useEDMxAOD
SG::ReadHandleKey< HLT::HLTResultMT > m_hltResultKeyIn
virtual StatusCode finalize() override
std Gaudi finalize method -> print out statistics
ToolHandle< HLT::ILvl1ResultAccessTool > m_lvl1Tool
tool to ease the access to the L1 results (RoIs, items, etc)
Gaudi::Property< bool > m_doL1
SG::ReadHandleKey< xAOD::CTPResult > m_CTPResultKeyIn
virtual StatusCode execute(const EventContext &context) const override
Re-entrant execute to create the xAOD::TrigDecision.
SG::WriteHandleKey< LVL1CTP::Lvl1Result > m_l1ResultKeyOut
SG::ReadCondHandleKey< TrigConf::L1BunchGroupSet > m_bgKey
StatusCode getL1Result(const LVL1CTP::Lvl1Result *&result, const EventContext &context) const
retrieve LVL1 result (called in execute)
std::atomic< uint32_t > m_nEvents
std::atomic< uint32_t > m_hltPassed
Gaudi::Property< bool > m_doHLT
std::atomic< uint32_t > m_l1Passed
virtual StatusCode initialize() override
std Gaudi initialize method -> read-in trigger configuration
SG::ReadHandleKey< ROIB::RoIBResult > m_ROIBResultKeyIn
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKeyIn
TrigDecisionMakerMT(const std::string &name, ISvcLocator *pSvcLocator)
std Gaudi Algorithm constructor
SG::ReadHandleKey< TrigConf::HLTMenu > m_HLTMenuKey
SG::WriteHandleKey< xAOD::TrigDecision > m_trigDecisionKeyOut
~TrigDecisionMakerMT()
std deconstructor
ToolHandle< ITriggerBitsMakerTool > m_bitsMakerTool