HTrb3TdcIterator() | |
HTrb3TdcIterator(const HTrb3TdcIterator&) | |
~HTrb3TdcIterator() | |
void | assign(UInt_t* buf, UInt_t len, Bool_t swapped = true) |
void | clearCurEpoch() |
UInt_t | getCurEpoch() const |
uint64_t | getMsgStamp() const |
Double_t | getMsgTimeCoarse() const |
Double_t | getMsgTimeFine() const |
Bool_t | isCurEpoch() const |
HTrb3TdcMessage& | msg() |
Bool_t | next() |
HTrb3TdcIterator& | operator=(const HTrb3TdcIterator&) |
void | printmsg() |
void | setRefEpoch(UInt_t epoch) |
UInt_t* | fBuf | ! pointer on raw data |
UInt_t | fBuflen | ! length of raw data |
UInt_t | fCurEpoch | ! current epoch |
HTrb3TdcMessage | fMsg | ! current message |
Bool_t | fSwapped | ! true if raw data are swapped |
Returns 39-bit value, which combines epoch and coarse counter. Time bin is 5 ns
{ return (isCurEpoch() ? ((uint64_t) fCurEpoch) << 11 : 0) | (fMsg.isHitMsg() ? fMsg.getHitTmCoarse() : 0); }
{ return getMsgStamp() * HTrb3TdcMessage::coarseUnit(); /*fConv.ToSeconds(getMsgStamp()) */; }
{ return fMsg.isHitMsg() ? HTrb3TdcMessage::simpleFineCalibr(fMsg.getHitTmFine()) : 0.; }
Returns true, if current epoch was assigned
{ return fCurEpoch != DummyEpoch; }