Jpp  18.5.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JDETECTOR::JUTCDistance Struct Reference

Auxiliary class for distance beteen UTC times. More...

#include <JModuleGeometry.hh>

Public Member Functions

double operator() (const JDAQUTCExtended &first, const JDAQUTCExtended &second) const
 Get distance between UTC. More...
 

Detailed Description

Auxiliary class for distance beteen UTC times.

Definition at line 146 of file JModuleGeometry.hh.

Member Function Documentation

double JDETECTOR::JUTCDistance::operator() ( const JDAQUTCExtended first,
const JDAQUTCExtended second 
) const
inline

Get distance between UTC.

Parameters
firstfirst value
secondsecond value
Returns
time difference [ns]

Definition at line 154 of file JModuleGeometry.hh.

155  {
156  return second.getTimeNanoSecond() - first.getTimeNanoSecond();
157  }
double getTimeNanoSecond() const
Get time (limited to 16 ns cycles).

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