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