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
virtual std::string getName(HcalDetId const &) const
Definition: Mapper.h:30
virtual std::string getName(HcalTrigTowerDetId const &) const
Definition: Mapper.h:32
virtual std::string getName(HcalElectronicsId const &) const
Definition: Mapper.h:31
virtual uint32_t getHash(HcalTrigTowerDetId const &) const
Definition: Mapper.h:28
virtual uint32_t getHash(HcalElectronicsId const &) const
Definition: Mapper.h:27
virtual uint32_t getHash(HcalDetId const &) const
Definition: Mapper.h:26
virtual ~Mapper()
Definition: Mapper.h:24
Readout chain identification for Hcal.