00001 #ifndef EcalTPGGroups_h 00002 #define EcalTPGGroups_h 00003 00004 #include <map> 00005 #include <boost/cstdint.hpp> 00006 00007 /* 00008 this class is used to define groups which associate a rawId to an objectId where: 00009 - rawId (simple integer) refers to a crystal (i.e EBDetId.rawId()), a (pseudo)strip or a tower 00010 - objectId (simple integer) refers to a LUTid, a FineGrainEBId or a WeightId 00011 00012 P.P. 00013 */ 00014 00015 00016 00017 class EcalTPGGroups 00018 { 00019 public: 00020 typedef std::map<uint32_t, uint32_t> EcalTPGGroupsMap ; 00021 typedef std::map<uint32_t, uint32_t>::const_iterator EcalTPGGroupsMapItr ; 00022 00023 EcalTPGGroups() ; 00024 ~EcalTPGGroups() ; 00025 00026 const EcalTPGGroupsMap & getMap() const { return map_; } 00027 void setValue(const uint32_t & rawId, const uint32_t & ObjectId) ; 00028 00029 protected: 00030 EcalTPGGroupsMap map_ ; 00031 00032 }; 00033 00034 #endif