Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RunToTime Class Referenceabstract

#include <coresoftware/blob/master/offline/database/pdbcal/base/RunToTime.h>

+ Inheritance diagram for RunToTime:
+ Collaboration diagram for RunToTime:

Public Member Functions

virtual PHTimeStampgetBeginTime (const int runNumber)=0
 
virtual PHTimeStampgetEndTime (const int runNumber)=0
 
virtual int getRunNumber (const PHTimeStamp &ts)=0
 
virtual int DisconnectDB ()=0
 

Static Public Member Functions

static RunToTimeinstance ()
 

Protected Member Functions

 RunToTime ()
 
virtual ~RunToTime ()
 

Static Protected Attributes

static RunToTime__instance = 0
 

Detailed Description

Definition at line 6 of file RunToTime.h.

View newest version in sPHENIX GitHub at line 6 of file RunToTime.h

Constructor & Destructor Documentation

RunToTime::RunToTime ( )
protected

Definition at line 7 of file RunToTime.cc.

View newest version in sPHENIX GitHub at line 7 of file RunToTime.cc

RunToTime::~RunToTime ( )
protectedvirtual

Definition at line 11 of file RunToTime.cc.

View newest version in sPHENIX GitHub at line 11 of file RunToTime.cc

Member Function Documentation

virtual int RunToTime::DisconnectDB ( )
pure virtual

Implemented in RunToTimePg.

virtual PHTimeStamp* RunToTime::getBeginTime ( const int  runNumber)
pure virtual
virtual PHTimeStamp* RunToTime::getEndTime ( const int  runNumber)
pure virtual

Implemented in RunToTimePg.

Referenced by OnCalServer::BeginRun(), OnCalServer::ClosestGoodRun(), OnCalServer::CopySnglTableNewBankId(), PgPostBankManager::createBank(), OnCalServer::FindClosestCalibratedRun(), OnCalServer::GetRunTimeTicks(), OnCalServer::SetEorTime(), and OnCalServer::SyncOncalTimeStampsToRunDB().

+ Here is the caller graph for this function:

virtual int RunToTime::getRunNumber ( const PHTimeStamp ts)
pure virtual

Implemented in RunToTimePg.

RunToTime * RunToTime::instance ( )
static

Definition at line 15 of file RunToTime.cc.

View newest version in sPHENIX GitHub at line 15 of file RunToTime.cc

References __instance.

Referenced by OnCalServer::BeginRun(), OnCalServer::ClosestGoodRun(), OnCalServer::CopySnglTableNewBankId(), PgPostBankManager::createBank(), PgPostBankManager::fetchBank(), PgPostBankManager::fetchClosestBank(), OnCalServer::FindClosestCalibratedRun(), OnCalServer::GetLastGoodRunTS(), OnCalServer::GetRunTimeTicks(), OnCalServer::SetBorTime(), OnCalServer::SetEorTime(), and OnCalServer::SyncOncalTimeStampsToRunDB().

+ Here is the caller graph for this function:

Member Data Documentation

RunToTime * RunToTime::__instance = 0
staticprotected

Definition at line 14 of file RunToTime.h.

View newest version in sPHENIX GitHub at line 14 of file RunToTime.h

Referenced by instance().


The documentation for this class was generated from the following files: