/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions | Private Attributes
DayaBay::RawRom Class Reference

Readout Module. More...

#include <RawRom.h>

Inheritance diagram for DayaBay::RawRom:
Inheritance graph
[legend]
Collaboration diagram for DayaBay::RawRom:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RawRom ()
 Default Constructor.
virtual ~RawRom ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::RawEventHeaderheader () const
 Retrieve const pointer to RawEventHeader.
void setHeader (DayaBay::RawEventHeader *value)
 Update pointer to RawEventHeader.
int size () const
 Retrieve const Total size of bytes including header.
void setSize (int value)
 Update Total size of bytes including header.
int slot () const
 Retrieve const Slot number.
void setSlot (int value)
 Update Slot number.
int type () const
 Retrieve const Module type.
void setType (int value)
 Update Module type.
int cbltGA () const
 Retrieve const VME module Geographic Address.
void setCbltGA (int value)
 Update VME module Geographic Address.
int cbltModuleType () const
 Retrieve const cble module type.
void setCbltModuleType (int value)
 Update cble module type.
int cbltDataLength () const
 Retrieve const bytes from CBLT head to foot.
void setCbltDataLength (int value)
 Update bytes from CBLT head to foot.

Static Public Member Functions

static void * operator new (size_t size)
 operator new
static void * operator new (size_t size, void *pObj)
 placement operator new it is needed by libstdc++ 3.2.3 (e.g.
static void operator delete (void *p)
 operator delete
static void operator delete (void *p, void *pObj)
 placement operator delete not sure if really needed, but it does not harm

Private Attributes

DayaBay::RawEventHeaderm_header
 pointer to RawEventHeader
int m_size
 Total size of bytes including header.
int m_slot
 Slot number.
int m_type
 Module type.
int m_cbltGA
 VME module Geographic Address.
int m_cbltModuleType
 cble module type
int m_cbltDataLength
 bytes from CBLT head to foot

Detailed Description

Readout Module.

Author:
He Miao created Thu Dec 5 17:42:34 2013

Definition at line 40 of file RawRom.h.


Constructor & Destructor Documentation

DayaBay::RawRom::RawRom ( ) [inline]

Default Constructor.

Definition at line 45 of file RawRom.h.

virtual DayaBay::RawRom::~RawRom ( ) [inline, virtual]

Default Destructor.

Definition at line 54 of file RawRom.h.

{}

Member Function Documentation

std::ostream & DayaBay::RawRom::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Reimplemented in DayaBay::RawRomFee, and DayaBay::RawRomLtb.

Definition at line 177 of file RawRom.h.

{
  s << "{ " << "header :        " << m_header << std::endl
            << "size :  " << m_size << std::endl
            << "slot :  " << m_slot << std::endl
            << "type :  " << m_type << std::endl
            << "cbltGA :        " << m_cbltGA << std::endl
            << "cbltModuleType :        " << m_cbltModuleType << std::endl
            << "cbltDataLength :        " << m_cbltDataLength << std::endl << " }";
  return s;
}
const DayaBay::RawEventHeader * DayaBay::RawRom::header ( ) const [inline]

Retrieve const pointer to RawEventHeader.

Definition at line 190 of file RawRom.h.

{
  return m_header;
}
void DayaBay::RawRom::setHeader ( DayaBay::RawEventHeader value) [inline]

Update pointer to RawEventHeader.

Definition at line 195 of file RawRom.h.

{
  m_header = value;
}
int DayaBay::RawRom::size ( ) const [inline]

Retrieve const Total size of bytes including header.

Definition at line 200 of file RawRom.h.

{
  return m_size;
}
void DayaBay::RawRom::setSize ( int  value) [inline]

Update Total size of bytes including header.

Definition at line 205 of file RawRom.h.

{
  m_size = value;
}
int DayaBay::RawRom::slot ( ) const [inline]

Retrieve const Slot number.

Definition at line 210 of file RawRom.h.

{
  return m_slot;
}
void DayaBay::RawRom::setSlot ( int  value) [inline]

Update Slot number.

Definition at line 215 of file RawRom.h.

{
  m_slot = value;
}
int DayaBay::RawRom::type ( ) const [inline]

Retrieve const Module type.

Definition at line 220 of file RawRom.h.

{
  return m_type;
}
void DayaBay::RawRom::setType ( int  value) [inline]

Update Module type.

Definition at line 225 of file RawRom.h.

{
  m_type = value;
}
int DayaBay::RawRom::cbltGA ( ) const [inline]

Retrieve const VME module Geographic Address.

Definition at line 230 of file RawRom.h.

{
  return m_cbltGA;
}
void DayaBay::RawRom::setCbltGA ( int  value) [inline]

Update VME module Geographic Address.

Definition at line 235 of file RawRom.h.

{
  m_cbltGA = value;
}
int DayaBay::RawRom::cbltModuleType ( ) const [inline]

Retrieve const cble module type.

Definition at line 240 of file RawRom.h.

{
  return m_cbltModuleType;
}
void DayaBay::RawRom::setCbltModuleType ( int  value) [inline]

Update cble module type.

Definition at line 245 of file RawRom.h.

{
  m_cbltModuleType = value;
}
int DayaBay::RawRom::cbltDataLength ( ) const [inline]

Retrieve const bytes from CBLT head to foot.

Definition at line 250 of file RawRom.h.

{
  return m_cbltDataLength;
}
void DayaBay::RawRom::setCbltDataLength ( int  value) [inline]

Update bytes from CBLT head to foot.

Definition at line 255 of file RawRom.h.

{
  m_cbltDataLength = value;
}
static void* DayaBay::RawRom::operator new ( size_t  size) [inline, static]

operator new

Reimplemented in DayaBay::RawRomFee, and DayaBay::RawRomLtb.

Definition at line 118 of file RawRom.h.

    {
      return ( sizeof(RawRom) == size ? 
               boost::singleton_pool<RawRom, sizeof(RawRom)>::malloc() :
               ::operator new(size) );
    }
static void* DayaBay::RawRom::operator new ( size_t  size,
void *  pObj 
) [inline, static]

placement operator new it is needed by libstdc++ 3.2.3 (e.g.

in std::vector) it is not needed in libstdc++ >= 3.4

Reimplemented in DayaBay::RawRomFee, and DayaBay::RawRomLtb.

Definition at line 128 of file RawRom.h.

static void DayaBay::RawRom::operator delete ( void *  p) [inline, static]

operator delete

Reimplemented in DayaBay::RawRomFee, and DayaBay::RawRomLtb.

Definition at line 134 of file RawRom.h.

    {
      boost::singleton_pool<RawRom, sizeof(RawRom)>::is_from(p) ?
      boost::singleton_pool<RawRom, sizeof(RawRom)>::free(p) :
      ::operator delete(p);
    }
static void DayaBay::RawRom::operator delete ( void *  p,
void *  pObj 
) [inline, static]

placement operator delete not sure if really needed, but it does not harm

Reimplemented in DayaBay::RawRomFee, and DayaBay::RawRomLtb.

Definition at line 143 of file RawRom.h.

    {
      ::operator delete (p, pObj);
    }

Member Data Documentation

pointer to RawEventHeader

Definition at line 152 of file RawRom.h.

int DayaBay::RawRom::m_size [private]

Total size of bytes including header.

Definition at line 153 of file RawRom.h.

int DayaBay::RawRom::m_slot [private]

Slot number.

Definition at line 154 of file RawRom.h.

int DayaBay::RawRom::m_type [private]

Module type.

Definition at line 155 of file RawRom.h.

VME module Geographic Address.

Definition at line 156 of file RawRom.h.

cble module type

Definition at line 157 of file RawRom.h.

bytes from CBLT head to foot

Definition at line 158 of file RawRom.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:59:04 for RawEvent by doxygen 1.7.4