HLT::TriggerElement::FeatureAccessHelper Class Reference

the FeatureAccessHelper is a class used to keep track of features attached to this TE. The storage is organized somewhere outside the TriggerElement (i.e. Navigation) Once the TE is queried for the features it returns this access helpers and the entity is supposed to make reasonable use of it. There is number of advantages.

  1. TriggerElement objects are lighter
  2. the external storage can be organized more efficient
  3. query for all features of given type can be much quicker
  4. TriggerElement object can be streamed as it is (the index, CLID) remain valid after deserialization
  5. the features can be serialized separately facilitating requirement of safe truncation
More...

#include <TriggerElement.h>

List of all members.

Public Member Functions

 FeatureAccessHelper (class_id_type clid, ObjectIndex index, bool forget=false)
void setCLIDandIndex (class_id_type clid, sub_index_type idx)
class_id_type getCLID () const
 Class ID of object.
const ObjectIndexgetIndex () const
 index in the external ojects array
void setForget (bool value=true)
 sets the forget flag
bool forget () const
 flag, if true saying that the object does not need to be serialized
bool operator== (const FeatureAccessHelper &rhs) const
bool valid () const

Friends

std::ostream & operator<< (std::ostream &o, const FeatureAccessHelper &f)

Detailed Description

the FeatureAccessHelper is a class used to keep track of features attached to this TE. The storage is organized somewhere outside the TriggerElement (i.e. Navigation) Once the TE is queried for the features it returns this access helpers and the entity is supposed to make reasonable use of it. There is number of advantages.

  1. TriggerElement objects are lighter
  2. the external storage can be organized more efficient
  3. query for all features of given type can be much quicker
  4. TriggerElement object can be streamed as it is (the index, CLID) remain valid after deserialization
  5. the features can be serialized separately facilitating requirement of safe truncation

Constructor & Destructor Documentation

HLT::TriggerElement::FeatureAccessHelper::FeatureAccessHelper ( class_id_type  clid,
ObjectIndex  index,
bool  forget = false 
) [inline]
Parameters:
forget the only constructor

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

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1