Belle II Software development
RawTrailer_v0 Class Reference

The Raw Trailer class ver.0 ( from August, 2013 to April, 2014 ) This class defines the format of the trailer of RawCOPPER class data and used for extracting trailer info from RawCOPPER object. More...

#include <RawTrailer_v0.h>

Public Types

enum  { RAWTRAILER_NWORDS = 2 }
 Get magic word. More...
 
enum  { MAGIC_WORD_TERM_TRAILER = 0x7fff0006 }
 
enum  {
  POS_CHKSUM = 0 ,
  POS_TERM_WORD = 1
}
 

Public Member Functions

 ~RawTrailer_v0 ()
 Default constructor.
 
void CheckBuffer ()
 Destructor.
 
int * GetBuffer ()
 set buffer
 
void SetBuffer (int *bufin)
 return buffer
 
void Initialize ()
 set buffer
 
void SetChksum (int chksum)
 set buffer
 
void SetMagicWord ()
 initialize header
 
int GetTrlNwords ()
 Set magic word.
 
unsigned int GetChksum ()
 Set # of trailer words.
 
int GetMagicWord ()
 initialize header
 

Private Attributes

int * m_buffer
 do not record buffer ( RawCOPPER includes buffer of RawHeader and RawTrailer_v0 )
 

Detailed Description

The Raw Trailer class ver.0 ( from August, 2013 to April, 2014 ) This class defines the format of the trailer of RawCOPPER class data and used for extracting trailer info from RawCOPPER object.

Definition at line 36 of file RawTrailer_v0.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Get magic word.

Definition at line 60 of file RawTrailer_v0.h.

60 {
61 RAWTRAILER_NWORDS = 2
62 };

◆ anonymous enum

anonymous enum

Definition at line 64 of file RawTrailer_v0.h.

64 {
65 MAGIC_WORD_TERM_TRAILER = 0x7fff0006
66 };

◆ anonymous enum

anonymous enum

Definition at line 68 of file RawTrailer_v0.h.

68 {
69 POS_CHKSUM = 0,
70 POS_TERM_WORD = 1
71 };

Constructor & Destructor Documentation

◆ RawTrailer_v0()

Definition at line 15 of file RawTrailer_v0.cc.

16{
17 m_buffer = NULL;
18}
int * m_buffer
do not record buffer ( RawCOPPER includes buffer of RawHeader and RawTrailer_v0 )
Definition: RawTrailer_v0.h:75

◆ ~RawTrailer_v0()

Default constructor.

Definition at line 20 of file RawTrailer_v0.cc.

21{
22}

Member Data Documentation

◆ m_buffer

int* m_buffer
private

do not record buffer ( RawCOPPER includes buffer of RawHeader and RawTrailer_v0 )

Definition at line 75 of file RawTrailer_v0.h.


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