#include <InDetSecVtxTrackCut.h>
|
template<class AccessorType > |
StatusCode | getAccessor (const std::string &name, std::shared_ptr< AccessorType > &accessor) |
|
Definition at line 25 of file InDetSecVtxTrackCut.h.
◆ SecVtxTrackCut()
◆ ~SecVtxTrackCut()
InDet::SecVtxTrackCut::~SecVtxTrackCut |
( |
| ) |
|
|
pure virtualdefault |
◆ getAccessor()
template<class AccessorType >
StatusCode InDet::SecVtxTrackCut::getAccessor |
( |
const std::string & |
name, |
|
|
std::shared_ptr< AccessorType > & |
accessor |
|
) |
| |
|
protected |
Definition at line 72 of file InDetSecVtxTrackCut.h.
78 std::unordered_map< std::string, std::shared_ptr<SecVtxTrackAccessor> >::const_iterator
it =
80 [&] (std::pair< std::string, std::shared_ptr<SecVtxTrackAccessor> >
acc)
81 {return acc.first == accessorName;} );
85 ATH_MSG_ERROR(
"Must initialize SecVtxTrackCut with pointer to the selection tool before adding accessors." );
86 return StatusCode::FAILURE;
89 (*m_trackAccessors)[accessorName] =
accessor;
92 accessor = std::dynamic_pointer_cast<AccessorType>(
it->second);
94 ATH_MSG_ERROR(
"Logic error: could not cast accessor to type " <<
typeid(AccessorType).
name() );
95 return StatusCode::FAILURE;
102 " accessor. Pointer to accessor is to type " <<
103 typeid(AccessorType).
name() <<
". Is this correct?" );
104 return StatusCode::FAILURE;
106 return StatusCode::SUCCESS;
◆ initialize()
StatusCode InDet::SecVtxTrackCut::initialize |
( |
| ) |
|
|
virtual |
◆ 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
◆ operator bool()
InDet::SecVtxTrackCut::operator bool |
( |
| ) |
const |
|
inline |
◆ result()
virtual bool InDet::SecVtxTrackCut::result |
( |
| ) |
const |
|
pure virtual |
◆ 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_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ 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 |
◆ m_selectionTool
◆ m_trackAccessors
std::unordered_map< std::string, std::shared_ptr<SecVtxTrackAccessor> >* InDet::SecVtxTrackCut::m_trackAccessors |
|
private |
The documentation for this class was generated from the following files: