EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTimeStamp.cc File Reference
#include "PHTimeStamp.h"
#include <climits>
#include <cstdlib>
#include <cstring>
#include <iostream>
+ Include dependency graph for PHTimeStamp.cc:

Go to the source code of this file.

Functions

PHTimeStamp operator+ (const PHTimeStamp &t1, time_t t2)
 
PHTimeStamp operator- (const PHTimeStamp &t1, time_t t2)
 
time_t operator- (const PHTimeStamp &t1, const PHTimeStamp &t2)
 
ostream & operator<< (ostream &s, const PHTimeStamp &t)
 
istream & operator>> (istream &s, PHTimeStamp &t)
 

Variables

const phtime_t ticOffset = 35067168000000000ULL
 
const phtime_t ticFactor = 10000000
 

Function Documentation

PHTimeStamp operator+ ( const PHTimeStamp t1,
time_t  t2 
)

Definition at line 198 of file PHTimeStamp.cc.

View newest version in sPHENIX GitHub at line 198 of file PHTimeStamp.cc

References t1, and t2.

Referenced by nlohmann::detail::json_reverse_iterator< Base >::operator+(), and nlohmann::detail::json_reverse_iterator< Base >::operator[]().

+ Here is the caller graph for this function:

PHTimeStamp operator- ( const PHTimeStamp t1,
time_t  t2 
)

Definition at line 205 of file PHTimeStamp.cc.

View newest version in sPHENIX GitHub at line 205 of file PHTimeStamp.cc

References t1, and t2.

time_t operator- ( const PHTimeStamp t1,
const PHTimeStamp t2 
)

Definition at line 212 of file PHTimeStamp.cc.

View newest version in sPHENIX GitHub at line 212 of file PHTimeStamp.cc

References PHTimeStamp::getTics().

+ Here is the call graph for this function:

ostream& operator<< ( ostream &  s,
const PHTimeStamp t 
)

Definition at line 217 of file PHTimeStamp.cc.

View newest version in sPHENIX GitHub at line 217 of file PHTimeStamp.cc

References PHTimeStamp::getTics().

+ Here is the call graph for this function:

istream& operator>> ( istream &  s,
PHTimeStamp t 
)

Definition at line 226 of file PHTimeStamp.cc.

View newest version in sPHENIX GitHub at line 226 of file PHTimeStamp.cc

References Acts::UnitConstants::s, and PHTimeStamp::set().

+ Here is the call graph for this function:

Variable Documentation

const phtime_t ticFactor = 10000000

Definition at line 27 of file PHTimeStamp.cc.

View newest version in sPHENIX GitHub at line 27 of file PHTimeStamp.cc

Referenced by PHTimeStamp::binaryTimeToTics(), A_Event::getTime(), PHTimeStamp::operator+=(), PHTimeStamp::operator-=(), and PHTimeStamp::ticsToBinaryTime().

const phtime_t ticOffset = 35067168000000000ULL

Definition at line 24 of file PHTimeStamp.cc.

View newest version in sPHENIX GitHub at line 24 of file PHTimeStamp.cc

Referenced by PHTimeStamp::binaryTimeToTics(), A_Event::getTime(), and PHTimeStamp::ticsToBinaryTime().