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 
5 
6 #include <map>
7 #include <boost/cstdint.hpp>
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 
17 
18 
20 {
21  public:
22  typedef std::map<uint32_t, uint32_t> EcalTPGGroupsMap ;
23  typedef std::map<uint32_t, uint32_t>::const_iterator EcalTPGGroupsMapItr ;
24 
25  EcalTPGGroups() ;
26  ~EcalTPGGroups() ;
27 
28  const EcalTPGGroupsMap & getMap() const { return map_; }
29  void setValue(const uint32_t & rawId, const uint32_t & ObjectId) ;
30 
31  protected:
33 
34 
36 };
37 
38 #endif
const EcalTPGGroupsMap & getMap() const
Definition: EcalTPGGroups.h:28
std::map< uint32_t, uint32_t >::const_iterator EcalTPGGroupsMapItr
Definition: EcalTPGGroups.h:23
EcalTPGGroupsMap map_
Definition: EcalTPGGroups.h:32
void setValue(const uint32_t &rawId, const uint32_t &ObjectId)
Definition: EcalTPGGroups.cc:9
#define COND_SERIALIZABLE
Definition: Serializable.h:37
std::map< uint32_t, uint32_t > EcalTPGGroupsMap
Definition: EcalTPGGroups.h:22