Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-09 23:01:15

0001 #ifndef Mapper_h
0002 #define Mapper_h
0003 
0004 /*
0005  *  file:       Mapper.h
0006  *  Author:     Viktor Khristenko
0007  *
0008  *  Description:
0009  */
0010 
0011 #include "DQM/HcalCommon/interface/Constants.h"
0012 #include "DQM/HcalCommon/interface/HcalCommonHeaders.h"
0013 #include "DQM/HcalCommon/interface/Logger.h"
0014 
0015 #include <sstream>
0016 #include <string>
0017 #include <vector>
0018 
0019 namespace hcaldqm {
0020   namespace mapper {
0021     class Mapper {
0022     public:
0023       Mapper() {}
0024       virtual ~Mapper() {}
0025 
0026       virtual uint32_t getHash(HcalDetId const &) const { return 0; }
0027       virtual uint32_t getHash(HcalElectronicsId const &) const { return 0; }
0028       virtual uint32_t getHash(HcalTrigTowerDetId const &) const { return 0; }
0029       virtual uint32_t getHash(HcalTrigTowerDetId const &, HcalElectronicsId const &) const { return 0; }
0030 
0031       virtual std::string getName(HcalDetId const &) const { return ""; }
0032       virtual std::string getName(HcalElectronicsId const &) const { return ""; }
0033       virtual std::string getName(HcalTrigTowerDetId const &) const { return ""; }
0034       virtual std::string getName(HcalTrigTowerDetId const &, HcalElectronicsId const &) const { return ""; }
0035 
0036     protected:
0037     };
0038   }  // namespace mapper
0039 }  // namespace hcaldqm
0040 
0041 #endif