fdhwlib  2.0.25
hw4::SltTime Class Reference

#include <slttime.h>

Inheritance diagram for hw4::SltTime:
SltTimeBase FE4timeStamp

List of all members.

Public Member Functions

Public Attributes

Static Public Attributes


Detailed Description

Structure 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.

Definition at line 28 of file slttime.h.


Constructor & Destructor Documentation

hw4::SltTime::SltTime ( )
hw4::SltTime::~SltTime ( )

Member Function Documentation

int hw4::SltTime::getFltOffset ( ) [virtual]

Get the address of the first time bin for readout of the Flt pages.

Reimplemented from SltTimeBase.

unsigned long hw4::SltTime::getLastTrigger ( ) [virtual]

Get the time stamp for the last trigger time stamp.

Reimplemented from SltTimeBase.

int hw4::SltTime::getMultiplicityOffset ( )

Get the address of the first time bin for readout of the multiplicity data.

int hw4::SltTime::getSltOffset ( ) [virtual]

Get the address of the first time bin for readout of the Slt pages.

Reimplemented from SltTimeBase.

unsigned long hw4::SltTime::getSubSec ( ) [virtual]

Get the time stamp for the subseconds.

Reimplemented from SltTimeBase.

const char* hw4::SltTime::getTriggerSourceBrief ( ) [virtual]

Returns a brief string for the trigger source.

Reimplemented from SltTimeBase.

SltTime& hw4::SltTime::minus ( const SltTime t1,
const SltTime t2 
)

Difference of two time stamps (t1 - t2).

All other fields are afterwards invalid !

Referenced by minus().

void hw4::SltTime::minus ( SltTime time) [inline]

Definition at line 87 of file slttime.h.

References minus().

                            {
    SltTimeBase::minus( *this, time );
  }
SltTime& hw4::SltTime::operator= ( const SltTime t)

Assignment operator.

SltTime hw4::SltTime::operator= ( const unsigned long &  t) [virtual]

Abbreviation for the function setNanoSec()

Reimplemented from SltTimeBase.

void hw4::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 hw4::SltTime::setSubSec ( unsigned long  data) [virtual]

Read the information from the sub second counter.

Reimplemented from SltTimeBase.

void hw4::SltTime::setVersionPrototype ( )

Set the version number for the prototype system (SLT version 1.1)


Member Data Documentation

Offset of the page start address in the FLT.

10bit, 0..999, resolution 100ns.

Definition at line 106 of file slttime.h.

Offset of the page start address in the multiplicity data.

Definition at line 115 of file slttime.h.

Offset of the page start address in the SLT.

Definition at line 110 of file slttime.h.

Add to the actual time.

Bit field with all possible trigger sources set to 1. The information is stored in the LastTriggerTimeStamp.

Definition at line 100 of file slttime.h.

const char* hw4::SltTime::triggerSourceBrief[] [static]

Names returned for the trigger source.

Definition at line 119 of file slttime.h.


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