|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "Gaudi/Property.h"
14 ISvcLocator* pSvcLocator ) :
15 ::HypoBase(
name, pSvcLocator ) {}
21 return StatusCode::SUCCESS;
29 ATH_MSG_DEBUG(
"Running with "<< h_prevDecisions->size() <<
" previous decisions");
36 std::vector< ITrigStreamerHypoTool::HypoInfo > hypoInfo;
38 for (
const Decision* previousDecision : *h_prevDecisions ) {
61 hypoInfo.emplace_back(newDecision, previousDecision);
72 return StatusCode::SUCCESS;
ElementLink< T > link
Link to the feature.
virtual StatusCode initialize() override
Decision * newDecisionIn(DecisionContainer *dc, const std::string &name)
Helper method to create a Decision object, place it in the container and return a pointer to it.
const std::string & hypoAlgNodeName()
const SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > & decisionInput() const
methods for derived classes to access handles of the base class input other read/write handles may be...
SG::WriteHandle< DecisionContainer > createAndStore(const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
Creates and right away records the DecisionContainer with the key.
Gaudi::Property< bool > m_featureIsROI
const SG::WriteHandleKey< TrigCompositeUtils::DecisionContainer > & decisionOutput() const
methods for derived classes to access handles of the base class output other read/write handles may b...
void typelessSetObjectLink(const std::string &name, const sgkey_t key, const uint32_t clid, const index_type beginIndex, const index_type endIndex=0)
Add a link without type.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
bool setObjectLink(const std::string &name, const ElementLink< CONTAINER > &link)
Set the link to an object.
const std::string & initialRoIString()
StatusCode hypoBaseOutputProcessing(SG::WriteHandle< TrigCompositeUtils::DecisionContainer > &outputHandle, MSG::Level lvl=MSG::DEBUG) const
Base class function to be called once slice specific code has finished. Handles debug printing and va...
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
ToolHandleArray< ITrigStreamerHypoTool > m_hypoTools
#define CHECK(...)
Evaluate an expression and check for errors.
Class used to describe composite objects in the HLT.
TrigStreamerHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
const std::string & featureString()
virtual StatusCode execute(const EventContext &context) const override
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Helper to keep a Decision object, ElementLink and ActiveState (with respect to some requested ChainGr...
bool typelessFindLink(const Decision *start, const std::string &linkName, sgkey_t &key, uint32_t &clid, Decision::index_type &index, const Decision *&source, const bool suppressMultipleLinksWarning)
Perform a recursive search for ElementLinks of any time and name 'linkName', starting from Decision o...