CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/OnlineDB/EcalCondDB/interface/DCSPTMTemp.h

Go to the documentation of this file.
00001 #ifndef DCSPTMTEMP_H
00002 #define DCSPTMTEMP_H
00003 
00004 #include <stdexcept>
00005 #include <iostream>
00006 
00007 #include "OnlineDB/EcalCondDB/interface/IIOV.h"
00008 #include "OnlineDB/EcalCondDB/interface/Tm.h"
00009 #include "OnlineDB/EcalCondDB/interface/DateHandler.h"
00010 #include "OnlineDB/EcalCondDB/interface/EcalLogicID.h"
00011 
00012 
00013 typedef int run_t;
00014 
00015 class DCSPTMTemp  : public IDBObject {
00016  public:
00017   friend class EcalCondDBInterface;
00018 
00019   DCSPTMTemp();
00020   ~DCSPTMTemp();
00021 
00022   // Methods for user data
00023   inline std::string getTable() { return ""; }
00024   
00025   float getTemperature() ;
00026   void setTemperature(float temp);
00027 
00028   void setStart(Tm start);
00029   Tm getStart() const;
00030   void setEnd(Tm end);
00031   Tm getEnd() const;
00032   EcalLogicID getEcalLogicID() const;
00033   void setEcalLogicID(EcalLogicID ecid);
00034 
00035   
00036  private:
00037   // User data
00038   int m_ID;
00039   EcalLogicID m_ecid;
00040   float m_temp;
00041   Tm m_runStart;
00042   Tm m_runEnd;
00043 
00044 
00045 };
00046 
00047 #endif