17 using namespace hashfunctions;
52 {
return hash_names[this->getLinearHashType(_htype)];}
virtual void initialize(HashType htype)
virtual std::string getName(HcalDetId const &) const
virtual HashType getHashType() const
virtual bool isTHash() const
virtual int getLinearHashType(HashType htype) const
std::string const hash_names[nhashes]
hash_function_tid const hash_tid[nHashType_tid-nHashType_eid-1]
virtual std::string getHashTypeName() const
uint32_t getHash(HcalTrigTowerDetId const &tid) const override
std::string getName(HcalElectronicsId const &eid) const override
hash_function_did const hash_did[nHashType_did]
std::string getName(HcalTrigTowerDetId const &tid) const override
uint32_t getHash(HcalDetId const &did) const override
name_function_tid const name_tid[nHashType_tid-nHashType_eid-1]
uint32_t getHash(HcalElectronicsId const &eid) const override
hash_function_eid const hash_eid[nHashType_eid-nHashType_did-1]
virtual bool isDHash() const
virtual uint32_t getHash(HcalDetId const &) const
name_function_did const name_did[nHashType_did]
HashMapper(HashType htype)
virtual bool isEHash() const
name_function_eid const name_eid[nHashType_eid-nHashType_did-1]
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override