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
OnlMonDBVar.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file OnlMonDBVar.h
1
#ifndef ONLMONDATABASE_ONLMONDBVAR_H
2
#define ONLMONDATABASE_ONLMONDBVAR_H
3
4
#include <array>
5
6
class
OnlMonDBVar
7
{
8
public
:
9
OnlMonDBVar
();
10
virtual
~OnlMonDBVar
(){};
11
12
int
SetVar
(
const
float
rval[3]);
13
void
Print
()
const
;
14
int
wasupdated
() {
return
updated
; }
15
void
resetupdated
() {
updated
= 0; }
16
float
GetVar
(
const
int
i
) {
return
val
[
i
]; }
17
18
protected
:
19
int
updated
= 0;
20
std::array<float, 3>
val
;
21
};
22
23
#endif
OnlMon
blob
main
onlmondatabase
OnlMonDBVar.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration