Trig::Combination Class Reference

List of all members.

Public Member Functions

 Combination (const std::vector< HLT::TriggerElement * > &tes, const Trig::CacheGlobalMemory *cgm)
 normal constructor
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 method.
template<class T >
const std::vector
< Trig::Feature< T > > 
get (const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const
 Method used to get objects. This is main functionality of combination class.
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
 Experimental flattened get for IParticle types.
template<typename CONTAINER >
std::vector< Feature
< ELEMENT_OF< CONTAINER > > > 
elementFeature (const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const
 get element type features (those attached to TE as single instance of a trigger type)
template<typename CONTAINER >
std::vector< Feature< CONTAINER > > containerFeature (const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const
 get container type features (those attached to TE as container of a trigger type)
template<typename CONTAINER >
std::vector< Feature
< ELEMENT_OF< CONTAINER > > > 
flattenedContainerFeature (const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const
 get container type features flattened as Features (those attached to TE as container of a trigger type)
unsigned int size () const
 Size of combination.
bool active () const
 Returns the state of the combination i.e. if all TEs are passed by respective hypothesis. This method can be used to differentiate between passed/not-passed objects.
const std::vector< const
HLT::TriggerElement * > & 
tes () const
 trigger elements in the combination can be used directly with ancestor method
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
 Method used to get objects. This is called for each TE in the combination.
bool operator== (const Combination &other) const
bool operator< (const Combination &other) const

Friends

class ::HltNaviChecker

Detailed Description

connector between chains and object It store single combination of trigger elements. Thanks to templates methods get() it is able to invoke features retrieval and return actual objects (wrapped into Feature class).

Warning:
It only looks simple.

Member Function Documentation

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

Method used to get objects. This is main functionality of combination class.

Parameters:
label the keyword with which the objects were labeled in HLT algorithms (if none given most recent is returned)
condition switch wether to return only objects from passed RoIs (when Physics) or also from failed (alsoDeactivateTEs)
teName to get features from TEs of specific TEs (it is to be used in combination with switch alsoDeactivateTEs or composite triggers) super-expert usecase
std::vector<Trig::Feature<xAOD::IParticle> > Trig::Combination::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 [inline]

Experimental flattened get for IParticle types.

Parameters:
clid must be clid of type as stored. No flattening supported
const std::vector< Trig::TypelessFeature > Trig::Combination::typelessGet ( HLT::class_id_type  clid,
const std::string &  label = "",
unsigned int  condition = TrigDefs::Physics,
const std::string &  teName = "" 
) const

Typeless version of get method.

Parameters:
clid must be clid of type as stored. 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