Jpp  master_rocky
the software that should make you happy
Public Member Functions | Public Attributes | List of all members
JDATABASE::JDatalog Struct Reference

#include <JDatalog.hh>

Inheritance diagram for JDATABASE::JDatalog:
TObject

Public Member Functions

 JDatalog ()
 Default constructor. More...
 
 JDatalog (const int run, const int string, const int floor, const int position, const std::string &parameter, const long long int time, const double value)
 Constructor. More...
 
double getTime () const
 Get time. More...
 
 ClassDef (JDatalog, 2)
 

Public Attributes

int run
 
int string
 
int floor
 
int position
 
std::string parameter
 
long long int time
 
double value
 

Detailed Description

Definition at line 17 of file JDatalog.hh.

Constructor & Destructor Documentation

◆ JDatalog() [1/2]

JDATABASE::JDatalog::JDatalog ( )
inline

Default constructor.

Definition at line 23 of file JDatalog.hh.

23  :
24  run (-1),
25  string (-1),
26  floor (-1),
27  position (-1),
28  parameter(),
29  time (),
30  value (0.0)
31  {}
long long int time
Definition: JDatalog.hh:75
std::string parameter
Definition: JDatalog.hh:74

◆ JDatalog() [2/2]

JDATABASE::JDatalog::JDatalog ( const int  run,
const int  string,
const int  floor,
const int  position,
const std::string &  parameter,
const long long int  time,
const double  value 
)
inline

Constructor.

Parameters
runrun
stringstring
floorfloor
positionposition
parameterparameter
timetime
valuevalue

Definition at line 44 of file JDatalog.hh.

50  :
51  run (run),
52  string (string),
53  floor (floor),
56  time (time),
57  value (value)
58  {}

Member Function Documentation

◆ getTime()

double JDATABASE::JDatalog::getTime ( ) const
inline

Get time.

Returns
time [s]

Definition at line 65 of file JDatalog.hh.

66  {
67  return time * 1.0e-3;
68  }

◆ ClassDef()

JDATABASE::JDatalog::ClassDef ( JDatalog  ,
 
)

Member Data Documentation

◆ run

int JDATABASE::JDatalog::run

Definition at line 70 of file JDatalog.hh.

◆ string

int JDATABASE::JDatalog::string

Definition at line 71 of file JDatalog.hh.

◆ floor

int JDATABASE::JDatalog::floor

Definition at line 72 of file JDatalog.hh.

◆ position

int JDATABASE::JDatalog::position

Definition at line 73 of file JDatalog.hh.

◆ parameter

std::string JDATABASE::JDatalog::parameter

Definition at line 74 of file JDatalog.hh.

◆ time

long long int JDATABASE::JDatalog::time

Definition at line 75 of file JDatalog.hh.

◆ value

double JDATABASE::JDatalog::value

Definition at line 76 of file JDatalog.hh.


The documentation for this struct was generated from the following file: