|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "Identifier/Identifier.h"
95 typedef std::vector<Identifier>
id_vec;
137 static const unsigned int nmodule = m_module_impl.field().get_maximum() + 1;
138 return (nmodule*m_side_impl.unpackToIndex(module_id) +
module(module_id));
std::vector< unsigned short > hash_vec
const IdDictDictionary * m_dict
IdentifierHash module_hash(Identifier module_id) const
module hash from id - optimized
int module(const Identifier &id) const
Identifier module_id(int side, int module) const
int forward_field_value() const
size_type m_FORWARD_INDEX
const_id_iterator modules_begin(void) const
Iterators over full set of ids. modules iterator is sorted.
void pack(int value, Identifier &id) const
const_id_iterator modules_end(void) const
element_type get_maximum() const
MultiRange m_full_module_range
int unpack(Identifier id) const
Identifier manipulation methods.
IdDictFieldImplementation m_type_impl
size_type m_channel_hash_max
Identifier channel_id(int side, int module, int type, int channel) const
Identifier::size_type size_type
size_type m_zdc_region_index
int initLevelsFromDict(void)
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
size_type unpackToIndex(Identifier id) const
Unpack a single field index of the id.
const Range::field & field() const
size_type module_hash_max(void) const
id_vec::const_iterator id_vec_it
const_id_iterator channels_end(void) const
IdDictFieldImplementation m_module_impl
std::vector< Identifier >::const_iterator const_id_iterator
MultiRange m_full_channel_range
const_id_iterator channels_begin(void) const
Iterators over full set of ids. channels iterator is sorted.
A MultiRange combines several Ranges.
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
Initialization from the identifier dictionary.
size_type channel_hash_max(void) const
IdDictFieldImplementation m_forward_impl
Identifier::size_type size_type
void test_packing(void) const
Tests of packing.
IdDictFieldImplementation m_side_impl
std::vector< Identifier > id_vec
size_type m_CHANNEL_INDEX
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
int side(const Identifier &id) const
Values of different levels (failure returns 0)
int type(const Identifier &id) const
IdentifierHash channel_hash(Identifier channel_id) const
channel hash from id - optimized
hash_vec::const_iterator hash_vec_it
int zdc_field_value() const
unsigned long long size_type
IdDictFieldImplementation m_zdc_impl
IdDictFieldImplementation is used to capture the specification of a single field of an Identifier.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
IdDictFieldImplementation m_channel_impl
macros to associate a CLID to a type
MultiRange::const_identifier_factory const_expanded_id_iterator
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
size_type m_module_hash_max
int channel(const Identifier &id) const