ATLAS Offline Software
Trigger
TrigMonitoring
TrigSteerMonitor
src
DecisionCollectorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGSTEERMONITOR_DECISIONCOLLECTORTOOL_H
5
#define TRIGSTEERMONITOR_DECISIONCOLLECTORTOOL_H
6
7
#include "
AthenaBaseComps/AthAlgTool.h
"
8
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
9
10
#include <string>
11
12
17
class
DecisionCollectorTool
:
public
AthAlgTool
{
18
public
:
19
using
AthAlgTool::AthAlgTool
;
20
21
virtual
StatusCode
initialize
()
override
;
22
24
void
getDecisions
( std::vector<TrigCompositeUtils::DecisionID>&,
const
EventContext& )
const
;
25
27
void
getDecisions
( std::vector<TrigCompositeUtils::DecisionID>&, std::set<std::string>&,
const
EventContext& )
const
;
28
30
void
getSequencesNames
( std::set<std::string>& )
const
;
31
32
private
:
33
SG::ReadHandleKeyArray<TrigCompositeUtils::DecisionContainer>
m_decisionsKey
{
34
this
,
"Decisions"
, {},
"Containers from which the decisions need to be read"
};
35
36
// in future we will also need a property to filter only the desired decision for combined chains (partial decisions should not be accounted)
37
};
38
39
#endif // TRIGSTEERMONITOR_DECISIONCOLLECTORTOOL_H
DecisionCollectorTool::initialize
virtual StatusCode initialize() override
Definition:
DecisionCollectorTool.cxx:8
DecisionCollectorTool::getDecisions
void getDecisions(std::vector< TrigCompositeUtils::DecisionID > &, const EventContext &) const
Get decision IDs for the current event.
Definition:
DecisionCollectorTool.cxx:32
SG::HandleKeyArray
Definition:
StoreGate/StoreGate/HandleKeyArray.h:38
DecisionCollectorTool::m_decisionsKey
SG::ReadHandleKeyArray< TrigCompositeUtils::DecisionContainer > m_decisionsKey
Definition:
DecisionCollectorTool.h:33
TrigCompositeUtils.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
DecisionCollectorTool
Definition:
DecisionCollectorTool.h:17
AthAlgTool
Definition:
AthAlgTool.h:26
DecisionCollectorTool::getSequencesNames
void getSequencesNames(std::set< std::string > &) const
Get configured sequence names.
Definition:
DecisionCollectorTool.cxx:14
Generated on Mon Sep 29 2025 21:09:02 for ATLAS Offline Software by
1.8.18