ATLAS Offline Software
|
This is the implementation of the Feature collection for Athena. More...
Classes | |
struct | false_type |
struct | get_links |
struct | get_type |
struct | get_type< false > |
struct | get_type< true > |
struct | getFlagsHelper |
struct | getFlagsHelper< T, STORED, false > |
struct | getFlagsHelper< T, STORED, true > |
struct | insert_and_flatten |
struct | insert_and_flatten< T, CONT, true, LINK > |
struct | insert_and_flatten< T, STORED, false, LINK > |
struct | isDataVector |
struct | print_features |
struct | print_features< LINK, false > |
struct | print_features< LINK, true > |
struct | true_type |
Functions | |
HLT::TriggerElement::FeatureAccessHelper | getTypelessBits (const HLT::TriggerElement *te, const HLT::TrigNavStructure *navigation) |
void | typelessCollect (const HLT::TriggerElement *te, HLT::class_id_type clid, std::vector< Trig::TypelessFeature > &data, const std::string &label, unsigned int condition, const HLT::TrigNavStructure *navigation) |
const TrigPassBits * | getBits (size_t sz, const HLT::TriggerElement *te, const std::string &, const HLT::NavigationCore *navigation) |
const TrigPassFlags * | getFlags (size_t size, const HLT::TriggerElement *te, const std::string &label, const HLT::NavigationCore *navigation) |
template<class T > | |
void | l1collect (const HLT::TriggerElement *te, std::vector< Trig::Feature< T > > &data, unsigned int condition, const std::vector< T > &(LVL1_ROI::*method)() const, const HLT::TrigNavStructure *navstructure) |
template<> | |
void | collect< Muon_ROI > (const HLT::TriggerElement *te, std::vector< Trig::Feature< Muon_ROI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation) |
template<> | |
void | collect< EmTau_ROI > (const HLT::TriggerElement *te, std::vector< Trig::Feature< EmTau_ROI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation) |
template<> | |
void | collect< Jet_ROI > (const HLT::TriggerElement *te, std::vector< Trig::Feature< Jet_ROI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation) |
template<typename ROI , typename ROICONTAINER > | |
void | xAODcollect (const HLT::TriggerElement *te, std::vector< Trig::Feature< ROI > > &data, unsigned int condition, const HLT::TrigNavStructure *navstructure, const std::string &sgkey) |
template<> | |
void | collect< xAOD::EmTauRoI > (const HLT::TriggerElement *te, std::vector< Trig::Feature< xAOD::EmTauRoI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation) |
template<> | |
void | collect< xAOD::MuonRoI > (const HLT::TriggerElement *te, std::vector< Trig::Feature< xAOD::MuonRoI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation) |
template<> | |
void | collect< xAOD::JetRoI > (const HLT::TriggerElement *te, std::vector< Trig::Feature< xAOD::JetRoI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation) |
template<> | |
TrigPassFlags | getFlags (const Trig::Feature< EmTau_ROI > &, const TrigPassFlags *, HLT::NavigationCore *) |
template<> | |
TrigPassFlags | getFlags (const Trig::Feature< Muon_ROI > &, const TrigPassFlags *, HLT::NavigationCore *) |
template<> | |
TrigPassFlags | getFlags (const Trig::Feature< Jet_ROI > &, const TrigPassFlags *, HLT::NavigationCore *) |
template<class T > | |
const std::enable_if<!isDataVector< T >::value, T >::type * | use_or_construct (const T *source, const HLT::TriggerElement *, const std::string &, unsigned int, const HLT::NavigationCore *) |
template<class T > | |
const std::enable_if< isDataVector< T >::value, T >::type * | use_or_construct (const T *source, const HLT::TriggerElement *te, const std::string &label, unsigned int condition, const HLT::NavigationCore *navigation) |
template<class T > | |
void | collect (const HLT::TriggerElement *te, std::vector< Trig::Feature< T > > &data, const std::string &label, unsigned int condition, const std::string &teName, const HLT::TrigNavStructure *navstructure) |
actual feature acceess implementation It has (thanks to the ClassTraits) functionality to flatten containers of containers. More... | |
template<class CONT > | |
TrigPassFlags | build_flags (const typename std::enable_if< isDataVector< CONT >::value, CONT >::type *orig_cont, const CONT *cont, const TrigPassFlags *orig_tpf) |
template<class T > | |
TrigPassFlags | build_flags (const typename std::enable_if<!isDataVector< T >::value, T >::type *orig, const T *feature, const TrigPassFlags *orig_tpf) |
template<class T , class STORED > | |
TrigPassFlags | build_flags2 (const STORED *orig_cont, const T *obj, const TrigPassFlags *orig_tpf) |
template<class T > | |
TrigPassFlags | getFlags (const Trig::Feature< T > &f, const TrigPassFlags *orig_tpf, HLT::NavigationCore *navigation) |
template<typename REQUESTED , typename STORED , typename CONTAINER > | |
std::vector< Trig::Feature< REQUESTED > > | typedGet (const std::vector< TypelessFeature > &features, const HLT::TrigNavStructure *navigation, const asg::EventStoreType *store, const std::string &container_name=ClassID_traits< CONTAINER >::typeName()) |
template<typename STORED , typename REQUESTED > | |
void | insert_element (std::vector< Trig::Feature< REQUESTED > > &, Trig::TypelessFeature &, const STORED *) |
template<typename REQUESTED > | |
void | insert_element (std::vector< Trig::Feature< REQUESTED > > &result, Trig::TypelessFeature &feature, const REQUESTED *element) |
template<typename STORED > | |
void | insert_flatten_if (std::vector< Trig::Feature< STORED > > &result, const Trig::TypelessFeature &feature, const std::shared_ptr< const STORED > &newfeature) |
template<typename REQUESTED , typename STORED > | |
void | insert_flatten_if (std::vector< Trig::Feature< REQUESTED > > &result, const Trig::TypelessFeature &feature, const std::shared_ptr< const STORED > &newfeature) |
template<typename STORED > | |
std::shared_ptr< const STORED > | filter_if (std::true_type is_same, std::shared_ptr< const STORED > &original, const TrigPassBits *bits) |
template<typename STORED > | |
std::shared_ptr< const STORED > | filter_if (std::false_type, std::shared_ptr< const STORED > &original, const TrigPassBits *) |
This is the implementation of the Feature collection for Athena.
This is the implementation of the Feature collection for ASG.
TrigPassFlags Trig::FeatureAccessImpl::build_flags | ( | const typename std::enable_if< isDataVector< CONT >::value, CONT >::type * | orig_cont, |
const CONT * | cont, | ||
const TrigPassFlags * | orig_tpf | ||
) |
Definition at line 362 of file FeatureCollectAthena.h.
TrigPassFlags Trig::FeatureAccessImpl::build_flags | ( | const typename std::enable_if<!isDataVector< T >::value, T >::type * | orig, |
const T * | feature, | ||
const TrigPassFlags * | orig_tpf | ||
) |
Definition at line 388 of file FeatureCollectAthena.h.
TrigPassFlags Trig::FeatureAccessImpl::build_flags2 | ( | const STORED * | orig_cont, |
const T * | obj, | ||
const TrigPassFlags * | orig_tpf | ||
) |
Definition at line 400 of file FeatureCollectAthena.h.
void Trig::FeatureAccessImpl::collect | ( | const HLT::TriggerElement * | te, |
std::vector< Trig::Feature< T > > & | data, | ||
const std::string & | label, | ||
unsigned int | condition, | ||
const std::string & | teName, | ||
const HLT::TrigNavStructure * | navstructure | ||
) |
actual feature acceess implementation It has (thanks to the ClassTraits) functionality to flatten containers of containers.
Definition at line 299 of file FeatureCollectAthena.h.
void Trig::FeatureAccessImpl::collect< EmTau_ROI > | ( | const HLT::TriggerElement * | te, |
std::vector< Trig::Feature< EmTau_ROI > > & | data, | ||
const std::string & | , | ||
unsigned int | condition, | ||
const std::string & | , | ||
const HLT::TrigNavStructure * | navigation | ||
) |
Definition at line 83 of file FeatureCollectAthena.cxx.
void Trig::FeatureAccessImpl::collect< Jet_ROI > | ( | const HLT::TriggerElement * | te, |
std::vector< Trig::Feature< Jet_ROI > > & | data, | ||
const std::string & | , | ||
unsigned int | condition, | ||
const std::string & | , | ||
const HLT::TrigNavStructure * | navigation | ||
) |
Definition at line 88 of file FeatureCollectAthena.cxx.
void Trig::FeatureAccessImpl::collect< Muon_ROI > | ( | const HLT::TriggerElement * | te, |
std::vector< Trig::Feature< Muon_ROI > > & | data, | ||
const std::string & | , | ||
unsigned int | condition, | ||
const std::string & | , | ||
const HLT::TrigNavStructure * | navigation | ||
) |
Definition at line 78 of file FeatureCollectAthena.cxx.
void Trig::FeatureAccessImpl::collect< xAOD::EmTauRoI > | ( | const HLT::TriggerElement * | te, |
std::vector< Trig::Feature< xAOD::EmTauRoI > > & | data, | ||
const std::string & | , | ||
unsigned int | condition, | ||
const std::string & | , | ||
const HLT::TrigNavStructure * | navigation | ||
) |
Definition at line 126 of file FeatureCollectAthena.cxx.
void Trig::FeatureAccessImpl::collect< xAOD::JetRoI > | ( | const HLT::TriggerElement * | te, |
std::vector< Trig::Feature< xAOD::JetRoI > > & | data, | ||
const std::string & | , | ||
unsigned int | condition, | ||
const std::string & | , | ||
const HLT::TrigNavStructure * | navigation | ||
) |
Definition at line 136 of file FeatureCollectAthena.cxx.
void Trig::FeatureAccessImpl::collect< xAOD::MuonRoI > | ( | const HLT::TriggerElement * | te, |
std::vector< Trig::Feature< xAOD::MuonRoI > > & | data, | ||
const std::string & | , | ||
unsigned int | condition, | ||
const std::string & | , | ||
const HLT::TrigNavStructure * | navigation | ||
) |
Definition at line 131 of file FeatureCollectAthena.cxx.
std::shared_ptr<const STORED> Trig::FeatureAccessImpl::filter_if | ( | std::false_type | , |
std::shared_ptr< const STORED > & | original, | ||
const TrigPassBits * | |||
) |
Definition at line 122 of file FeatureCollectStandalone.h.
std::shared_ptr<const STORED> Trig::FeatureAccessImpl::filter_if | ( | std::true_type | is_same, |
std::shared_ptr< const STORED > & | original, | ||
const TrigPassBits * | bits | ||
) |
Definition at line 97 of file FeatureCollectStandalone.h.
const TrigPassBits * Trig::FeatureAccessImpl::getBits | ( | size_t | sz, |
const HLT::TriggerElement * | te, | ||
const std::string & | , | ||
const HLT::NavigationCore * | navigation | ||
) |
Definition at line 21 of file FeatureCollectAthena.cxx.
TrigPassFlags Trig::FeatureAccessImpl::getFlags | ( | const Trig::Feature< EmTau_ROI > & | , |
const TrigPassFlags * | , | ||
HLT::NavigationCore * | |||
) |
Definition at line 142 of file FeatureCollectAthena.cxx.
TrigPassFlags Trig::FeatureAccessImpl::getFlags | ( | const Trig::Feature< Jet_ROI > & | , |
const TrigPassFlags * | , | ||
HLT::NavigationCore * | |||
) |
Definition at line 150 of file FeatureCollectAthena.cxx.
TrigPassFlags Trig::FeatureAccessImpl::getFlags | ( | const Trig::Feature< Muon_ROI > & | , |
const TrigPassFlags * | , | ||
HLT::NavigationCore * | |||
) |
Definition at line 146 of file FeatureCollectAthena.cxx.
TrigPassFlags Trig::FeatureAccessImpl::getFlags | ( | const Trig::Feature< T > & | f, |
const TrigPassFlags * | orig_tpf, | ||
HLT::NavigationCore * | navigation | ||
) |
Definition at line 446 of file FeatureCollectAthena.h.
const TrigPassFlags * Trig::FeatureAccessImpl::getFlags | ( | size_t | size, |
const HLT::TriggerElement * | te, | ||
const std::string & | label, | ||
const HLT::NavigationCore * | navigation | ||
) |
Definition at line 39 of file FeatureCollectAthena.cxx.
HLT::TriggerElement::FeatureAccessHelper Trig::FeatureAccessImpl::getTypelessBits | ( | const HLT::TriggerElement * | te, |
const HLT::TrigNavStructure * | navigation | ||
) |
Definition at line 26 of file FeatureCollectStandalone.cxx.
void Trig::FeatureAccessImpl::insert_element | ( | std::vector< Trig::Feature< REQUESTED > > & | , |
Trig::TypelessFeature & | , | ||
const STORED * | |||
) |
void Trig::FeatureAccessImpl::insert_element | ( | std::vector< Trig::Feature< REQUESTED > > & | result, |
Trig::TypelessFeature & | feature, | ||
const REQUESTED * | element | ||
) |
Definition at line 78 of file FeatureCollectStandalone.h.
void Trig::FeatureAccessImpl::insert_flatten_if | ( | std::vector< Trig::Feature< REQUESTED > > & | result, |
const Trig::TypelessFeature & | feature, | ||
const std::shared_ptr< const STORED > & | newfeature | ||
) |
Definition at line 89 of file FeatureCollectStandalone.h.
void Trig::FeatureAccessImpl::insert_flatten_if | ( | std::vector< Trig::Feature< STORED > > & | result, |
const Trig::TypelessFeature & | feature, | ||
const std::shared_ptr< const STORED > & | newfeature | ||
) |
Definition at line 84 of file FeatureCollectStandalone.h.
void Trig::FeatureAccessImpl::l1collect | ( | const HLT::TriggerElement * | te, |
std::vector< Trig::Feature< T > > & | data, | ||
unsigned int | condition, | ||
const std::vector< T > &(LVL1_ROI::*)() const | method, | ||
const HLT::TrigNavStructure * | navstructure | ||
) |
Definition at line 51 of file FeatureCollectAthena.cxx.
std::vector< Trig::Feature< REQUESTED > > Trig::FeatureAccessImpl::typedGet | ( | const std::vector< TypelessFeature > & | features, |
const HLT::TrigNavStructure * | navigation, | ||
const asg::EventStoreType * | store, | ||
const std::string & | container_name = ClassID_traits<CONTAINER>::typeName() |
||
) |
Definition at line 128 of file FeatureCollectStandalone.h.
void Trig::FeatureAccessImpl::typelessCollect | ( | const HLT::TriggerElement * | te, |
HLT::class_id_type | clid, | ||
std::vector< Trig::TypelessFeature > & | data, | ||
const std::string & | label, | ||
unsigned int | condition, | ||
const HLT::TrigNavStructure * | navigation | ||
) |
Definition at line 65 of file FeatureCollectStandalone.cxx.
const std::enable_if<!isDataVector<T>::value, T>::type* Trig::FeatureAccessImpl::use_or_construct | ( | const T * | source, |
const HLT::TriggerElement * | , | ||
const std::string & | , | ||
unsigned int | , | ||
const HLT::NavigationCore * | |||
) |
Definition at line 113 of file FeatureCollectAthena.h.
const std::enable_if<isDataVector<T>::value, T>::type* Trig::FeatureAccessImpl::use_or_construct | ( | const T * | source, |
const HLT::TriggerElement * | te, | ||
const std::string & | label, | ||
unsigned int | condition, | ||
const HLT::NavigationCore * | navigation | ||
) |
Definition at line 121 of file FeatureCollectAthena.h.
void Trig::FeatureAccessImpl::xAODcollect | ( | const HLT::TriggerElement * | te, |
std::vector< Trig::Feature< ROI > > & | data, | ||
unsigned int | condition, | ||
const HLT::TrigNavStructure * | navstructure, | ||
const std::string & | sgkey | ||
) |
Definition at line 93 of file FeatureCollectAthena.cxx.