5#include "Gaudi/Property.h"
10 ISvcLocator* pSvcLocator ) :
35 return StatusCode::SUCCESS;
46 if ( input.isValid() ) {
47 for (
auto decisionObject: *input ) {
50 ATH_MSG_DEBUG(
"Found "<<input->size()<<
" Decisions for " << input.key() );
52 ATH_MSG_DEBUG(
"Missing decisions for " << input.key() <<
" which may be perfectly correct" );
56 if (
msgLvl( MSG::DEBUG ) ){
57 ATH_MSG_DEBUG(
"In summary " << allPassingIDs.size() <<
" chains passed:" );
64 ATH_CHECK( tool->createOutput( context ) );
68 ATH_MSG_DEBUG(
"Time since the start of L1 decoding " << timeStampHandle.cptr()->millisecondsSince() <<
" ms" );
71 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Header file to be included by clients of the Monitored infrastructure.
virtual std::vector< Gaudi::DataHandle * > inputHandles() const override
void renounceArray(SG::VarHandleKeyArray &handlesArray)
bool msgLvl(const MSG::Level lvl) const
An algorithm that can be simultaneously executed in multiple threads.
Group of local monitoring quantities and retain correlation when filling histograms
Declare a monitored scalar variable.
virtual ~TriggerSummaryAlg()
virtual StatusCode execute(const EventContext &context) const override
TriggerSummaryAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< GenericMonitoringTool > m_monTool
ToolHandleArray< IHLTOutputTool > m_outputTools
SG::ReadHandleKey< TrigTimeStamp > m_startStampKey
SG::ReadHandleKeyArray< TrigCompositeUtils::DecisionContainer > m_finalDecisionKeys
virtual StatusCode initialize() override
SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > m_inputDecisionKey
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
std::set< DecisionID > DecisionIDContainer
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.