Hash function for Mdt module Identifier to be used in MdtDigitContainer (IdentifiableContainer)
More...
#include <MdtCsmIdHash.h>
Hash function for Mdt module Identifier to be used in MdtDigitContainer (IdentifiableContainer)
- Author
- Hong Ma
- Version
- 00-00-01 , Aug 28, 2002
Definition at line 17 of file MdtCsmIdHash.h.
◆ ID
◆ MdtCsmIdHash()
MdtCsmIdHash::MdtCsmIdHash |
( |
| ) |
|
Definition at line 21 of file MdtCsmIdHash.cxx.
24 SmartIF<StoreGateSvc>
detStore{Gaudi::svcLocator()->service(
"DetectorStore")};
28 throw GaudiException(
"can not get MdtIdHelper",
29 "MdtCsmIdHash::MdtCsmIdHash()",
sc);
47 "MDT hash constructor failed!" <<
endmsg;
◆ ~MdtCsmIdHash()
virtual MdtCsmIdHash::~MdtCsmIdHash |
( |
| ) |
|
|
inlinevirtual |
◆ identifier()
reverse conversion
Definition at line 54 of file MdtCsmIdHash.cxx.
60 std::cout <<
" MdtCsmIdHash::ERROR : identifier invalid ID "<<std::endl;
◆ max()
int MdtCsmIdHash::max |
( |
| ) |
const |
◆ offset()
int MdtCsmIdHash::offset |
( |
| ) |
|
|
static |
◆ operator()()
int MdtCsmIdHash::operator() |
( |
const ID & |
id | ) |
const |
◆ m_int2id
std::vector<ID> MdtCsmIdHash::m_int2id |
|
private |
◆ m_lookup
◆ m_size
The documentation for this class was generated from the following files:
virtual int get_id(const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const override
Create compact id from hash id (return == 0 for OK)
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...