ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigNavTools
src
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
"
15
#include "
TrigNavigation/Navigation.h
"
16
17
18
namespace
HLT
{
19
namespace
TrigNavTools
{
20
21
22
std::string
23
SlimmingHelper::getLabel
(
const
HLT::NavigationCore
& navigation,
24
const
HLT::TriggerElement::FeatureAccessHelper
& fah)
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
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
Navigation.h
h
Header file for AthHistogramAlgorithm.
HLTNavDetails::IHolder
Definition
Holder.h:59
HLT::NavigationCore
The NavigationCore class, adds on top of the TrigNavStructure the EDM read-only handling.
Definition
NavigationCore.h:95
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::FeatureAccessHelper
the FeatureAccessHelper is a class used to keep track of features attached to this TE.
Definition
TrigNavStructure/TrigNavStructure/TriggerElement.h:192
HLT::TriggerElement::FeatureAccessHelper::getIndex
const ObjectIndex & getIndex() const
index in the external ojects array
Definition
TrigNavStructure/TrigNavStructure/TriggerElement.h:209
HLT::TriggerElement::FeatureAccessHelper::getCLID
class_id_type getCLID() const
Class ID of object.
Definition
TrigNavStructure/TrigNavStructure/TriggerElement.h:208
HLT::TriggerElement::ObjectIndex::subTypeIndex
sub_index_type subTypeIndex() const
to get collection index
Definition
TrigNavStructure/Root/TriggerElement.cxx:247
getLabel.h
Helper function to get a label for a feature.
label
std::string label(const std::string &format, int i)
Definition
label.h:19
HLT::TrigNavTools
Definition
NavigationCore.h:42
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition
HLTResultReader.h:26
HLT::TrigNavTools::SlimmingHelper::getLabel
static std::string getLabel(const HLT::NavigationCore &navigation, const HLT::TriggerElement::FeatureAccessHelper &fah)
Definition
getLabel.cxx:23
Generated on
for ATLAS Offline Software by
1.17.0