00001 #include <iostream> 00002 #include <vector> 00003 00004 /* \class RPCPattern 00005 * 00006 * Definition of RPC data type for O2O 00007 * 00008 * \author Davide Pagano (Pavia) 00009 */ 00010 00011 00012 class RPCdbData { 00013 00014 public: 00015 00016 struct Item { 00017 int dpid; 00018 float value; 00019 int day; 00020 int time; 00021 }; 00022 00023 std::vector<Item> Imon_rpc; 00024 std::vector<Item> Vmon_rpc; 00025 std::vector<Item> Status_rpc; 00026 00027 RPCdbData(){ 00028 00029 std::cout << ">> creating RPC conditioning object" << std::endl; 00030 00031 } 00032 virtual ~RPCdbData(){} 00033 00034 }; 00035