Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
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.
 

Detailed Description

Auxiliary class for distance beteen UTC times.

Definition at line 146 of file JModuleGeometry.hh.

Member Function Documentation

◆ operator()()

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: