CMS 3D CMS Logo

EcalTPGGroups.h
Go to the documentation of this file.
1 #ifndef EcalTPGGroups_h
2 #define EcalTPGGroups_h
3 
5 
6 #include <map>
7 #include <cstdint>
8 
9 /*
10 this class is used to define groups which associate a rawId to an objectId where:
11 - rawId (simple integer) refers to a crystal (i.e EBDetId.rawId()), a (pseudo)strip or a tower
12 - objectId (simple integer) refers to a LUTid, a FineGrainEBId or a WeightId
13 
14 P.P.
15 */
16 
18 public:
19  typedef std::map<uint32_t, uint32_t> EcalTPGGroupsMap;
20  typedef std::map<uint32_t, uint32_t>::const_iterator EcalTPGGroupsMapItr;
21 
22  EcalTPGGroups();
24 
25  const EcalTPGGroupsMap& getMap() const { return map_; }
26  void setValue(const uint32_t& rawId, const uint32_t& ObjectId);
27 
28 protected:
30 
32 };
33 
34 #endif
std::map< uint32_t, uint32_t >::const_iterator EcalTPGGroupsMapItr
Definition: EcalTPGGroups.h:20
const EcalTPGGroupsMap & getMap() const
Definition: EcalTPGGroups.h:25
EcalTPGGroupsMap map_
Definition: EcalTPGGroups.h:29
void setValue(const uint32_t &rawId, const uint32_t &ObjectId)
Definition: EcalTPGGroups.cc:7
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::map< uint32_t, uint32_t > EcalTPGGroupsMap
Definition: EcalTPGGroups.h:19