![]() |
ATLAS Offline Software
|
#include <FeatureContainer.h>
Classes | |
| class | ordering_by_objects_attached |
| helper class to support ordered set of features More... | |
Public Types | |
| typedef std::vector< Combination >::const_iterator | combination_const_iterator |
| template<typename CONTAINER > | |
| using | ELEMENT_OF = typename CONTAINER::base_value_type |
Public Member Functions | |
| FeatureContainer (const CacheGlobalMemory *cgm=0) | |
| constructors, destructor More... | |
| template<class T > | |
| const std::vector< Trig::Feature< T > > | get (const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const |
| returns flattened vector of Features of given type This method is in fact sullied by 3 arguments. More... | |
| std::vector< Trig::Feature< xAOD::IParticle > > | getIParticle (HLT::class_id_type clid, const std::string &container_name, const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const |
| template<typename CONTAINER > | |
| std::vector< Feature< ELEMENT_OF< CONTAINER > > > | elementFeature (const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const |
| template<typename CONTAINER > | |
| std::vector< Feature< CONTAINER > > | containerFeature (const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const |
| template<typename CONTAINER > | |
| std::vector< Feature< ELEMENT_OF< CONTAINER > > > | flattenedContainerFeature (const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const |
| const std::vector< Trig::TypelessFeature > | typelessGet (HLT::class_id_type clid, const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const |
| typeless version of get More... | |
| template<class T > | |
| TrigPassFlags | getFlags (const Trig::Feature< T > &f, const std::string &flagsLabel="") const |
| access to TrigPassFlags for given trigger object or container in given TE More... | |
| const std::vector< Trig::Combination > & | getCombinations () const |
| gives back reference to combinations collected through append More... | |
| void | addWithChecking (const Combination &newComb) |
| add new combination to the container checking for overlap More... | |
| void | append (const FeatureContainer &other) |
Private Member Functions | |
| const HLT::TrigNavStructure * | navigation () const |
Private Attributes | |
| std::vector< Trig::Combination > | m_combinations |
| container preserving insertion order More... | |
| std::unordered_set< Trig::Combination > | m_combinations_unique |
| set for ensuring uniqueness in the above container More... | |
| const Trig::CacheGlobalMemory * | m_cgm {nullptr} |
Definition at line 53 of file FeatureContainer.h.
| typedef std::vector<Combination>::const_iterator Trig::FeatureContainer::combination_const_iterator |
Definition at line 69 of file FeatureContainer.h.
| using Trig::FeatureContainer::ELEMENT_OF = typename CONTAINER::base_value_type |
Definition at line 94 of file FeatureContainer.h.
|
inline |
constructors, destructor
Definition at line 72 of file FeatureContainer.h.
| void Trig::FeatureContainer::addWithChecking | ( | const Combination & | newComb | ) |
add new combination to the container checking for overlap
Definition at line 19 of file FeatureContainer.cxx.
| void Trig::FeatureContainer::append | ( | const FeatureContainer & | other | ) |
Definition at line 29 of file FeatureContainer.cxx.
|
inline |
Definition at line 103 of file FeatureContainer.h.
|
inline |
Definition at line 97 of file FeatureContainer.h.
|
inline |
Definition at line 109 of file FeatureContainer.h.
| const std::vector< Trig::Feature< T > > Trig::FeatureContainer::get | ( | const std::string & | label = "", |
| unsigned int | condition = TrigDefs::Physics, |
||
| const std::string & | teName = "" |
||
| ) | const |
returns flattened vector of Features of given type This method is in fact sullied by 3 arguments.
One of them is type, another is object label and another is eventually TE name.
| label | is label assigned to feature at HLT algorithm |
| teName | is name of TE to which the object has to be attached (default is 0 and would suffice for most of applications) |
Definition at line 151 of file FeatureContainer.h.
|
inline |
gives back reference to combinations collected through append
Definition at line 135 of file FeatureContainer.h.
| TrigPassFlags Trig::FeatureContainer::getFlags | ( | const Trig::Feature< T > & | f, |
| const std::string & | flagsLabel = "" |
||
| ) | const |
access to TrigPassFlags for given trigger object or container in given TE
| f | is the Feature that holds the trigger object (container) |
| flagsLabel | is the label of the TrigPassFlags object |
Definition at line 196 of file FeatureContainer.h.
|
inline |
Definition at line 86 of file FeatureContainer.h.
|
private |
Definition at line 37 of file FeatureContainer.cxx.
| const std::vector< Trig::TypelessFeature > Trig::FeatureContainer::typelessGet | ( | HLT::class_id_type | clid, |
| const std::string & | label = "", |
||
| unsigned int | condition = TrigDefs::Physics, |
||
| const std::string & | teName = "" |
||
| ) | const |
typeless version of get
| clid | must be pointing directly to stored type (no flattening supported) |
Definition at line 92 of file FeatureContainer.cxx.
|
private |
Definition at line 152 of file FeatureContainer.h.
|
private |
container preserving insertion order
Definition at line 148 of file FeatureContainer.h.
|
private |
set for ensuring uniqueness in the above container
Definition at line 150 of file FeatureContainer.h.
1.8.18