Trig::FeatureContainer Class Reference

List of all members.

Classes

class  ordering_by_objects_attached2

Public Types

typedef std::vector
< Combination >
::const_iterator 
combination_const_iterator

Public Member Functions

 FeatureContainer (const CacheGlobalMemory *cgm=0)
 constructors, destructor
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. One of them is type, another is object label and another is eventually TE name.
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
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
const std::vector
< Trig::Combination > & 
getCombinations () const
 gives back reference to combinations collected though append
bool addWithChecking (const Combination &newComb)
 add new combination to the container checking for overlap
void append (const FeatureContainer &other)

Member Function Documentation

template<class T >
const std::vector< Trig::Feature< T > > Trig::FeatureContainer::get ( const std::string &  label = "",
unsigned int  condition = TrigDefs::Physics,
const std::string &  teName = "" 
) const [inline]

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.

Parameters:
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)
template<class T >
TrigPassFlags Trig::FeatureContainer::getFlags ( const Trig::Feature< T > &  f,
const std::string &  flagsLabel = "" 
) const [inline]

access to TrigPassFlags for given trigger object or container in given TE

Parameters:
f is the Feature that holds the trigger object (container)
flagsLabel is the label of the TrigPassFlags object
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

Parameters:
clid must be pointing directly to stored type (no flattening supported)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1