#include <QwDBInterface.h>
|
static std::map< TString, TString > | fPrefix |
|
Definition at line 38 of file QwDBInterface.h.
Enumerator |
---|
kQwDBI_OtherTable |
|
kQwDBI_BeamTable |
|
kQwDBI_MDTable |
|
kQwDBI_LumiTable |
|
Definition at line 40 of file QwDBInterface.h.
QwDBInterface::QwDBInterface |
( |
| ) |
|
|
inline |
virtual QwDBInterface::~QwDBInterface |
( |
| ) |
|
|
inlinevirtual |
template<class T >
void QwDBInterface::AddThisEntryToList |
( |
std::vector< T > & |
list | ) |
|
|
inline |
Definition at line 132 of file QwDBInterface.h.
References QwLog::endl(), fAnalysisId, fDeviceId, PrintStatus(), QwError, and Qw::T.
136 QwError <<
"QwDBInterface::AddDBEntryToList: Analysis ID invalid; entry dropped"
141 QwError <<
"QwDBInterface::AddDBEntryToList: Device ID invalid; entry dropped"
146 T row = TypedDBClone<T>();
147 if (row.analysis_id == 0){
148 QwError <<
"QwDBInterface::AddDBEntryToList: Unknown list type; entry dropped"
155 if (okay == kFALSE) {
void PrintStatus(Bool_t print_flag)
static const double T
Magnetic field: base unit is T.
static std::ostream & endl(std::ostream &)
End of the line.
#define QwError
Predefined log drain for errors.
TString QwDBInterface::DetermineMeasurementTypeID |
( |
TString |
type, |
|
|
TString |
suffix = "" , |
|
|
Bool_t |
forcediffs = kFALSE |
|
) |
| |
|
static |
TString QwDBInterface::GetDeviceName |
( |
| ) |
|
|
inline |
void QwDBInterface::PrintStatus |
( |
Bool_t |
print_flag | ) |
|
|
inline |
Definition at line 108 of file QwDBInterface.h.
References QwLog::endl(), fAnalysisId, fDeviceId, fDeviceName, fError, fMeasurementTypeId, fN, fSubblock, fValue, and QwMessage.
Referenced by AddThisEntryToList().
118 <<
" [" << std::setw(14) <<
fValue
119 <<
"," << std::setw(14) <<
fError
#define QwMessage
Predefined log drain for regular messages.
Char_t fMeasurementTypeId[4]
static std::ostream & endl(std::ostream &)
End of the line.
void QwDBInterface::Reset |
( |
| ) |
|
|
inline |
void QwDBInterface::SetAnalysisID |
( |
UInt_t |
id | ) |
|
|
inline |
Definition at line 64 of file QwDBInterface.cc.
References fDeviceId, fDeviceName, QwParityDB::GetLumiDetectorID(), QwParityDB::GetMainDetectorID(), QwParityDB::GetMonitorID(), kQwDBI_BeamTable, kQwDBI_LumiTable, kQwDBI_MDTable, and kQwDBI_OtherTable.
UInt_t GetMonitorID(const string &name, Bool_t zero_id_is_error=kTRUE)
UInt_t GetMainDetectorID(const string &name, Bool_t zero_id_is_error=kTRUE)
UInt_t GetLumiDetectorID(const string &name, Bool_t zero_id_is_error=kTRUE)
void QwDBInterface::SetDetectorName |
( |
TString & |
in | ) |
|
|
inline |
void QwDBInterface::SetDeviceID |
( |
UInt_t |
id | ) |
|
|
inline |
void QwDBInterface::SetError |
( |
Double_t |
in | ) |
|
|
inline |
void QwDBInterface::SetLumiDetectorID |
( |
QwParityDB * |
db | ) |
|
void QwDBInterface::SetMainDetectorID |
( |
QwParityDB * |
db | ) |
|
void QwDBInterface::SetMeasurementTypeID |
( |
const TString & |
in | ) |
|
|
inline |
void QwDBInterface::SetMeasurementTypeID |
( |
const char * |
in | ) |
|
|
inline |
void QwDBInterface::SetMonitorID |
( |
QwParityDB * |
db | ) |
|
void QwDBInterface::SetN |
( |
UInt_t |
in | ) |
|
|
inline |
void QwDBInterface::SetSubblock |
( |
UInt_t |
in | ) |
|
|
inline |
void QwDBInterface::SetValue |
( |
Double_t |
in | ) |
|
|
inline |
template<class T >
T QwDBInterface::TypedDBClone |
( |
| ) |
|
|
private |
Definition at line 76 of file QwDBInterface.cc.
References Qw::T.
static const double T
Magnetic field: base unit is T.
UInt_t QwDBInterface::fAnalysisId |
|
private |
UInt_t QwDBInterface::fDeviceId |
|
private |
TString QwDBInterface::fDeviceName |
|
private |
Double_t QwDBInterface::fError |
|
private |
Char_t QwDBInterface::fMeasurementTypeId[4] |
|
private |
std::map< TString, TString > QwDBInterface::fPrefix |
|
staticprivate |
UInt_t QwDBInterface::fSubblock |
|
private |
Double_t QwDBInterface::fValue |
|
private |
The documentation for this class was generated from the following files: