![]() |
Project
|
#include "CCDB/CcdbApi.h"
#include "DetectorsDCS/DataPointIdentifier.h"
#include "DetectorsDCS/DataPointValue.h"
#include "DetectorsDCS/DataPointCreator.h"
#include "DetectorsDCS/DataPointCompositeObject.h"
#include <boost/program_options.hpp>
#include <ctime>
#include <iostream>
#include <map>
#include <numeric>
#include <regex>
#include <string>
#include <unordered_map>
#include <vector>
#include "subsysname.h"
#include <TFile.h>
Go to the source code of this file.
Typedefs | |
using | DPID = o2::dcs::DataPointIdentifier |
using | DPVAL = o2::dcs::DataPointValue |
using | DPMAP = std::unordered_map< DPID, std::vector< DPVAL > > |
Functions | |
float | sum (float s, o2::dcs::DataPointValue v) |
std::string | CcdbDpConfName () |
std::pair< DPVAL, DPVAL > | computeTimeRange (const std::vector< DPVAL > &dps) |
void | dump (const std::string what, DPMAP m, int verbose) |
void | doQueryHVLV (const std::string fileName) |
void | doQueryHVLV (const std::string ccdbUrl, uint64_t timestamp, bool hv, bool lv) |
void | doQueryDataPointConfig (const std::string ccdbUrl, uint64_t timestamp, const std::string dpConfName) |
void | makeCCDBEntryForDCS (const std::string ccdbUrl, uint64_t timestamp) |
void | makeDefaultCCDBEntry (const std::string ccdbUrl, uint64_t timestamp) |
bool | match (const std::vector< std::string > &queries, const char *pattern) |
int | main (int argc, char **argv) |
Variables | |
int | verboseLevel |
using DPID = o2::dcs::DataPointIdentifier |
Definition at line 35 of file dcs-ccdb.cxx.
Definition at line 37 of file dcs-ccdb.cxx.
using DPVAL = o2::dcs::DataPointValue |
Definition at line 36 of file dcs-ccdb.cxx.
std::string CcdbDpConfName | ( | ) |
Definition at line 49 of file dcs-ccdb.cxx.
Definition at line 59 of file dcs-ccdb.cxx.
void doQueryDataPointConfig | ( | const std::string | ccdbUrl, |
uint64_t | timestamp, | ||
const std::string | dpConfName | ||
) |
Definition at line 142 of file dcs-ccdb.cxx.
void doQueryHVLV | ( | const std::string | ccdbUrl, |
uint64_t | timestamp, | ||
bool | hv, | ||
bool | lv | ||
) |
Definition at line 123 of file dcs-ccdb.cxx.
void doQueryHVLV | ( | const std::string | fileName | ) |
Definition at line 106 of file dcs-ccdb.cxx.
void dump | ( | const std::string | what, |
DPMAP | m, | ||
int | verbose | ||
) |
Definition at line 79 of file dcs-ccdb.cxx.
Definition at line 234 of file dcs-ccdb.cxx.
void makeCCDBEntryForDCS | ( | const std::string | ccdbUrl, |
uint64_t | timestamp | ||
) |
Definition at line 158 of file dcs-ccdb.cxx.
void makeDefaultCCDBEntry | ( | const std::string | ccdbUrl, |
uint64_t | timestamp | ||
) |
Definition at line 183 of file dcs-ccdb.cxx.
bool match | ( | const std::vector< std::string > & | queries, |
const char * | pattern | ||
) |
Definition at line 229 of file dcs-ccdb.cxx.
float sum | ( | float | s, |
o2::dcs::DataPointValue | v | ||
) |
Definition at line 39 of file dcs-ccdb.cxx.
int verboseLevel |
Definition at line 54 of file dcs-ccdb.cxx.