Public Member Functions | Protected Attributes

TRocMessageExtended Class Reference

#include <TRocEvent.h>

Collaboration diagram for TRocMessageExtended:
Collaboration graph
[legend]

Public Member Functions

 TRocMessageExtended (const roc::Message &msg, uint64_t fulltime=0, float adccorr=0.)
 TRocMessageExtended ()
 TRocMessageExtended (const TRocMessageExtended &src)
virtual ~TRocMessageExtended ()
bool operator< (const TRocMessageExtended &rhs) const
void SetRocMessage (const roc::Message &source)
const roc::MessageGetRocMessage () const
uint8_t GetMessageType () const
void SetCorrectedNxADC (float val)
float GetCorrectedNxADC () const
float GetNxADC () const
void SetFullTime (uint64_t ts)
uint64_t GetFullTime () const
uint16_t GetRocNumber () const
Byte_t GetNxNumber () const
Byte_t GetNxChNum () const
uint8_t GetGet4Number () const
uint8_t GetGet4ChNum () const
uint32_t GetGet4Ts () const
Bool_t IsRisingGet4Edge () const
void SetTriggerDeltaT (float dt)
float GetTriggerDeltaT () const
Bool_t SetGet4MessageFull (const roc::Message &DataMessIn, UInt_t rocEpochIn, UInt_t rocCycleIn, UInt_t localEpochIn, UInt_t localCycleIn, Bool_t bUseLocal)
Bool_t SetRocEpoch (UInt_t rocEpochIn)
Bool_t SetRocCycle (UInt_t rocCycleIn)
Bool_t SetLocalEpoch (ULong64_t localEpochIn)
Bool_t SetLocalCycle (UInt_t localCycleIn)
UInt_t GetRocEpoch () const
UInt_t GetRocCycle () const
UInt_t GetLocalEpoch () const
UInt_t GetLocalCycle () const
Bool_t RocOrder (const TRocMessageExtended &messageToCompare) const
Bool_t LocalOrder (const TRocMessageExtended &messageToCompare) const
Double_t RocSpacing (const TRocMessageExtended &messageToCompare) const
Double_t LocalSpacing (const TRocMessageExtended &messageToCompare) const
void Print (unsigned kind=roc::msg_print_Human) const
void assign (const TRocMessageExtended &src)
TRocMessageExtendedoperator= (const TRocMessageExtended &src)

Protected Attributes

roc::Message fxMessage
float ffCorrectedADC
uint64_t fuFulltime
float ffTriggerDeltaT
UInt_t uRocEpoch
UInt_t uRocEpochCycle
ULong64_t uLocalEpoch
UInt_t uLocalEpochCycle

Detailed Description

Definition at line 59 of file TRocEvent.h.


Constructor & Destructor Documentation

TRocMessageExtended::TRocMessageExtended ( const roc::Message msg,
uint64_t  fulltime = 0,
float  adccorr = 0. 
) [inline]

Definition at line 63 of file TRocEvent.h.

TRocMessageExtended::TRocMessageExtended (  )  [inline]

Definition at line 72 of file TRocEvent.h.

TRocMessageExtended::TRocMessageExtended ( const TRocMessageExtended src  )  [inline]

Definition at line 81 of file TRocEvent.h.

References assign().

virtual TRocMessageExtended::~TRocMessageExtended (  )  [inline, virtual]

Definition at line 86 of file TRocEvent.h.


Member Function Documentation

void TRocMessageExtended::assign ( const TRocMessageExtended src  )  [inline]
float TRocMessageExtended::GetCorrectedNxADC (  )  const [inline]
uint64_t TRocMessageExtended::GetFullTime (  )  const [inline]
uint8_t TRocMessageExtended::GetGet4ChNum (  )  const [inline]

Definition at line 153 of file TRocEvent.h.

References fxMessage, and roc::Message::getGet4ChNum().

uint8_t TRocMessageExtended::GetGet4Number (  )  const [inline]
uint32_t TRocMessageExtended::GetGet4Ts (  )  const [inline]

Definition at line 158 of file TRocEvent.h.

References fxMessage, and roc::Message::getGet4Ts().

UInt_t TRocMessageExtended::GetLocalCycle (  )  const [inline]

Definition at line 250 of file TRocEvent.h.

References uLocalEpochCycle.

Referenced by LocalOrder(), LocalSpacing(), and TRocProc::ProcessGet4DataMessage().

UInt_t TRocMessageExtended::GetLocalEpoch (  )  const [inline]

Definition at line 246 of file TRocEvent.h.

References uLocalEpoch.

Referenced by LocalOrder(), and LocalSpacing().

