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
EcalTPGGroups::EcalTPGGroupsMapItr
std::map< uint32_t, uint32_t >::const_iterator EcalTPGGroupsMapItr
Definition: EcalTPGGroups.h:20
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalTPGGroups
Definition: EcalTPGGroups.h:17
EcalTPGGroups::setValue
void setValue(const uint32_t &rawId, const uint32_t &ObjectId)
Definition: EcalTPGGroups.cc:7
EcalTPGGroups::~EcalTPGGroups
~EcalTPGGroups()
Definition: EcalTPGGroups.cc:5
Serializable.h
EcalTPGGroups::getMap
const EcalTPGGroupsMap & getMap() const
Definition: EcalTPGGroups.h:25
EcalTPGGroups::map_
EcalTPGGroupsMap map_
Definition: EcalTPGGroups.h:29
EcalTPGGroups::EcalTPGGroups
EcalTPGGroups()
Definition: EcalTPGGroups.cc:3
EcalTPGGroups::EcalTPGGroupsMap
std::map< uint32_t, uint32_t > EcalTPGGroupsMap
Definition: EcalTPGGroups.h:19