GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TRawEvent Class Reference

RAW event.

C++ class representing one raw event.

Definition at line 23 of file TRawEvent.h.

Public Member Functions

 TRawEvent ()
 
 TRawEvent (const TRawEvent &rhs)
 
 ~TRawEvent () override=default
 
void Clear (Option_t *="") override
 
void Copy (TObject &) const override
 
virtual char * GetData ()
 
virtual uint32_t GetDataSize () const
 
virtual uint32_t GetTimeStamp () const
 
virtual int GoodFrags ()
 
virtual void IncrementGoodFrags ()
 
virtual TRawEventoperator= (const TRawEvent &)
 
void Print (const char *="") const override
 
virtual int SwapBytes (bool)
 

Protected Attributes

int fGoodFrags {0}
 

#include <TRawEvent.h>

+ Inheritance diagram for TRawEvent:
+ Collaboration diagram for TRawEvent:

Constructor & Destructor Documentation

◆ TRawEvent() [1/2]

TRawEvent::TRawEvent ( )
inline

default constructor

Definition at line 26 of file TRawEvent.h.

◆ TRawEvent() [2/2]

TRawEvent::TRawEvent ( const TRawEvent rhs)
inline

copy constructor

Definition at line 27 of file TRawEvent.h.

◆ ~TRawEvent()

TRawEvent::~TRawEvent ( )
overridedefault

destructor

Member Function Documentation

◆ Clear()

void TRawEvent::Clear ( Option_t *  = "")
inlineoverride

clear event for reuse

Definition at line 30 of file TRawEvent.h.

◆ Copy()

void TRawEvent::Copy ( TObject &  ) const
inlineoverride

copy helper

Definition at line 31 of file TRawEvent.h.

◆ GetData()

virtual char* TRawEvent::GetData ( )
inlinevirtual

return pointer to the data buffer

Reimplemented in TMidasEvent, TTdrEvent, TRlmdEvent, and TLstEvent.

Definition at line 41 of file TRawEvent.h.

◆ GetDataSize()

virtual uint32_t TRawEvent::GetDataSize ( ) const
inlinevirtual

return the event size

Reimplemented in TMidasEvent, TTdrEvent, TRlmdEvent, and TLstEvent.

Definition at line 37 of file TRawEvent.h.

◆ GetTimeStamp()

virtual uint32_t TRawEvent::GetTimeStamp ( ) const
inlinevirtual

return the event size

Reimplemented in TMidasEvent.

Definition at line 36 of file TRawEvent.h.

◆ GoodFrags()

virtual int TRawEvent::GoodFrags ( )
inlinevirtual

returns number of good fragments parsed

Definition at line 48 of file TRawEvent.h.

References fGoodFrags.

◆ IncrementGoodFrags()

virtual void TRawEvent::IncrementGoodFrags ( )
inlinevirtual

increments the number of good fragments parsed

Definition at line 49 of file TRawEvent.h.

References fGoodFrags.

◆ operator=()

virtual TRawEvent& TRawEvent::operator= ( const TRawEvent )
inlinevirtual

assignement operator

Definition at line 29 of file TRawEvent.h.

◆ Print()

void TRawEvent::Print ( const char *  = "") const
inlineoverride

show all event information

Definition at line 32 of file TRawEvent.h.

◆ SwapBytes()

virtual int TRawEvent::SwapBytes ( bool  )
inlinevirtual

convert event data between little-endian (Linux-x86) and big endian (MacOS-PPC)

Reimplemented in TMidasEvent, TTdrEvent, TLstEvent, and TRlmdEvent.

Definition at line 43 of file TRawEvent.h.

Member Data Documentation

◆ fGoodFrags

int TRawEvent::fGoodFrags {0}
protected

number of good fragments parsed

Definition at line 52 of file TRawEvent.h.

Referenced by TMidasEvent::Clear(), GoodFrags(), and IncrementGoodFrags().