48 ATH_MSG_INFO(
"Request to reinitialize not satisfied - tags have not changed");
95 ATH_MSG_INFO(
"test_wafer_packing: wafer hash max, pix, sct "
171 ATH_MSG_INFO(
"Number of is_barrel (pix/sct): " << nbar <<
" " << nbarp <<
" " << nbars);
173 ATH_MSG_INFO(
"Number of matching is_hash_pixel/is_pixel: " << nHashPix);
177 if (
error)
return(1);
This is an Identifier helper class for both the Pixel and SCT subdetectors.
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr) override
Initialization from the identifier dictionary.
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
int register_dict_tag(const IdDictMgr &dict_mgr, const std::string &dict_name)
Register the file and tag names for a particular IdDict dictionary.
bool is_sct(Identifier id) const
bool is_pixel(Identifier id) const
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
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.