ATLAS Offline Software
DecisionCollectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGSTEERMONITOR_DECISIONCOLLECTORTOOL_H
5 #define TRIGSTEERMONITOR_DECISIONCOLLECTORTOOL_H
6 
7 #include "./IDecisionCollector.h"
8 
9 // Framework includes
11 
12 // STL includes
13 #include <string>
14 
19 class DecisionCollectorTool : public extends<AthAlgTool, IDecisionCollector> {
20 public:
21  DecisionCollectorTool(const std::string& type, const std::string& name, const IInterface* parent);
22  virtual ~DecisionCollectorTool() override;
23 
24  void getDecisions( std::vector<TrigCompositeUtils::DecisionID>& ) const override;
25  void getSequencesPerEvent( std::set<std::string>& ) const;
26  void getSequencesNames( std::set<std::string>& ) const;
27 
28  virtual StatusCode initialize() override;
29 
30  SG::ReadHandleKeyArray<TrigCompositeUtils::DecisionContainer> m_decisionsKey{ this, "Decisions", {}, "Containers from which the decisions need to be red" };
31  // in future we will also need a property to filter only the desired decision for combined chains (partial decisions should not be accounted)
32 
33 private:
34 
35 };
36 
37 #endif // TRIGSTEERMONITOR_DECISIONCOLLECTORTOOL_H
DecisionCollectorTool::getDecisions
void getDecisions(std::vector< TrigCompositeUtils::DecisionID > &) const override
Definition: DecisionCollectorTool.cxx:33
DecisionCollectorTool::initialize
virtual StatusCode initialize() override
Definition: DecisionCollectorTool.cxx:12
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
DecisionCollectorTool::m_decisionsKey
SG::ReadHandleKeyArray< TrigCompositeUtils::DecisionContainer > m_decisionsKey
Definition: DecisionCollectorTool.h:30
IDecisionCollector.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DecisionCollectorTool
Definition: DecisionCollectorTool.h:19
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
DecisionCollectorTool::getSequencesPerEvent
void getSequencesPerEvent(std::set< std::string > &) const
Definition: DecisionCollectorTool.cxx:18
DecisionCollectorTool::~DecisionCollectorTool
virtual ~DecisionCollectorTool() override
Definition: DecisionCollectorTool.cxx:10
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
DecisionCollectorTool::DecisionCollectorTool
DecisionCollectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: DecisionCollectorTool.cxx:7
DecisionCollectorTool::getSequencesNames
void getSequencesNames(std::set< std::string > &) const
Definition: DecisionCollectorTool.cxx:27