Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:09

0001 #ifndef EcalTPGFineGrainEBIdMap_h
0002 #define EcalTPGFineGrainEBIdMap_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <map>
0007 #include "CondFormats/EcalObjects/interface/EcalTPGFineGrainConstEB.h"
0008 #include <cstdint>
0009 
0010 class EcalTPGFineGrainEBIdMap {
0011 public:
0012   typedef std::map<uint32_t, EcalTPGFineGrainConstEB> EcalTPGFineGrainEBMap;
0013   typedef std::map<uint32_t, EcalTPGFineGrainConstEB>::const_iterator EcalTPGFineGrainEBMapItr;
0014 
0015   EcalTPGFineGrainEBIdMap();
0016   ~EcalTPGFineGrainEBIdMap();
0017 
0018   const EcalTPGFineGrainEBMap& getMap() const { return map_; }
0019   void setValue(const uint32_t& id, const EcalTPGFineGrainConstEB& value);
0020 
0021 private:
0022   EcalTPGFineGrainEBMap map_;
0023 
0024   COND_SERIALIZABLE;
0025 };
0026 
0027 #endif