|
ATLAS Offline Software
|
Go to the documentation of this file.
30 return StatusCode::SUCCESS;
35 return StatusCode::SUCCESS;
44 if (not previousDecisionsHandle.isValid()) {
46 return StatusCode::SUCCESS;
49 if (previousDecisionsHandle->size() == 0) {
51 return StatusCode::SUCCESS;
54 const auto view = (previousDecisionsHandle->at(0))->objectLink<ViewContainer>(
viewString());
63 d->setObjectLink(
featureString(), ViewHelper::makeLink<xAOD::TrigCompositeContainer>(*
view, zVertexHandle, 0));
74 return StatusCode::SUCCESS;
xAOD::TrigCompositeContainer DecisionContainer
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()
SG::ReadHandle< T > makeHandle(const SG::View *view, const SG::ReadHandleKey< T > &rhKey, const EventContext &context)
navigate from the TrigComposite to nearest view and fetch object from it
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)
TrigZVertexHypoAlg(const std::string &name, ISvcLocator *pSvcLocator)
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.
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...
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_zVertexCollKey
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< TrigZVertexHypoTool > m_hypoTools
const std::string & featureString()
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
virtual StatusCode finalize() override
virtual StatusCode execute(const EventContext &context) const override
void linkToPrevious(Decision *d, const std::string &previousCollectionKey, size_t previousIndex)
Links to the previous object, location of previous 'seed' decision supplied by hand.
std::set< DecisionID > DecisionIDContainer
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
virtual ~TrigZVertexHypoAlg() override
virtual StatusCode initialize() override
const std::string & viewString()