

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 |
| int | fGoodFrags {0} |
#include <TRlmdEvent.h>
Inheritance diagram for TRlmdEvent:
Collaboration diagram for TRlmdEvent:| 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 operator=(), TRlmdFile::Read(), and ~TRlmdEvent().
|
override |
copy helper
Definition at line 19 of file TRlmdEvent.cxx.
References fData.
Referenced by operator=(), and TRlmdEvent().
|
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.
Referenced by THILDataParser::Process().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
returns number of good fragments parsed
Definition at line 48 of file TRawEvent.h.
References TRawEvent::fGoodFrags.
|
inlinevirtualinherited |
increments the number of good fragments parsed
Definition at line 49 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().
|
protectedinherited |
number of good fragments parsed
Definition at line 52 of file TRawEvent.h.
Referenced by TMidasEvent::Clear(), TRawEvent::GoodFrags(), and TRawEvent::IncrementGoodFrags().