|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #ifndef TILEIDENTIFIER_TILETBID_H
19 #define TILEIDENTIFIER_TILETBID_H
277 unsigned int hash_max, std::vector<Identifier> &
vec);
311 #endif // TILEIDENTIFIER_TILETBID_H
std::vector< Identifier > m_module_vec
Identifier channel_id(int type, int module, int channel) const
identifer for one channel of a Tile testbeam detector
size_type m_SECTION_INDEX
std::string to_string(const Identifier &id, int level=0) const
extract all fields from TileTB identifier Identifier get_all_fields ( const Identifier & id,...
Identifier module_id(int type, int module) const
identifer for one module of a Tile testbeam detector
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
std::vector< Identifier >::const_iterator channel_begin(void) const
begin iterator for channel Identifiers
bool is_tiletb(const Identifier &id) const
Test ID if it is TileTBID.
Identifier type_id(int type) const
identifer for Tile testbeam detectors of a give type
std::vector< Identifier >::const_iterator module_end(void) const
end iterator for moulde Identifiers
TileTBID(void)
Default constructor.
size_type module_hash_max(void) const
module hash table max size
IdDictFieldImplementation m_system_impl
IdDictFieldImplementation m_section_impl
SECTION
Identifier numbering.
IdDictFieldImplementation m_channel_impl
std::vector< Identifier >::const_iterator type_begin(void) const
begin iterator for TYPE Identifiers
size_type m_type_hash_max
const IdDictDictionary * m_dict
std::vector< size_t > vec
int fill_vec(std::set< Identifier > &ids, unsigned int hash_max, std::vector< Identifier > &vec)
int type(const Identifier &id) const
extract type field from TileTB identifier
int unpack(Identifier id) const
Identifier manipulation methods.
int get_expanded_id(const Identifier &id, ExpandedIdentifier &exp_id, const IdContext *context) const
create expanded Identifier from Identifier (return == 0 for OK)
int module(const Identifier &id) const
extract module field from TileTB identifier
int get_field(const Identifier &id, size_type index) const
unpack one field from Identifier
virtual ~TileTBID()
Default destructor.
MultiRange m_full_module_range
size_type m_CHANNEL_INDEX
size_type channel_hash_max(void) const
channel hash table max size
IdContext channel_context(void) const
idContext for channels
size_type m_channel_hash_max
int section(const Identifier &id) const
extract section field from TileTB identifier
std::vector< Identifier >::const_iterator module_begin(void) const
begin iterator for moulde Identifiers
Identifier m_base_tile_type
std::vector< Identifier >::const_iterator type_end(void) const
end iterator for TYPE Identifiers
Identifier::size_type size_type
std::vector< Identifier >::const_iterator channel_end(void) const
begin iterator for channel Identifiers
IdContext type_context(void) const
access to IdContext's which define which levels of fields are contained in the id
int initLevelsFromDict(void)
MultiRange m_full_channel_range
int channel(const Identifier &id) const
extract channel field from TileTB identifier
size_type type_hash_max(void) const
TYPE hash table max size.
int system(const Identifier &id) const
extract system field from TileTB identifier
A MultiRange combines several Ranges.
IdContext module_context(void) const
idContext for modules
virtual int get_id(const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const
create compact id from hash id (return == 0 for OK)
size_type m_tile_region_index
IdDictFieldImplementation m_type_impl
MultiRange m_full_type_range
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
size_type m_module_hash_max
int phi(const Identifier &id) const
extract phi field from MBTS identifier
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
unsigned long long size_type
int eta(const Identifier &id) const
extract eta field from MBTS identifier
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...
std::vector< Identifier > m_channel_vec
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
std::vector< Identifier > m_type_vec
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
virtual int get_hash(const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const
create hash id from compact id (return == 0 for OK)
Identifier tiletb_id(void) const
identifer for all Tile testbeam detectors
IdDictFieldImplementation m_module_impl
int side(const Identifier &id) const
define synonyms for minimum bias scintillators