Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
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 */
12namespace JDATABASE {}
13namespace JPP { using namespace JDATABASE; }
14
15namespace JDATABASE {
16
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
40 };
41}
42
43#endif
Auxiliary classes and methods for database I/O.
Definition JAHRS.hh:14
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double getTime() const
Get time.
std::string DETID
constraint
ClassDef(JDatalogNumbers, 1)
static const char *const getName()
Table name.