Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
OnlMonStatusDB.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file OnlMonStatusDB.h
1
#ifndef ONLMONSTATUSDB_H__
2
#define ONLMONSTATUSDB_H__
3
4
#include <string>
5
6
class
OnlMonStatusDB
7
{
8
public
:
9
OnlMonStatusDB
(
const
std::string
&tablename =
"onlmonstatus"
);
10
virtual
~OnlMonStatusDB
();
11
int
CheckAndCreateTable
();
12
int
CheckAndCreateMonitor
(
const
std::string
&
name
);
13
int
UpdateStatus
(
const
std::string
&name,
const
int
runnumber
,
const
int
status
);
14
int
FindAndInsertRunNum
(
const
int
runnumber);
15
int
findRunNumInDB
(
const
int
runno);
16
17
private
:
18
int
GetConnection
();
19
std::string
dbname
=
"OnlMonDB"
;
20
std::string
dbowner
=
"phnxrc"
;
21
std::string
dbpasswd
=
""
;
22
std::string
table
;
23
};
24
25
#endif
OnlMon
blob
main
onlmonserver
OnlMonStatusDB.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration