Jpp  16.0.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
40  };
41 }
42 
43 #endif
ClassDef(JDatalogNumbers, 1)
static const char *const getName()
Table name.
Definition: JRoot.hh:19
double getTime() const
Get time.
std::string DETID
constraint