![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
Public Member Functions | |
| TLstEvent () | |
| TLstEvent (const TLstEvent &) | |
| ~TLstEvent () override | |
| void | Clear (Option_t *opt="") override |
| void | Copy (TObject &) const override |
| char * | GetData () override |
| uint32_t | GetDataSize () const override |
| int8_t | GetLstVersion () |
| virtual uint32_t | GetTimeStamp () const |
| virtual int | GoodFrags () |
| virtual void | IncrementGoodFrags () |
| TLstEvent & | operator= (const TLstEvent &) |
| void | Print (const char *option="") const override |
| void | SetData (std::vector< char > &buffer) |
| void | SetLstVersion (int32_t version) |
| int | SwapBytes (bool) override |
Protected Attributes | |
| std::vector< char > | fData |
| int32_t | fLstVersion = 1 |
Private Attributes | |
| int | fGoodFrags {0} |
Inheritance diagram for TLstEvent:
Collaboration diagram for TLstEvent:| TLstEvent::TLstEvent | ( | ) |
| TLstEvent::TLstEvent | ( | const TLstEvent & | rhs | ) |
|
override |
|
override |
clear event for reuse
Definition at line 42 of file TLstEvent.cxx.
References fData.
Referenced by ~TLstEvent(), and operator=().
|
override |
copy helper
Definition at line 15 of file TLstEvent.cxx.
References fData.
Referenced by TLstEvent(), and operator=().
|
overridevirtual |
return pointer to the data buffer
Reimplemented from TRawEvent.
Definition at line 61 of file TLstEvent.cxx.
References fData.
|
overridevirtual |
return the event size
Reimplemented from TRawEvent.
Definition at line 56 of file TLstEvent.cxx.
References fData.
|
inline |
Definition at line 42 of file TLstEvent.h.
References fLstVersion.
|
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.
|
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 TLstEvent.cxx.
| void TLstEvent::SetData | ( | std::vector< char > & | buffer | ) |
set an externally allocated data buffer
Definition at line 48 of file TLstEvent.cxx.
References fData, and SwapBytes().
|
inline |
Definition at line 41 of file TLstEvent.h.
References fLstVersion.
|
overridevirtual |
convert event data between little-endian (Linux-x86) and big endian (MacOS-PPC)
Reimplemented from TRawEvent.
Definition at line 131 of file TLstEvent.cxx.
Referenced by SetData().
|
protected |
event data buffer
Definition at line 47 of file TLstEvent.h.
Referenced by TLstEvent(), 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().
|
protected |
Lst version.
Definition at line 48 of file TLstEvent.h.
Referenced by GetLstVersion(), and SetLstVersion().