Analysis Software
Documentation for sPHENIX simulation 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)
 
std::ostream & operator<< (std::ostream &s, const PHTimeStamp &t)
 
std::istream & operator>> (std::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 196 of file PHTimeStamp.cc.

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

References ambiguity_solver_full_chain::t1, and ambiguity_solver_full_chain::t2.

PHTimeStamp operator- ( const PHTimeStamp t1,
time_t  t2 
)

Definition at line 203 of file PHTimeStamp.cc.

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

References ambiguity_solver_full_chain::t1, and ambiguity_solver_full_chain::t2.

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

Definition at line 210 of file PHTimeStamp.cc.

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

References PHTimeStamp::getTics().

+ Here is the call graph for this function:

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

Definition at line 215 of file PHTimeStamp.cc.

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

References PHTimeStamp::getTics().

+ Here is the call graph for this function:

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

Definition at line 224 of file PHTimeStamp.cc.

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

References physmon_simulation::s, and PHTimeStamp::set().

+ Here is the call graph for this function:

Variable Documentation

const phtime_t ticFactor = 10000000

Definition at line 25 of file PHTimeStamp.cc.

View newest version in sPHENIX GitHub at line 25 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 22 of file PHTimeStamp.cc.

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

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