|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef TRIGNAVSTRUCTURE_TRIGGERELEMENT_H
8 #define TRIGNAVSTRUCTURE_TRIGGERELEMENT_H
89 void deserialize( std::vector<uint32_t>::const_iterator& inputIt);
100 return ! (*
this == rhs);
132 static const std::vector<TriggerElement*> dumvec;
160 static unsigned int enquireId( std::vector<uint32_t>::const_iterator& inputIt );
214 o <<
" CLID:" <<
f.m_CLID
215 <<
" idx:" <<
f.m_index.subTypeIndex()
216 <<
":" <<
f.m_index.objectsBegin()
217 <<
":" <<
f.m_index.objectsEnd() << std::dec;
259 std::vector< FeatureAccessHelper >
m_uses;
260 std::vector< FeatureAccessHelper >
m_prev;
265 #endif //TRIGNAVSTRUCTURE_TRIGGERELEMENT_H
@ ghostState
this TE is of type ghost/evaporating/one can't attach features to this TE
Helper class for conversion from/to int stored in TE and pair of ints used in Navigation Object point...
void serialize(std::vector< uint32_t > &output) const
void addFeature(class_id_type clid, const ObjectIndex &index, bool forget=false)
add helper for new feature
void deserialize(std::vector< uint32_t >::const_iterator &inputIt)
Relation
possible relations enumeration (Note: uses no longer here)
rel
Announce start of JO checkingrelease nimber checking.
std::vector< FeatureAccessHelper > & getFeatureAccessHelpers()
ObjectIndex m_index
the external index (here we do not know what it is)
@ seedsRelation
what TEs I am seeding
index_type m_objIndexEnd
auxiliary index word for big features
std::vector< FeatureAccessHelper > FeatureVec
friend std::ostream & operator<<(std::ostream &o, const FeatureAccessHelper &f)
void setCLIDandIndex(class_id_type clid, sub_index_type idx)
te_id_type getId() const
reset internals.
class_id_type getCLID() const
Class ID of object.
bool getActiveState() const
get state of the TriggerElement
bool getErrorState() const
bool operator!=(const ObjectIndex &rhs) const
@ seededByRelation
what TEs are seeding me
class_id_type m_CLID
the CLID of the object
void setTransient(bool t=true)
void setActiveState(bool state)
set state of the TriggerElement
const std::vector< TriggerElement * > & getRelated(Relation rel) const
returns reference to the likns to other TriggerElements related by relation r
void setErrorState(bool state=true)
sub_index_type subTypeIndex() const
to get collection index
index_type objectsBegin() const
to get object number in th ecollection
unsigned int m_state
one word for all states, info in bits (saving space in serialized object)
bool getGhostState() const
std::vector< FeatureAccessHelper > m_uses
all features attached are in this storage
sub_index_type m_subTypeIndex
actual index storage
@ sameRoIRelation
equilateral relation of all TEs rooted in one RoI
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
void serialize(std::vector< uint32_t > &output, const std::map< TriggerElement *, uint16_t > &keys, const TriggerElement *previous) const
serializes TE
TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It...
FeatureAccessHelper(class_id_type clid, ObjectIndex index, bool forget=false)
bool m_forget
flag, if true saying that link to this feature should not be serialized
void relate(TriggerElement *te, Relation r)
reates given TE to other TE
bool m_transient
marker that TE should not be serialized
static unsigned int enquireId(std::vector< uint32_t >::const_iterator &inputIt)
void setForget(bool value=true)
sets the forget flag
void updateBeginAndEnd(index_type begin, index_type end)
std::map< Relation, std::vector< TriggerElement * > > m_relations
relations holder (features outside)
std::vector< FeatureAccessHelper > m_prev
all features attached are in this TE and seeding TEs
void setSubTypeIndex(sub_index_type idx)
bool forget() const
flag, if true saying that the object does not need to be serialized
bool operator<(const ObjectIndex &obj) const
bool operator==(const FeatureAccessHelper &rhs) const
index_type m_objIndexBegin
auxiliary index word for big features
index_type objectsEnd() const
to get object number in th ecollection
const ObjectIndex & getIndex() const
index in the external ojects array
void setGhostState(bool t=true)
the FeatureAccessHelper is a class used to keep track of features attached to this TE.
bool operator==(const ObjectIndex &rhs) const
@ nofwdState
this TE is of type which stops fwd deactivation
const std::vector< FeatureAccessHelper > & getFeatureAccessHelpers() const
returns all features which ara attached to this TE
void deserialize(std::vector< uint32_t >::const_iterator &inputIt, const std::map< uint16_t, TriggerElement * > &keys, const TriggerElement *previous)
deserialization
@ errorState
somewhere in the algorithms dealing with this TE there was an error
@ activeState
this bit is keeping active/inactive state of TE
bool isSameOrWithin(const ObjectIndex *idx) const
check if idx is the same as this or is within this index
const std::vector< FeatureAccessHelper > & getPreviousFeatures() const
std::vector< FeatureAccessHelper > & getPreviousFeatures()