Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /*
0002  * Payload definition(s): Current (RPCObImon), High Voltage (RPCObVmon), Chamber Status (RPCObStatus) 
0003  *
0004  *  $Date: 2009/11/10 12:20:23 $
0005  *  $Revision: 1.17 $
0006  *  \author D. Pagano - Dip. Fis. Nucl. e Teo. & INFN Pavia
0007  */
0008 
0009 #ifndef RPCObCond_h
0010 #define RPCObCond_h
0011 #include "CondFormats/Serialization/interface/Serializable.h"
0012 
0013 #include <vector>
0014 
0015 class RPCObImon {
0016 public:
0017   struct I_Item {
0018     int dpid;
0019     float value;
0020     int day;
0021     int time;
0022 
0023     COND_SERIALIZABLE;
0024   };
0025   RPCObImon() {}
0026   virtual ~RPCObImon() {}
0027   std::vector<I_Item> ObImon_rpc;
0028 
0029   COND_SERIALIZABLE;
0030 };
0031 
0032 class RPCObVmon {
0033 public:
0034   struct V_Item {
0035     int dpid;
0036     float value;
0037     int day;
0038     int time;
0039 
0040     COND_SERIALIZABLE;
0041   };
0042   RPCObVmon() {}
0043   virtual ~RPCObVmon() {}
0044   std::vector<V_Item> ObVmon_rpc;
0045 
0046   COND_SERIALIZABLE;
0047 };
0048 
0049 class RPCObStatus {
0050 public:
0051   struct S_Item {
0052     int dpid;
0053     float value;
0054     int day;
0055     int time;
0056 
0057     COND_SERIALIZABLE;
0058   };
0059   RPCObStatus() {}
0060   virtual ~RPCObStatus() {}
0061   std::vector<S_Item> ObStatus_rpc;
0062 
0063   COND_SERIALIZABLE;
0064 };
0065 
0066 class RPCObTemp {
0067 public:
0068   struct T_Item {
0069     int dpid;
0070     float value;
0071     int day;
0072     int time;
0073 
0074     COND_SERIALIZABLE;
0075   };
0076   RPCObTemp() {}
0077   virtual ~RPCObTemp() {}
0078   std::vector<T_Item> ObTemp_rpc;
0079 
0080   COND_SERIALIZABLE;
0081 };
0082 
0083 #endif