Public Types | |
enum | EFndDbTables { DBTAB_TOF_FEE = 0, DBTAB_TOF_CALIB, DBTAB_TOF_OFFSET, DBTAB_SIL_FEE, DBTAB_LMD_FEE, DBTAB_STB_FEE } |
enum | EFndQueryPrintMode { Q_SILENT = 0, Q_GENINFO, Q_COMPACT, Q_DETAILED, Q_MYSQL_STYLE } |
Public Member Functions | |
~TFndDB () | |
Int_t | ConnectToHost (const TString &server, TString user="finuda", TString passwd="", Int_t timeout=3, Int_t n_trials=10) |
void | DisconnectFromHost () |
Bool_t | IsConnected () |
Bool_t | IsThere () |
TSQLServer * | GetDBServer () |
TTreeSQL * | GetSqlTree (Int_t table) |
Int_t | FetchRunInfo (Bool_t verbose, UInt_t run_time=0, Bool_t also_calib=kTRUE) |
Int_t | LoadAllInfo (Bool_t verbose, TString TofDB_str="TofDB2") |
Int_t | UnloadAllInfo () |
TSQLResult * | Query (TString DB_name, TString QueryStr, Int_t print_mode=(Int_t)(Q_SILENT)) |
Static Public Member Functions | |
static void | Tof_ChNum_To_DetChan (const Int_t &ch, Int_t &layer, Int_t &slab) |
static Int_t | Tof_ChannelToDBNumbering (const Int_t &layer, const Int_t &slab) |
static void | Lmd_ChNum_To_DetChan (const Int_t &ch, Int_t &lay, Int_t &dch_num, Int_t &wire_num, Int_t &wirenode) |
static Int_t | Lmd_ChannelToDBNumbering (const Int_t &lay, const Int_t &ch, const Int_t &wire) |
static Int_t | Lmd_ChannelToDBNumbering (const Int_t &cham, const Int_t &wire) |
static void | Stb_ChNum_To_DetChan (const Int_t &ch, Int_t &crown, Int_t &tube, Int_t &wirenode) |
static Int_t | Stb_ChannelToDBNumbering (const Int_t &crown, const Int_t &tube) |
Definition at line 27 of file TFndDB.h.
enum TFndDB::EFndDbTables |
DBTAB_TOF_FEE | |
DBTAB_TOF_CALIB | |
DBTAB_TOF_OFFSET | |
DBTAB_SIL_FEE | |
DBTAB_LMD_FEE | |
DBTAB_STB_FEE |
Definition at line 61 of file TFndDB.h.
00061 {DBTAB_TOF_FEE = 0, DBTAB_TOF_CALIB, DBTAB_TOF_OFFSET, DBTAB_SIL_FEE, DBTAB_LMD_FEE, DBTAB_STB_FEE };
Definition at line 62 of file TFndDB.h.
00062 { Q_SILENT = 0, Q_GENINFO, Q_COMPACT, Q_DETAILED, Q_MYSQL_STYLE };