test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <string>
16 #include <vector>
17 #include <sstream>
18 
19 namespace hcaldqm
20 {
21  namespace mapper
22  {
23  class Mapper
24  {
25  public:
27  {}
28  virtual ~Mapper() {}
29 
30  virtual uint32_t getHash(HcalDetId const&) {return 0;}
31  virtual uint32_t getHash(HcalElectronicsId const&) {return 0;}
32  virtual uint32_t getHash(HcalTrigTowerDetId const&) {return 0;}
33 
34  virtual std::string getName(HcalDetId const&) {return "";}
36  {return "";}
38  {return "";}
39 
40  protected:
41  };
42  }
43 }
44 
45 #endif
46 
47 
48 
49 
50 
virtual uint32_t getHash(HcalTrigTowerDetId const &)
Definition: Mapper.h:32
virtual std::string getName(HcalElectronicsId const &)
Definition: Mapper.h:35
virtual uint32_t getHash(HcalElectronicsId const &)
Definition: Mapper.h:31
virtual std::string getName(HcalTrigTowerDetId const &)
Definition: Mapper.h:37
virtual uint32_t getHash(HcalDetId const &)
Definition: Mapper.h:30
virtual std::string getName(HcalDetId const &)
Definition: Mapper.h:34
virtual ~Mapper()
Definition: Mapper.h:28
Readout chain identification for Hcal.