5#ifndef INDETIDENTIFIER_XXX_SILICONID_H
6#define INDETIDENTIFIER_XXX_SILICONID_H
19#include "Identifier/Identifier.h"
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
bool is_pixel(Identifier id) const
AtlasDetectorID(const std::string &name, const std::string &group)
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
This is a "hash" representation of an Identifier.
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
int test_wafer_hashes() const
Tests of packing.
bool is_blayer(const Identifier &id) const
Test for pixle b-layer - generic, i.e. works for EITHER pixel or sct id.
bool is_barrel(const Identifier &id) const
Test for barrel - generic, i.e. works for EITHER pixel or sct id.
virtual int get_hash(const Identifier &id, IdentifierHash &hash_id, const IdContext *context=0) const override final
Create hash id from compact id (return == 0 for OK)
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override final
Initialization from the identifier dictionary.
const PixelID * m_pixel_helper
const SCT_ID * m_sct_helper
size_type wafer_hash_max() const
Hash table maximum sizes.
bool is_hash_pixel(IdentifierHash wafer_hash) const
Test whether hash is pixel or sct.
size_type m_wafer_hash_max
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
virtual int get_id(const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const override final
Create compact id from hash id (return == 0 for OK)
size_type m_pixel_wafer_hash_max
Identifier wafer_id(IdentifierHash wafer_hash) const
Identifier from hash.
Identifier::size_type size_type