CMS 3D CMS Logo

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