Go to the documentation of this file.00001 #ifndef CaloOnlineTools_HcalOnlineDb_HcalO2OManager_h
00002 #define CaloOnlineTools_HcalOnlineDb_HcalO2OManager_h
00003
00004
00005
00006
00007
00016
00017
00018
00019
00020
00021
00022 #include<vector>
00023 #include<string>
00024 #include<stdint.h>
00025
00026 class HcalO2OManager
00027 {
00028
00029 public:
00030 HcalO2OManager();
00031 virtual ~HcalO2OManager();
00032
00033 std::vector<std::string> getListOfPoolTags(std::string connect,
00034 std::string auth_path);
00035
00036
00037
00038
00039 int getListOfPoolIovs(std::vector<uint32_t> & out,
00040 std::string tagname,
00041 std::string connect,
00042 std::string auth_path);
00043
00044 std::vector<std::string> getListOfOmdsTags();
00045
00046
00047
00048
00049 int getListOfOmdsIovs(std::vector<uint32_t> & out, std::string tagname);
00050
00051
00052
00053
00054 int getListOfNewIovs(std::vector<uint32_t> & iovs,
00055 const std::vector<uint32_t> & omds_iovs,
00056 const std::vector<uint32_t> & orcon_iovs);
00057 void getListOfNewIovs_test(void);
00058
00059
00060
00061
00062
00063
00064
00065 int getListOfUpdateIovs(std::vector<uint32_t> & _iovs,
00066 std::string _tag,
00067 std::string pool_connect_string,
00068 std::string pool_auth_path
00069 );
00070
00071 private:
00072
00073
00074 };
00075
00076
00077 #endif