GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
TRawEvent Class Reference

Class holding a single event. More...

#include <TRawEvent.h>

Inheritance diagram for TRawEvent:
TGEBEvent TNSCLEvent TNSCLScaler

Classes

struct  __attribute__
struct  EVTHeader
struct  GEBHeader
struct  GEBMode3Data
struct  GEBMode3Head
struct  GEBS800Header
struct  M_QDC_Data
struct  M_TDC_Data
struct  Mesy_EOE
struct  Mesy_ETS
struct  Mesy_FILL
struct  Mesy_Header
struct  Mesy_Word
struct  RawHeader
struct  S800FPCRDCPacket
struct  S800FPICPacket
struct  S800SCINTPacket
struct  S800TOFPacket
struct  S800TriggerPacket
struct  TNSCLFragmentHeader

Public Member Functions

struct TRawEvent::Mesy_Word __attribute__ ((__packed__))
struct TRawEvent::Mesy_Header __attribute__ ((__packed__))
struct TRawEvent::Mesy_ETS __attribute__ ((__packed__))
struct TRawEvent::Mesy_FILL __attribute__ ((__packed__))
struct TRawEvent::Mesy_EOE __attribute__ ((__packed__))
struct TRawEvent::M_QDC_Data __attribute__ ((__packed__))
struct TRawEvent::M_TDC_Data __attribute__ ((__packed__))
struct TRawEvent::GEBMode3Head __attribute__ ((__packed__))
struct TRawEvent::GEBMode3Data __attribute__ ((__packed__))
struct TRawEvent::GEBS800Header __attribute__ ((__packed__))
struct TRawEvent::S800TriggerPacket __attribute__ ((__packed__))
struct TRawEvent::S800TOFPacket __attribute__ ((__packed__))
struct TRawEvent::S800SCINTPacket __attribute__ ((__packed__))
struct TRawEvent::S800FPICPacket __attribute__ ((__packed__))
struct TRawEvent::S800FPCRDCPacket __attribute__ ((__packed__))
struct TRawEvent::RawHeader __attribute__ ((__packed__)) RawHeader
TRawEvent::GEBHeader RawHeader __attribute__ ((__packed__)) GEBHeader
TRawEvent::EVTHeader RawHeader __attribute__ ((__packed__)) EVTHeader
struct
TRawEvent::TNSCLFragmentHeader 
__attribute__ ((__packed__)) TNSCLFragmentHeader
 TRawEvent ()
 Constructs an empty TRawEvent.
 TRawEvent (const TRawEvent &)
 Copy constructor.
virtual ~TRawEvent ()
TRawEventoperator= (const TRawEvent &)
virtual void Clear (Option_t *opt="")
virtual Int_t Compare (const TObject &) const
virtual void Copy (TObject &) const
virtual void Print (Option_t *opt="") const
RawHeaderGetRawHeader ()
const char * GetBody () const
TSmartBufferGetBuffer ()
void SetData (TSmartBuffer body)
bool IsGoodSize () const
void SetFileType (kFileType type)
kFileType GetFileType ()
Int_t GetEventType () const
Int_t GetTotalSize () const
Int_t GetBodySize () const
Long_t GetTimestamp () const
void SetFragmentTimestamp (long timestamp)

Static Public Member Functions

static UShort_t SwapShort (UShort_t datum)
static void SwapMode3Head (GEBMode3Head &head)
static void SwapMode3Data (GEBMode3Data &data)
static Int_t GetS800Channel (UShort_t input)
static Int_t GetS800Value (UShort_t input)

Public Attributes

typedef __attribute__

Protected Attributes

RawHeader fEventHeader
kFileType fFileType
long fTimestamp
TSmartBuffer fBody

Friends

std::ostream & operator<< (std::ostream &os, const GEBInteractionPoint &fSeg)
std::ostream & operator<< (std::ostream &os, const GEBBankType1 &bank)
std::ostream & operator<< (std::ostream &os, const GEBMode3Head &head)
std::ostream & operator<< (std::ostream &os, const GEBMode3Data &data)
std::ostream & operator<< (std::ostream &os, const GEBS800Header &head)
std::ostream & operator<< (std::ostream &os, const S800TriggerPacket &pack)
std::ostream & operator<< (std::ostream &os, const S800TOFPacket &tof)
std::ostream & operator<< (std::ostream &os, const PWHit &hit)
std::ostream & operator<< (std::ostream &os, const PWBank &bank)
std::ostream & operator<< (std::ostream &os, const LaBrSeg &hit)
std::ostream & operator<< (std::ostream &os, const LaBrBank &bank)
std::ostream & operator<< (std::ostream &os, const RawHeader &head)
std::ostream & operator<< (std::ostream &os, const TNSCLFragmentHeader &head)

Detailed Description

Class holding a single event.

Constructor & Destructor Documentation

TRawEvent::TRawEvent ( )

Constructs an empty TRawEvent.

TRawEvent::TRawEvent ( const TRawEvent rhs)

Copy constructor.

TRawEvent::~TRawEvent ( )
virtual

Member Function Documentation

struct TRawEvent::Mesy_ETS TRawEvent::__attribute__ ( (__packed__)  )
struct TRawEvent::Mesy_EOE TRawEvent::__attribute__ ( (__packed__)  )
void TRawEvent::Clear ( Option_t *  opt = "")
virtual

Reimplemented in TGEBEvent.

Int_t TRawEvent::Compare ( const TObject &  rhs) const
virtual
void TRawEvent::Copy ( TObject &  rhs) const
virtual
const char * TRawEvent::GetBody ( ) const
Int_t TRawEvent::GetBodySize ( ) const
TSmartBuffer& TRawEvent::GetBuffer ( )
inline
Int_t TRawEvent::GetEventType ( ) const
kFileType TRawEvent::GetFileType ( )
inline
TRawEvent::RawHeader * TRawEvent::GetRawHeader ( )
static Int_t TRawEvent::GetS800Channel ( UShort_t  input)
inlinestatic
static Int_t TRawEvent::GetS800Value ( UShort_t  input)
inlinestatic
Long_t TRawEvent::GetTimestamp ( ) const

Reimplemented in TNSCLEvent, and TGEBEvent.

Int_t TRawEvent::GetTotalSize ( ) const
bool TRawEvent::IsGoodSize ( ) const
TRawEvent & TRawEvent::operator= ( const TRawEvent rhs)
void TRawEvent::Print ( Option_t *  opt = "") const
virtual

Reimplemented in TGEBEvent.

void TRawEvent::SetData ( TSmartBuffer  body)
void TRawEvent::SetFileType ( kFileType  type)
inline
void TRawEvent::SetFragmentTimestamp ( long  timestamp)
inline
void TRawEvent::SwapMode3Data ( TRawEvent::GEBMode3Data data)
static
void TRawEvent::SwapMode3Head ( TRawEvent::GEBMode3Head head)
static
UShort_t TRawEvent::SwapShort ( UShort_t  datum)
static

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const GEBInteractionPoint &  fSeg 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const GEBBankType1 &  bank 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const GEBMode3Head head 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const GEBMode3Data data 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const GEBS800Header head 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const S800TriggerPacket pack 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const S800TOFPacket tof 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const PWHit &  hit 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const PWBank &  bank 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const LaBrSeg &  hit 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const LaBrBank &  bank 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const RawHeader head 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const TNSCLFragmentHeader head 
)
friend

Member Data Documentation

TSmartBuffer TRawEvent::fBody
protected
RawHeader TRawEvent::fEventHeader
protected
kFileType TRawEvent::fFileType
protected
long TRawEvent::fTimestamp
protected

The documentation for this class was generated from the following files: