#include <TrigJetTLAHypoTool.h>
Definition at line 34 of file TrigJetTLAHypoTool.h.
◆ StoreGateSvc_t
◆ TrigJetTLAHypoTool()
| TrigJetTLAHypoTool::TrigJetTLAHypoTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 32 of file TrigJetTLAHypoTool.cxx.
34 :
37
38}
static HLT::Identifier fromToolName(const std::string &tname)
◆ ~TrigJetTLAHypoTool()
| TrigJetTLAHypoTool::~TrigJetTLAHypoTool |
( |
| ) |
|
◆ decide()
Definition at line 65 of file TrigJetTLAHypoTool.cxx.
65 {
66
67 int decision_count=0;
68
69 std::unique_ptr<ITrigJetHypoInfoCollector> infocollector(nullptr);
70
71
72
73
74 for (auto decision : *outputDecisions) {
75
76
79 decisionIDs(*previousDecisionEL, previousDecisionIDs);
80
81 if ( previousDecisionIDs.count(
m_decisionId.numeric() ) > 0) {
83 ++decision_count;
84 }
85 }
86
87
88 ATH_MSG_DEBUG(
"TrigJetTLAHypoTool: Passthrough decision count " + std::to_string(decision_count));
89
90 if (infocollector){
91 infocollector->collect("TrigJetTLAHypoTool", "TrigJetTLAHypoTool: Passthrough decision count " + std::to_string(decision_count));
92 infocollector->write();
93 }
94 return StatusCode::SUCCESS;
95}
void decisionIDs(const Decision *d, DecisionIDContainer &id)
Extracts DecisionIDs stored in the Decision object.
const std::vector< ElementLink< DecisionContainer > > getLinkToPrevious(const Decision *d)
returns links to previous decision object 'seed'
std::set< DecisionID > DecisionIDContainer
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ finalize()
| StatusCode TrigJetTLAHypoTool::finalize |
( |
| ) |
|
◆ getId()
◆ initialize()
| StatusCode TrigJetTLAHypoTool::initialize |
( |
| ) |
|
Definition at line 44 of file TrigJetTLAHypoTool.cxx.
44 {
45
47
48 DebugInfoCollector collector(
name());
50 auto s = collector.toString();
51
54 }
55 }
56
57 return StatusCode::SUCCESS;
58}
#define CHECK(...)
Evaluate an expression and check for errors.
std::vector< std::string > lineSplitter(const std::string &s, char delimiter)
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_chainName
| Gaudi::Property<std::string> TrigJetTLAHypoTool::m_chainName |
|
private |
Initial value:{
this, "chain_name", {}, "chain name"}
Definition at line 63 of file TrigJetTLAHypoTool.h.
63 {
64 this, "chain_name", {}, "chain name"};
◆ m_decisionId
◆ m_detStore
◆ m_evtStore
◆ m_helper
Initial value:{
this, "helper_tool", {}, "Jet hypo helper AlgTool"}
Definition at line 57 of file TrigJetTLAHypoTool.h.
57 {
58 this, "helper_tool", {}, "Jet hypo helper AlgTool"};
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_visitDebug
| Gaudi::Property<bool> TrigJetTLAHypoTool::m_visitDebug {this, "visit_debug", false, "debug flag"} |
|
private |
The documentation for this class was generated from the following files: