Jpp
15.0.0
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JDB
JDatalogNumbers.hh
Go to the documentation of this file.
1
#ifndef __JDB_JDATALOGNUMBERS__
2
#define __JDB_JDATALOGNUMBERS__
3
4
#include <TROOT.h>
5
#include <TObject.h>
6
7
#include <string>
8
9
/**
10
* \author mdejong
11
*/
12
namespace
JDATABASE {}
13
namespace
JPP {
using namespace
JDATABASE; }
14
15
namespace
JDATABASE {
16
17
struct
JDatalogNumbers
:
18
public
TObject
19
{
20
static
const
char
*
const
getName
() {
return
"datalognumbers"
; }
//!< Table name
21
22
std::string
DETID
;
///< constraint
23
int
RUN
;
24
long
long
int
UNIXTIME
;
25
std::string
SOURCE_NAME
;
26
std::string
PARAMETER_NAME
;
27
double
DATA_VALUE
;
28
29
/**
30
* Get time.
31
*
32
* \return time [s]
33
*/
34
inline
double
getTime
()
const
35
{
36
return
UNIXTIME
* 1.0e-3;
37
}
38
39
ClassDef
(
JDatalogNumbers
, 1);
40
};
41
}
42
43
#endif
JDATABASE::JDatalogNumbers::ClassDef
ClassDef(JDatalogNumbers, 1)
JDATABASE::JDatalogNumbers::getName
static const char *const getName()
Table name.
Definition:
JDatalogNumbers.hh:20
TObject
Definition:
JRoot.hh:19
JDATABASE::JDatalogNumbers::getTime
double getTime() const
Get time.
Definition:
JDatalogNumbers.hh:34
JDATABASE::JDatalogNumbers::RUN
int RUN
Definition:
JDatalogNumbers.hh:23
JDATABASE::JDatalogNumbers::UNIXTIME
long long int UNIXTIME
Definition:
JDatalogNumbers.hh:24
JDATABASE::JDatalogNumbers::DETID
std::string DETID
constraint
Definition:
JDatalogNumbers.hh:22
JDATABASE::JDatalogNumbers::DATA_VALUE
double DATA_VALUE
Definition:
JDatalogNumbers.hh:27
JDATABASE::JDatalogNumbers
Definition:
JDatalogNumbers.hh:17
JDATABASE::JDatalogNumbers::PARAMETER_NAME
std::string PARAMETER_NAME
Definition:
JDatalogNumbers.hh:26
JDATABASE::JDatalogNumbers::SOURCE_NAME
std::string SOURCE_NAME
Definition:
JDatalogNumbers.hh:25
Generated by
1.8.5