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
PktSizeDBodbc.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PktSizeDBodbc.h
1
#ifndef __PKTSIZEDBODBC_H__
2
#define __PKTSIZEDBODBC_H__
3
4
#include <onlmon/OnlMonBase.h>
5
6
#include <ctime>
7
#include <map>
8
#include <string>
9
#include <vector>
10
11
class
PktSizeDBodbc
:
public
OnlMonBase
12
{
13
public
:
14
PktSizeDBodbc
(
const
std::string
&
name
);
15
virtual
~PktSizeDBodbc
();
16
int
CheckAndCreateTable
(
const
std::string
&name,
const
std::map<unsigned int, unsigned int> &packetsize);
17
int
CheckAndAddColumns
(
const
std::string
&table,
const
std::map<unsigned int, unsigned int> &packetsize);
18
int
AddRow
(
const
std::string
&granulename,
const
int
runnumber
,
const
int
nevnts,
const
std::map<unsigned int, unsigned int> &packetsize);
19
int
GetPacketContent
(std::map<unsigned int, float> &packetsize,
const
int
runnumber,
const
std::string
&table);
20
21
private
:
22
int
GetConnection
();
23
std::string
dbname
;
24
std::string
dbowner
;
25
std::string
dbpasswd
;
26
std::string
tableprefix
;
27
};
28
29
#endif
OnlMon
blob
main
subsystems
pktsize
PktSizeDBodbc.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration