![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
Public Member Functions | |
TRlmdEvent () | |
TRlmdEvent (const TRlmdEvent &) | |
~TRlmdEvent () override | |
void | Clear (Option_t *opt="") override |
void | Copy (TObject &) const override |
char * | GetData () override |
uint32_t | GetDataSize () const override |
virtual uint32_t | GetTimeStamp () const |
virtual int | GoodFrags () |
virtual void | IncrementGoodFrags () |
TRlmdEvent & | operator= (const TRlmdEvent &) |
void | Print (const char *option="") const override |
void | SetData (std::vector< char > &buffer) |
int | SwapBytes (bool) override |
Protected Attributes | |
std::vector< char > | fData |
Private Attributes | |
int | fGoodFrags {0} |
TRlmdEvent::TRlmdEvent | ( | ) |
default constructor
Definition at line 13 of file TRlmdEvent.cxx.
TRlmdEvent::TRlmdEvent | ( | const TRlmdEvent & | rhs | ) |
|
override |
|
override |
clear event for reuse
Definition at line 46 of file TRlmdEvent.cxx.
References fData.
Referenced by ~TRlmdEvent(), and operator=().
|
override |
copy helper
Definition at line 19 of file TRlmdEvent.cxx.
References fData.
Referenced by TRlmdEvent(), and operator=().
|
overridevirtual |
return pointer to the data buffer
Reimplemented from TRawEvent.
Definition at line 65 of file TRlmdEvent.cxx.
References fData.
|
overridevirtual |
return the event size
Reimplemented from TRawEvent.
Definition at line 60 of file TRlmdEvent.cxx.
References fData.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
returns number of good fragments parsed
Definition at line 47 of file TRawEvent.h.
References TRawEvent::fGoodFrags.
|
inlinevirtualinherited |
increments the number of good fragments parsed
Definition at line 48 of file TRawEvent.h.
References TRawEvent::fGoodFrags.
TRlmdEvent & TRlmdEvent::operator= | ( | const TRlmdEvent & | rhs | ) |
|
override |
show all event information
Print data held in this class.
[in] | option | If 'a' (for "all") then the raw data will be printed out too. |
Definition at line 71 of file TRlmdEvent.cxx.
void TRlmdEvent::SetData | ( | std::vector< char > & | buffer | ) |
set an externally allocated data buffer
Definition at line 52 of file TRlmdEvent.cxx.
References fData, and SwapBytes().
|
overridevirtual |
convert event data between little-endian (Linux-x86) and big endian (MacOS-PPC)
Reimplemented from TRawEvent.
Definition at line 91 of file TRlmdEvent.cxx.
Referenced by SetData().
|
protected |
event data buffer
Definition at line 45 of file TRlmdEvent.h.
Referenced by Clear(), Copy(), GetData(), GetDataSize(), Print(), and SetData().
|
privateinherited |
number of good fragments parsed
Definition at line 51 of file TRawEvent.h.
Referenced by TRawEvent::Clear(), TRawEvent::Copy(), TRawEvent::GoodFrags(), and TRawEvent::IncrementGoodFrags().