ATLAS Offline Software
|
#include <Feature.h>
Public Types | |
typedef T | ValueType |
$brief constructor of empty Feature More... | |
typedef T * | PointerType |
typedef link_or_not< T, is_storable_type< T >::value >::type | link_type |
Public Member Functions | |
Feature () | |
Feature (const TypelessFeature &feat, const T *const feature) | |
Feature (const TypelessFeature &feat, const std::shared_ptr< const T > &feature) | |
Feature (Feature &&) noexcept=default | |
Add move operator. More... | |
Feature (const Feature &)=default | |
Add copy operator. More... | |
Feature & | operator= (const Feature &)=default |
Feature & | operator= (Feature &&)=default |
Feature (const T *feature, const HLT::TriggerElement *te, const std::string &label="", const bool own=false, const link_type link=link_type()) | |
constructor of valid Feature object More... | |
~Feature () | |
destructor taking care of removal More... | |
operator const T * () const | |
implicit conversion to object pointer More... | |
const T * | cptr () const |
explicit conversion to object More... | |
operator const HLT::TriggerElement * () const | |
implicit conversion to TriggerElement More... | |
const HLT::TriggerElement * | te () const |
explicit conversion to TriggerElement More... | |
operator const std::string () const | |
implicit conversion to feature label More... | |
const std::string & | label () const |
explicit conversion to feature label More... | |
bool | empty () const |
test method to check if the object is truly there More... | |
bool | owned () const |
link_type | link () const |
Private Attributes | |
std::shared_ptr< const T > | m_owning_feature |
const T * | m_feature |
const HLT::TriggerElement * | m_te |
std::string | m_label |
bool | m_owned |
link_type | m_link |
is basic vehicle of object access in TDT
It is wrapped pointer to trigger object of given type (template argument).
It is also the point in the structure of navigation where certain objects is attached. This point is identified by HLT::TriggerElement and label of feature.
In C++ this class is very handy as it is convertible to HLT::TriggerElement or object through to it's conversion operators. This, in turn gives an access to the particular HLT hypothesis decision through the state of
More explicit access is also possible by cptr(), te() and label() methods. It is necessary in the python. If the access is unsuccessful for any reason i.e. actual lack of object the Feature::empty() returns true.
typedef link_or_not<T,is_storable_type<T>::value >::type Trig::Feature< T >::link_type |
typedef T* Trig::Feature< T >::PointerType |
typedef T Trig::Feature< T >::ValueType |
|
inline |
|
inline |
|
inline |
|
defaultnoexcept |
Add move operator.
|
default |
Add copy operator.
|
inline |
constructor of valid Feature object
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |