#include <TRocEvent.h>
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::Message & | GetRocMessage () 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) |
TRocMessageExtended & | operator= (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 |
Definition at line 59 of file TRocEvent.h.
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.
void TRocMessageExtended::assign | ( | const TRocMessageExtended & | src | ) | [inline] |
Definition at line 262 of file TRocEvent.h.
References ffCorrectedADC, ffTriggerDeltaT, fuFulltime, fxMessage, uLocalEpoch, uLocalEpochCycle, uRocEpoch, and uRocEpochCycle.
Referenced by operator=(), and TRocMessageExtended().
float TRocMessageExtended::GetCorrectedNxADC | ( | ) | const [inline] |
Definition at line 111 of file TRocEvent.h.
References ffCorrectedADC.
Referenced by TFiberHodProc::FinalizeEvent(), TSTSProc::FinalizeEvent(), TGEMProc::FinalizeEvent(), TGem2Proc::FinalizeEvent(), TGem1Proc::FinalizeEvent(), TRICHProc::ProcessLedPulser(), TRICHProc::ProcessRICH(), and TSTSProc::ProcessValidMessage().
uint64_t TRocMessageExtended::GetFullTime | ( | ) | const [inline] |
Definition at line 126 of file TRocEvent.h.
References fuFulltime.
Referenced by TFiberHodProc::FinalizeEvent(), TSTSProc::FinalizeEvent(), TGEMProc::FinalizeEvent(), TRocProc::HandleUnprocessedMessages(), TRocProc::ProcessExtendedMessage(), TRocProc::ProcessGet4DataMessage(), and TSTSProc::ProcessValidMessage().
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] |
Definition at line 147 of file TRocEvent.h.
References fxMessage, and roc::Message::getGet4Number().
Referenced by TRocProc::HandleUnprocessedMessages(), TRocProc::ProcessExtendedMessage(), and TRocProc::ProcessGet4DataMessage().
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] |
Definition at line 102 of file TRocEvent.h.
References fxMessage, and roc::Message::getMessageType().
Referenced by TFiberHodProc::FinalizeEvent(), TSTSProc::FinalizeEvent(), TGEMProc::FinalizeEvent(), TGem2Proc::FinalizeEvent(), TGem1Proc::FinalizeEvent(), TRocProc::ProcessExtendedMessage(), TRICHProc::ProcessLedPulser(), and TRICHProc::ProcessRICH().
float TRocMessageExtended::GetNxADC | ( | ) | const [inline] |
Definition at line 116 of file TRocEvent.h.
References fxMessage, and roc::Message::getNxAdcValue().
Referenced by TFiberHodProc::FinalizeEvent(), TGEMProc::FinalizeEvent(), TGem2Proc::FinalizeEvent(), TGem1Proc::FinalizeEvent(), TRocProc::ProcessExtendedMessage(), TRICHProc::ProcessLedPulser(), and TRICHProc::ProcessRICH().
Byte_t TRocMessageExtended::GetNxChNum | ( | ) | const [inline] |
Definition at line 142 of file TRocEvent.h.
References fxMessage, and roc::Message::getNxChNum().
Referenced by TFiberHodProc::FinalizeEvent(), TSTSProc::FinalizeEvent(), TGEMProc::FinalizeEvent(), TGem2Proc::FinalizeEvent(), TGem1Proc::FinalizeEvent(), TRocProc::ProcessExtendedMessage(), TRICHProc::ProcessLedPulser(), TRICHProc::ProcessRICH(), and TSTSProc::ProcessValidMessage().
Byte_t TRocMessageExtended::GetNxNumber | ( | ) | const [inline] |
Definition at line 137 of file TRocEvent.h.
References fxMessage, and roc::Message::getNxNumber().
Referenced by TFiberHodProc::FinalizeEvent(), TSTSProc::FinalizeEvent(), TGEMProc::FinalizeEvent(), TGem2Proc::FinalizeEvent(), TGem1Proc::FinalizeEvent(), TRocProc::ProcessExtendedMessage(), TRICHProc::ProcessLedPulser(), TRICHProc::ProcessRICH(), and TSTSProc::ProcessValidMessage().
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] |
Definition at line 97 of file TRocEvent.h.
References fxMessage.
Referenced by TGEMProc::FinalizeEvent(), LocalOrder(), LocalSpacing(), TRocProc::ProcessGet4DataMessage(), TRocProc::ProcessGet4ExtSyncMessage(), RocOrder(), and RocSpacing().
uint16_t TRocMessageExtended::GetRocNumber | ( | ) | const [inline] |
Definition at line 131 of file TRocEvent.h.
References fxMessage, and roc::Message::getRocNumber().
Referenced by TFiberHodProc::FinalizeEvent(), TGem2Proc::FinalizeEvent(), TGem1Proc::FinalizeEvent(), TGEMProc::IsGEM(), TRICHProc::ProcessLedPulser(), TRICHProc::ProcessRICH(), and TSTSProc::ProcessValidMessage().
float TRocMessageExtended::GetTriggerDeltaT | ( | ) | const [inline] |
Definition at line 173 of file TRocEvent.h.
References ffTriggerDeltaT.
Referenced by TFiberHodProc::FinalizeEvent(), TSTSProc::FinalizeEvent(), TGEMProc::FinalizeEvent(), TGem2Proc::FinalizeEvent(), TGem1Proc::FinalizeEvent(), TRICHProc::ProcessLedPulser(), TRICHProc::ProcessRICH(), and TSTSProc::ProcessValidMessage().
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 |
Definition at line 49 of file TRocEvent.cxx.
References fxMessage, roc::Message::getField(), roc::Message::getGet4Ts(), GetLocalCycle(), GetLocalEpoch(), roc::Message::getMessageType(), GetRocMessage(), roc::MSG_SYS, uLocalEpoch, and uLocalEpochCycle.
Double_t TRocMessageExtended::LocalSpacing | ( | const TRocMessageExtended & | messageToCompare | ) | const |
Definition at line 123 of file TRocEvent.cxx.
References BIN_SIZE_IN_NS, CYCLE_IN_EPOCHS, EPOCH_IN_NS, fxMessage, roc::Message::getGet4Ts(), GetLocalCycle(), GetLocalEpoch(), roc::Message::getMessageType(), GetRocMessage(), roc::MSG_GET4, uLocalEpoch, and uLocalEpochCycle.
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 |
Definition at line 9 of file TRocEvent.cxx.
References fxMessage, roc::Message::getField(), roc::Message::getGet4Ts(), roc::Message::getMessageType(), GetRocCycle(), GetRocEpoch(), GetRocMessage(), roc::MSG_SYS, uRocEpoch, and uRocEpochCycle.
Double_t TRocMessageExtended::RocSpacing | ( | const TRocMessageExtended & | messageToCompare | ) | const |
Definition at line 94 of file TRocEvent.cxx.
References BIN_SIZE_IN_NS, CYCLE_IN_EPOCHS, EPOCH_IN_NS, fxMessage, roc::Message::getGet4Ts(), roc::Message::getMessageType(), GetRocCycle(), GetRocEpoch(), GetRocMessage(), roc::MSG_GET4, uRocEpoch, and uRocEpochCycle.
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] |
Definition at line 178 of file TRocEvent.h.
References fuFulltime, roc::Message::FullTimeStamp2(), fxMessage, roc::Message::getField(), roc::Message::getMessageType(), roc::Message::getMsgFullTime(), roc::Message::getSysMesType(), roc::MSG_GET4, roc::MSG_SYS, roc::SYSMSG_GET4_EVENT, uLocalEpoch, uLocalEpochCycle, uRocEpoch, and uRocEpochCycle.
Referenced by TRocProc::ProcessGet4DataMessage(), and TRocProc::ProcessGet4ExtSyncMessage().
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] |
Definition at line 211 of file TRocEvent.h.
References fuFulltime, roc::Message::FullTimeStamp2(), fxMessage, roc::Message::getField(), roc::Message::getMessageType(), roc::Message::getMsgFullTime(), roc::Message::getSysMesType(), roc::MSG_GET4, roc::MSG_SYS, roc::SYSMSG_GET4_EVENT, and uRocEpoch.
void TRocMessageExtended::SetRocMessage | ( | const roc::Message & | source | ) | [inline] |
Definition at line 92 of file TRocEvent.h.
References fxMessage.
void TRocMessageExtended::SetTriggerDeltaT | ( | float | dt | ) | [inline] |
Definition at line 168 of file TRocEvent.h.
References ffTriggerDeltaT.
Referenced by TRocProc::HandleUnprocessedMessages(), TRocProc::ProcessExtendedMessage(), and TRocProc::ProcessGet4DataMessage().
float TRocMessageExtended::ffCorrectedADC [protected] |
Definition at line 297 of file TRocEvent.h.
Referenced by assign(), GetCorrectedNxADC(), and SetCorrectedNxADC().
float TRocMessageExtended::ffTriggerDeltaT [protected] |
Definition at line 304 of file TRocEvent.h.
Referenced by assign(), GetTriggerDeltaT(), and SetTriggerDeltaT().
uint64_t TRocMessageExtended::fuFulltime [protected] |
Definition at line 300 of file TRocEvent.h.
Referenced by assign(), GetFullTime(), operator<(), Print(), SetFullTime(), SetGet4MessageFull(), and SetRocEpoch().
roc::Message TRocMessageExtended::fxMessage [protected] |
Definition at line 294 of file TRocEvent.h.
Referenced by assign(), GetGet4ChNum(), GetGet4Number(), GetGet4Ts(), GetMessageType(), GetNxADC(), GetNxChNum(), GetNxNumber(), GetRocMessage(), GetRocNumber(), IsRisingGet4Edge(), LocalOrder(), LocalSpacing(), Print(), RocOrder(), RocSpacing(), SetGet4MessageFull(), SetRocEpoch(), and SetRocMessage().
ULong64_t TRocMessageExtended::uLocalEpoch [protected] |
Definition at line 309 of file TRocEvent.h.
Referenced by assign(), GetLocalEpoch(), LocalOrder(), LocalSpacing(), SetGet4MessageFull(), and SetLocalEpoch().
UInt_t TRocMessageExtended::uLocalEpochCycle [protected] |
Definition at line 310 of file TRocEvent.h.
Referenced by assign(), GetLocalCycle(), LocalOrder(), LocalSpacing(), SetGet4MessageFull(), and SetLocalCycle().
UInt_t TRocMessageExtended::uRocEpoch [protected] |
Definition at line 306 of file TRocEvent.h.
Referenced by assign(), GetRocEpoch(), RocOrder(), RocSpacing(), SetGet4MessageFull(), and SetRocEpoch().
UInt_t TRocMessageExtended::uRocEpochCycle [protected] |
Definition at line 307 of file TRocEvent.h.
Referenced by assign(), GetRocCycle(), RocOrder(), RocSpacing(), SetGet4MessageFull(), and SetRocCycle().