CMS 3D CMS Logo

Mapper.h
Go to the documentation of this file.
1 #ifndef Mapper_h
2 #define Mapper_h
3 
4 /*
5  * file: Mapper.h
6  * Author: Viktor Khristenko
7  *
8  * Description:
9  */
10 
14 
15 #include <sstream>
16 #include <string>
17 #include <vector>
18 
19 namespace hcaldqm {
20  namespace mapper {
21  class Mapper {
22  public:
23  Mapper() {}
24  virtual ~Mapper() {}
25 
26  virtual uint32_t getHash(HcalDetId const &) const { return 0; }
27  virtual uint32_t getHash(HcalElectronicsId const &) const { return 0; }
28  virtual uint32_t getHash(HcalTrigTowerDetId const &) const { return 0; }
29 
30  virtual std::string getName(HcalDetId const &) const { return ""; }
31  virtual std::string getName(HcalElectronicsId const &) const { return ""; }
32  virtual std::string getName(HcalTrigTowerDetId const &) const { return ""; }
33 
34  protected:
35  };
36  } // namespace mapper
37 } // namespace hcaldqm
38 
39 #endif
hcaldqm::mapper::Mapper
Definition: Mapper.h:21
hcaldqm::mapper::Mapper::getName
virtual std::string getName(HcalElectronicsId const &) const
Definition: Mapper.h:31
hcaldqm::mapper::Mapper::getHash
virtual uint32_t getHash(HcalDetId const &) const
Definition: Mapper.h:26
hcaldqm
Definition: Constants.h:8
hcaldqm::mapper::Mapper::getHash
virtual uint32_t getHash(HcalTrigTowerDetId const &) const
Definition: Mapper.h:28
hcaldqm::mapper::Mapper::getName
virtual std::string getName(HcalTrigTowerDetId const &) const
Definition: Mapper.h:32
HcalCommonHeaders.h
hcaldqm::mapper::Mapper::Mapper
Mapper()
Definition: Mapper.h:23
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
Constants.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::mapper::Mapper::getHash
virtual uint32_t getHash(HcalElectronicsId const &) const
Definition: Mapper.h:27
HcalDetId
Definition: HcalDetId.h:12
hcaldqm::mapper::Mapper::getName
virtual std::string getName(HcalDetId const &) const
Definition: Mapper.h:30
hcaldqm::mapper::Mapper::~Mapper
virtual ~Mapper()
Definition: Mapper.h:24
Logger.h
HcalTrigTowerDetId
Definition: HcalTrigTowerDetId.h:14