|
ATLAS Offline Software
|
Go to the documentation of this file.
36 return StatusCode::SUCCESS;
44 ATH_CHECK( previousDecisionsHandle.isValid() );
49 ATH_MSG_DEBUG(
"Running with "<< previousDecisionsHandle->size() <<
" implicit ReadHandles for previous decisions. Looking for :"<<
viewString());
64 if(primary_vertex ==
nullptr){
66 return StatusCode::SUCCESS;
76 const auto viewELInfo = findLink< ViewContainer >( previousDecision,
viewString() );
95 std::vector<TrigCompositeUtils::LinkInfo<xAOD::JetContainer>> jet_feature_links = TrigCompositeUtils::findLinks<xAOD::JetContainer>(previousDecision,
TrigCompositeUtils::featureString(), TrigDefs::lastFeatureOfType);
106 auto count_links = TrigCompositeUtils::findLinks<xAOD::TrigCompositeContainer>(previousDecision,
"djtrig_counts");
108 auto count_link = count_links.at(0);
126 return StatusCode::SUCCESS;
ElementLink< T > link
Link to the feature.
xAOD::TrigCompositeContainer DecisionContainer
DisplacedJetDispHypoAlg()
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)
const T * get(size_type n) const
Access an element, as an rvalue.
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::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
SG::WriteHandle< DecisionContainer > createAndStore(const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
Creates and right away records the DecisionContainer with the key.
SG::ReadHandleKey< xAOD::VertexContainer > m_vtxKey
virtual StatusCode initialize() override
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::ReadHandleKey< xAOD::TrackParticleContainer > m_lrtTracksKey
ToolHandleArray< DisplacedJetDispHypoTool > m_hypoTools
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
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.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Class used to describe composite objects in the HLT.
xAOD::TrigCompositeAuxContainer DecisionAuxContainer
const std::string & featureString()
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
StatusCode initialize(bool used=true)
void linkToPrevious(Decision *d, const std::string &previousCollectionKey, size_t previousIndex)
Links to the previous object, location of previous 'seed' decision supplied by hand.
Helper to keep a Decision object, ElementLink and ActiveState (with respect to some requested ChainGr...
std::set< DecisionID > DecisionIDContainer
Class describing a Vertex.
LinkInfo< T > findLink(const Decision *start, const std::string &linkName, const bool suppressMultipleLinksWarning=false)
Perform a recursive search for ElementLinks of type T and name 'linkName', starting from Decision obj...
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
virtual StatusCode execute(const EventContext &context) const override
const std::string & viewString()