uint8_t TRocMessageExtended::GetMessageType (  )  const [inline]
float TRocMessageExtended::GetNxADC (  )  const [inline]
Byte_t TRocMessageExtended::GetNxChNum (  )  const [inline]
Byte_t TRocMessageExtended::GetNxNumber (  )  const [inline]
UInt_t TRocMessageExtended::GetRocCycle (  )  const [inline]

Definition at line 242 of file TRocEvent.h.

References uRocEpochCycle.

Referenced by TRocProc::ProcessGet4DataMessage(), RocOrder(), and RocSpacing().

UInt_t TRocMessageExtended::GetRocEpoch (  )  const [inline]

Definition at line 238 of file TRocEvent.h.

References uRocEpoch.

Referenced by RocOrder(), and RocSpacing().

const roc::Message& TRocMessageExtended::GetRocMessage (  )  const [inline]
uint16_t TRocMessageExtended::GetRocNumber (  )  const [inline]
float TRocMessageExtended::GetTriggerDeltaT (  )  const [inline]
Bool_t TRocMessageExtended::IsRisingGet4Edge (  )  const [inline]

Definition at line 163 of file TRocEvent.h.

References fxMessage, and roc::Message::getGet4Edge().

Bool_t TRocMessageExtended::LocalOrder ( const TRocMessageExtended messageToCompare  )  const
Double_t TRocMessageExtended::LocalSpacing ( const TRocMessageExtended messageToCompare  )  const
bool TRocMessageExtended::operator< ( const TRocMessageExtended rhs  )  const [inline]

Definition at line 89 of file TRocEvent.h.

References fuFulltime.

TRocMessageExtended& TRocMessageExtended::operator= ( const TRocMessageExtended src  )  [inline]

Definition at line 284 of file TRocEvent.h.

References assign().

void TRocMessageExtended::Print ( unsigned  kind = roc::msg_print_Human  )  const

Definition at line 153 of file TRocEvent.cxx.

References fuFulltime, fxMessage, and roc::Message::printData().

Bool_t TRocMessageExtended::RocOrder ( const TRocMessageExtended messageToCompare  )  const
Double_t TRocMessageExtended::RocSpacing ( const TRocMessageExtended messageToCompare  )  const
void TRocMessageExtended::SetCorrectedNxADC ( float  val  )  [inline]

Definition at line 106 of file TRocEvent.h.

References ffCorrectedADC.

void TRocMessageExtended::SetFullTime ( uint64_t  ts  )  [inline]

Definition at line 121 of file TRocEvent.h.

References fuFulltime.

Bool_t TRocMessageExtended::SetGet4MessageFull ( const roc::Message DataMessIn,
UInt_t  rocEpochIn,
UInt_t  rocCycleIn,
UInt_t  localEpochIn,
UInt_t  localCycleIn,
Bool_t  bUseLocal 
) [inline]
Bool_t TRocMessageExtended::SetLocalCycle ( UInt_t  localCycleIn  )  [inline]

Definition at line 232 of file TRocEvent.h.

References uLocalEpochCycle.

Bool_t TRocMessageExtended::SetLocalEpoch ( ULong64_t  localEpochIn  )  [inline]

Definition at line 227 of file TRocEvent.h.

References uLocalEpoch.

Bool_t TRocMessageExtended::SetRocCycle ( UInt_t  rocCycleIn  )  [inline]

Definition at line 222 of file TRocEvent.h.

References uRocEpochCycle.

Bool_t TRocMessageExtended::SetRocEpoch ( UInt_t  rocEpochIn  )  [inline]
void TRocMessageExtended::SetRocMessage ( const roc::Message source  )  [inline]

Definition at line 92 of file TRocEvent.h.

References fxMessage.

void TRocMessageExtended::SetTriggerDeltaT ( float  dt  )  [inline]

Field Documentation

Definition at line 297 of file TRocEvent.h.

Referenced by assign(), GetCorrectedNxADC(), and SetCorrectedNxADC().

Definition at line 304 of file TRocEvent.h.

Referenced by assign(), GetTriggerDeltaT(), and SetTriggerDeltaT().

uint64_t TRocMessageExtended::fuFulltime [protected]
ULong64_t TRocMessageExtended::uLocalEpoch [protected]
UInt_t TRocMessageExtended::uRocEpoch [protected]

Definition at line 306 of file TRocEvent.h.

Referenced by assign(), GetRocEpoch(), RocOrder(), RocSpacing(), SetGet4MessageFull(), and SetRocEpoch().

Definition at line 307 of file TRocEvent.h.

Referenced by assign(), GetRocCycle(), RocOrder(), RocSpacing(), SetGet4MessageFull(), and SetRocCycle().


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