Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:04

0001 #ifndef CondFormats_EcalObjects_EcalDCUTemperatures_H
0002 #define CondFormats_EcalObjects_EcalDCUTemperatures_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 EcalDCUTemperatures {
0015 public:
0016   typedef std::map<uint32_t, float> EcalDCUTemperatureMap;
0017 
0018   EcalDCUTemperatures();
0019   ~EcalDCUTemperatures();
0020   void setValue(const uint32_t& id, const float& value);
0021   const EcalDCUTemperatureMap& getMap() const { return map_; }
0022 
0023 private:
0024   EcalDCUTemperatureMap map_;
0025 
0026   COND_SERIALIZABLE;
0027 };
0028 #endif