Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef CondFormats_EcalObjects_EcalPTMTemperatures_H
0002 #define CondFormats_EcalObjects_EcalPTMTemperatures_H
0003 /**
0004  * Author: Paolo Meridiani
0005  * Created: 14 November 2006
0006  * $Id: $
0007  **/
0008 
0009 #include "CondFormats/Serialization/interface/Serializable.h"
0010 
0011 #include <map>
0012 #include <cstdint>
0013 
0014 class EcalPTMTemperatures {
0015 public:
0016   typedef std::map<uint32_t, float> EcalPTMTemperatureMap;
0017 
0018   EcalPTMTemperatures();
0019   ~EcalPTMTemperatures();
0020   void setValue(const uint32_t& id, const float& value);
0021   const EcalPTMTemperatureMap& getMap() const { return map_; }
0022 
0023 private:
0024   EcalPTMTemperatureMap map_;
0025 
0026   COND_SERIALIZABLE;
0027 };
0028 #endif