ATLAS Offline Software
Loading...
Searching...
No Matches
HLT::TrigNavTools::SlimmingHelper Struct Reference

#include <getLabel.h>

Collaboration diagram for HLT::TrigNavTools::SlimmingHelper:

Static Public Member Functions

static std::string getLabel (const HLT::NavigationCore &navigation, const HLT::TriggerElement::FeatureAccessHelper &fah)

Detailed Description

Definition at line 34 of file getLabel.h.

Member Function Documentation

◆ getLabel()

std::string HLT::TrigNavTools::SlimmingHelper::getLabel ( const HLT::NavigationCore & navigation,
const HLT::TriggerElement::FeatureAccessHelper & fah )
static

Definition at line 23 of file getLabel.cxx.

25{
26 CLID clid = fah.getCLID();
27 std::string label;
28 HLTNavDetails::IHolder *h = navigation.getHolder(clid, fah.getIndex().subTypeIndex());
29 if(h) label = h->label();
30
31 return label;
32}
uint32_t CLID
The Class ID type.
HLTNavDetails::Holder< T > * getHolder(uint16_t subTypeIndex) const
as above but does not create holder on demand (return 0 if not found)
const ObjectIndex & getIndex() const
index in the external ojects array
sub_index_type subTypeIndex() const
to get collection index
std::string label(const std::string &format, int i)
Definition label.h:19

The documentation for this struct was generated from the following files: