52 #include "larevt/CalibrationDBI/Interface/CalibrationDBIFwd.h" 64 typedef std::variant<long, double, std::unique_ptr<std::string>>
value_type;
81 return *std::get<std::unique_ptr<std::string>>(
fData[
col]);
101 DBDataset(
void* dataset,
bool release =
false);
108 std::vector<std::string>&& col_names,
109 std::vector<std::string>&& col_types,
110 std::vector<DBChannelID_t>&&
channels,
111 std::vector<value_type>&&
data);
122 const std::vector<value_type>&
data()
const {
return fData; }
DBRow(const value_type *s)
std::variant< long, double, std::unique_ptr< std::string > > value_type
double getDoubleData(size_t col) const
const value_type & getData(size_t col) const
const std::vector< std::string > & colNames() const
const std::string & getStringData(size_t col) const
DBRow getRow(size_t row) const
std::vector< std::string > fColNames
int getRowNumber(DBChannelID_t ch) const
Class def header for a class IOVTimeStamp.
const std::vector< value_type > & data() const
std::vector< std::string > fColTypes
std::vector< value_type > fData
const IOVTimeStamp & endTime() const
const std::vector< std::string > & colTypes() const
const IOVTimeStamp & beginTime() const
std::vector< DBChannelID_t > fChannels
Filters for channels, events, etc.
const std::vector< DBChannelID_t > & channels() const
long getLongData(size_t col) const
int getColNumber(const std::string &name) const