ATLAS Offline Software
Loading...
Searching...
No Matches
getLabel.cxx
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration.
3 */
12
13
14#include "getLabel.h"
16
17
18namespace HLT {
19namespace TrigNavTools {
20
21
22std::string
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}
33
34
35}} // namespace HLT::TrigNavTools
uint32_t CLID
The Class ID type.
Header file for AthHistogramAlgorithm.
The NavigationCore class, adds on top of the TrigNavStructure the EDM read-only handling.
HLTNavDetails::Holder< T > * getHolder(uint16_t subTypeIndex) const
as above but does not create holder on demand (return 0 if not found)
the FeatureAccessHelper is a class used to keep track of features attached to this TE.
const ObjectIndex & getIndex() const
index in the external ojects array
sub_index_type subTypeIndex() const
to get collection index
Helper function to get a label for a feature.
std::string label(const std::string &format, int i)
Definition label.h:19
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
static std::string getLabel(const HLT::NavigationCore &navigation, const HLT::TriggerElement::FeatureAccessHelper &fah)
Definition getLabel.cxx:23