File indexing completed on 2024-09-07 04:35:38
0001 #ifndef CondFormats_EcalObjects_EcalEBPhase2TPGAmplWeightIdMap_h
0002 #define CondFormats_EcalObjects_EcalEBPhase2TPGAmplWeightIdMap_h
0003
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005
0006 #include <map>
0007 #include "CondFormats/EcalObjects/interface/EcalEBPhase2TPGAmplWeights.h"
0008 #include <cstdint>
0009
0010 class EcalEBPhase2TPGAmplWeightIdMap {
0011 public:
0012 typedef std::map<uint32_t, EcalEBPhase2TPGAmplWeights> EcalEBPhase2TPGAmplWeightMap;
0013 typedef std::map<uint32_t, EcalEBPhase2TPGAmplWeights>::const_iterator EcalEBPhase2TPGAmplWeightMapItr;
0014
0015 EcalEBPhase2TPGAmplWeightIdMap() {}
0016 ~EcalEBPhase2TPGAmplWeightIdMap() {}
0017
0018 const EcalEBPhase2TPGAmplWeightMap& getMap() const { return map_; }
0019 void setValue(const uint32_t& id, const EcalEBPhase2TPGAmplWeights& value);
0020
0021 private:
0022 EcalEBPhase2TPGAmplWeightMap map_;
0023
0024 COND_SERIALIZABLE;
0025 };
0026
0027 #endif