ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
AthAlgTool.h
TrigCompositeUtils.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
DecisionCollectorTool
Definition
DecisionCollectorTool.h:17
DecisionCollectorTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
DecisionCollectorTool::initialize
virtual StatusCode initialize() override
Definition
DecisionCollectorTool.cxx:8
DecisionCollectorTool::m_decisionsKey
SG::ReadHandleKeyArray< TrigCompositeUtils::DecisionContainer > m_decisionsKey
Definition
DecisionCollectorTool.h:33
DecisionCollectorTool::getSequencesNames
void getSequencesNames(std::set< std::string > &) const
Get configured sequence names.
Definition
DecisionCollectorTool.cxx:14
DecisionCollectorTool::getDecisions
void getDecisions(std::vector< TrigCompositeUtils::DecisionID > &, const EventContext &) const
Get decision IDs for the current event.
Definition
DecisionCollectorTool.cxx:32
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
Generated on
for ATLAS Offline Software by
1.17.0