![]() |
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} |
Inheritance diagram for TRlmdEvent:
Collaboration diagram for TRlmdEvent:| TRlmdEvent::TRlmdEvent | ( | ) |
| TRlmdEvent::TRlmdEvent | ( | const TRlmdEvent & | rhs | ) |
|
override |
|
override |
clear event for reuse
Definition at line 42 of file TRlmdEvent.cxx.
References fData.
Referenced by ~TRlmdEvent(), and operator=().
|
override |
copy helper
Definition at line 15 of file TRlmdEvent.cxx.
References fData.
Referenced by TRlmdEvent(), and operator=().
|
overridevirtual |
return pointer to the data buffer
Reimplemented from TRawEvent.
Definition at line 61 of file TRlmdEvent.cxx.
References fData.
|
overridevirtual |
return the event size
Reimplemented from TRawEvent.
Definition at line 56 of file TRlmdEvent.cxx.
References fData.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
returns number of good fragments parsed
Definition at line 46 of file TRawEvent.h.
References TRawEvent::fGoodFrags.
|
inlinevirtualinherited |
increments the number of good fragments parsed
Definition at line 47 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 67 of file TRlmdEvent.cxx.
| void TRlmdEvent::SetData | ( | std::vector< char > | buffer | ) |
set an externally allocated data buffer
Definition at line 48 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 87 of file TRlmdEvent.cxx.
Referenced by SetData().
|
protected |
event data buffer
Definition at line 45 of file TRlmdEvent.h.
Referenced by TRlmdEvent(), Clear(), Copy(), GetData(), GetDataSize(), Print(), and SetData().
|
privateinherited |
number of good fragments parsed
Definition at line 50 of file TRawEvent.h.
Referenced by TRawEvent::Clear(), TRawEvent::Copy(), TRawEvent::GoodFrags(), and TRawEvent::IncrementGoodFrags().