ATLAS Offline Software
Static Public Member Functions | List of all members
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 }

The documentation for this struct was generated from the following files:
PlotCalibFromCool.label
label
Definition: PlotCalibFromCool.py:78
HLT::TriggerElement::FeatureAccessHelper::getCLID
class_id_type getCLID() const
Class ID of object.
Definition: TrigNavStructure/TrigNavStructure/TriggerElement.h:208
HLT::NavigationCore::getHolder
HLTNavDetails::Holder< T > * getHolder(uint16_t subTypeIndex) const
as above but does not create holder on demand (return 0 if not found)
HLT::TriggerElement::ObjectIndex::subTypeIndex
sub_index_type subTypeIndex() const
to get collection index
Definition: TrigNavStructure/Root/TriggerElement.cxx:247
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
HLT::TriggerElement::FeatureAccessHelper::getIndex
const ObjectIndex & getIndex() const
index in the external ojects array
Definition: TrigNavStructure/TrigNavStructure/TriggerElement.h:209
h
HLTNavDetails::IHolder
Definition: Holder.h:58