#include <TrigHolderStructure.h>
Definition at line 21 of file TrigHolderStructure.h.
◆ IndexToHolderMap
◆ LabelToSubIndexMap
◆ SubIndexToLabelMap
◆ TrigHolderStructure()
HLT::TrigHolderStructure::TrigHolderStructure |
( |
| ) |
|
◆ getAllHolders()
template<typename HolderType = BaseHolder>
std::vector<HolderType*> HLT::TrigHolderStructure::getAllHolders |
( |
| ) |
const |
|
inline |
Definition at line 40 of file TrigHolderStructure.h.
41 std::vector<HolderType*>
result;
43 for(
auto& index_holder : clid_indexmap.second){
44 result.push_back(getCastHolder<HolderType>(index_holder.second.get()));
◆ getBaseHolder()
Definition at line 16 of file TrigHolderStructure.cxx.
17 if( sti == HLT::invalid_sub_index){
18 ATH_MSG_DEBUG(
"requested holder with invalid sub_type_index");
25 auto sti_holder_map = allsti_it->second;
26 auto holder_it = sti_holder_map.find(sti);
27 if(holder_it == sti_holder_map.end()){
30 return holder_it->second.get();
◆ getCastHolder()
template<typename T >
T* HLT::TrigHolderStructure::getCastHolder |
( |
BaseHolder * |
holder | ) |
const |
|
inlineprivate |
◆ getHolder()
template<typename HolderType = BaseHolder>
◆ getHolderForFeature()
template<typename HolderType = BaseHolder>
◆ getHoldersOfClid()
template<typename HolderType = BaseHolder>
std::vector<HolderType*> HLT::TrigHolderStructure::getHoldersOfClid |
( |
class_id_type |
clid | ) |
const |
|
inline |
Definition at line 51 of file TrigHolderStructure.h.
52 std::vector<HolderType*>
result;
56 for(
auto& index_holder : lookup_it->second){
57 result.push_back(getCastHolder<HolderType>(index_holder.second.get()));
◆ getLabel()
Definition at line 78 of file TrigHolderStructure.h.
80 if (stiOrLabel.index() == 1){
81 return std::get<std::string>(stiOrLabel);
84 std::string invalid_label =
"inavalid_label";
89 auto it = lookup_it->second.find(std::get<sub_index_type>(stiOrLabel));
90 if(
it==lookup_it->second.end())
return invalid_label;
◆ getSubTypeIndex()
Definition at line 63 of file TrigHolderStructure.h.
65 if (stiOrLabel.index() == 0){
66 return std::get<sub_index_type>(stiOrLabel);
72 auto it = lookup_it->second.find(std::get<std::string>(stiOrLabel));
73 if(
it==lookup_it->second.end())
return invalid_sub_index;
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ msg() [1/2]
MsgStream & asg::AsgMessaging::msg |
( |
| ) |
const |
|
inherited |
The standard message stream.
- Returns
- A reference to the default message stream of this object.
Definition at line 49 of file AsgMessaging.cxx.
50 #ifndef XAOD_STANDALONE
52 #else // not XAOD_STANDALONE
54 #endif // not XAOD_STANDALONE
◆ msg() [2/2]
MsgStream & asg::AsgMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inherited |
The standard message stream.
- Parameters
-
lvl | The message level to set the stream to |
- Returns
- A reference to the default message stream, set to level "lvl"
Definition at line 57 of file AsgMessaging.cxx.
58 #ifndef XAOD_STANDALONE
60 #else // not XAOD_STANDALONE
63 #endif // not XAOD_STANDALONE
◆ msgLvl()
bool asg::AsgMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inherited |
Test the output level of the object.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
-
true
If messages at level "lvl" will be printed
Definition at line 41 of file AsgMessaging.cxx.
42 #ifndef XAOD_STANDALONE
43 return ::AthMessaging::msgLvl( lvl );
44 #else // not XAOD_STANDALONE
45 return m_msg.msgLevel( lvl );
46 #endif // not XAOD_STANDALONE
◆ registerHolder()
bool HLT::TrigHolderStructure::registerHolder |
( |
const std::shared_ptr< BaseHolder > & |
holder | ) |
|
Definition at line 34 of file TrigHolderStructure.cxx.
35 auto clid = holder->typeClid();
36 auto subtypeindex = holder->subTypeIndex();
37 auto label = holder->label();
40 ATH_MSG_WARNING(
"we already have a holder like this! clid:" << clid <<
" subtypeIndex: " << subtypeindex <<
" label: " <<
label);
◆ reset()
void HLT::TrigHolderStructure::reset |
( |
| ) |
|
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_holderByClidAndIndex
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_lookupLabels
◆ m_lookupSubIndex
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
The documentation for this class was generated from the following files: