#include <TrigGenericHypoTool.h>
Definition at line 13 of file TrigGenericHypoTool.h.
◆ TrigGenericHypoTool()
| TrigGenericHypoTool::TrigGenericHypoTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 8 of file TrigGenericHypoTool.cxx.
8 :
9 AthAlgTool(type, name, parent),
static HLT::Identifier fromToolName(const std::string &tname)
◆ decide()
| StatusCode TrigGenericHypoTool::decide |
( |
const std::vector< HypoToolInfo > & | input | ) |
const |
Definition at line 20 of file TrigGenericHypoTool.cxx.
20 {
22
23 SG::ReadDecorHandle<xAOD::TrigCompositeContainer, int> trigCompositePassed(
m_passKey);
24
25 for ( const TrigGenericHypoTool::HypoToolInfo& hypoInfo : input ) {
27 int decisionPassed = trigCompositePassed(*hypoInfo.trigComp);
28 if (decisionPassed==1) {
30 }
31 }
32 }
33
34 return StatusCode::SUCCESS;
35}
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
◆ initialize()
| StatusCode TrigGenericHypoTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 13 of file TrigGenericHypoTool.cxx.
13 {
14
16 return StatusCode::SUCCESS;
17}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ m_decisionId
◆ m_passKey
Definition at line 37 of file TrigGenericHypoTool.h.
37{this, "PassString", "TrigComposite.pass", "TrigComposite should pass"};
The documentation for this class was generated from the following files: