|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef ATHEXBASICS_READTRIGGERDECISION_H
10 #define ATHEXBASICS_READTRIGGERDECISION_H
16 #include "GaudiKernel/ToolHandle.h"
30 {
this,
"TriggerName",
"HLT_e5_idperf_tight_L1EM3",
"Name of the trigger to be counted"};
34 PublicToolHandle<Trig::TrigDecisionTool>
m_trigDec{
this,
"TriggerDecisionTool",
"Trig::TrigDecisionTool/TrigDecisionTool"};
std::atomic< unsigned int > m_triggerCounter
Integer counter for the requested trigger.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< std::string > m_triggerName
Name of the trigger to count.
Algorithm demonstrating use of trigger decision information.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
virtual StatusCode finalize() override
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
Tool handle for the trigger decision tool.
virtual StatusCode execute(const EventContext &ctx) const override
ReadTriggerDecision(const std::string &name, ISvcLocator *pSvcLocator)