fdhwlib
2.0.25
|
#include <SltTime.h>
Class to describe the timing data of the second level trigger board.
The class is via the version field able to handle also the time stamp format of the prototype electronic.
SltOffset = (LastTriggerTimeStamp >> 10) & 0x7fe; FltOffset = (LastTriggerTimeStamp >> 11) & 0x3fe; The SltOffset calculated in this way is always multiple of 20.
Changes:
SltTime::SltTime | ( | ) |
SltTime::~SltTime | ( | ) |
int SltTime::getFltOffset | ( | ) | [virtual] |
Get the address of the first time bin for readout of the Flt pages.
Reimplemented from SltTimeBase.
unsigned long SltTime::getLastTrigger | ( | ) | [virtual] |
Get the time stamp for the last trigger time stamp.
Reimplemented from SltTimeBase.
int SltTime::getSltOffset | ( | ) | [virtual] |
Get the address of the first time bin for readout of the Slt pages.
Reimplemented from SltTimeBase.
unsigned long SltTime::getSubSec | ( | ) | [virtual] |
Get the time stamp - raw data format - for the subseconds.
Reimplemented from SltTimeBase.
const char* SltTime::getTriggerSourceBrief | ( | ) | [virtual] |
Returns a brief string for the trigger source.
Reimplemented from SltTimeBase.
Difference of two time stamps (t1 - t2).
All other fields are afterwards invalid !
Referenced by minus().
void SltTime::minus | ( | SltTime & | time | ) | [inline] |
void SltTime::setLastTrigger | ( | unsigned long | data | ) | [virtual] |
Read the information from the LastTriggerTimeStamp.
The time stamp also includes information about the active trigger mask, the number of the page with the event before this and the readout pointer.
Reimplemented from SltTimeBase.
void SltTime::setSubSec | ( | unsigned long | data | ) | [virtual] |
Set sub-second fields with the information read from the sub-second counter.
Reimplemented from SltTimeBase.
void SltTime::setVersionPrototype | ( | ) |
Set the version number for the prototype system (SLT version 1.1)
int SltTime::offset |
const char* SltTime::triggerSourceBrief[] [static] |