9#ifndef ATHEXBASICS_RUNTRIGGERMATCHING_H
10#define ATHEXBASICS_RUNTRIGGERMATCHING_H
13#include "GaudiKernel/ToolHandle.h"
25 virtual StatusCode
execute(
const EventContext& )
const override;
26 virtual StatusCode
finalize()
override;
32 Gaudi::Property<std::string>
m_triggerString{
this,
"TriggerString",
"HLT_mu24.*"};
36 PublicToolHandle<Trig::TrigDecisionTool>
m_trigDec{
this,
"TriggerDecisionTool",
"Trig::TrigDecisionTool/TrigDecisionTool"};
37 PublicToolHandle<Trig::R3MatchingTool>
m_matchingTool{
this,
"R3MatchingTool",
"Trig::R3MatchingTool",
"R3MatchingTool"};
An algorithm that can be simultaneously executed in multiple threads.
RunTriggerMatching(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
Tool handle for the trigger decision and matching tools.
std::atomic< unsigned int > m_matchCounter
Integer counter for the requested triggers.
Gaudi::Property< std::string > m_triggerString
String to select triggers to use in the matching with offline objects.
PublicToolHandle< Trig::R3MatchingTool > m_matchingTool
SG::ReadHandleKey< xAOD::IParticleContainer > m_containerKey
Read handle for the offline object container - set to muons by default.
virtual StatusCode finalize() override
virtual StatusCode execute(const EventContext &) const override
Property holding a SG store/key/clid from which a ReadHandle is made.