/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::RawRomFee Class Reference

Readout Fee. More...

#include <RawRomFee.h>

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

List of all members.

Public Member Functions

 RawRomFee ()
 Default Constructor.
 ~RawRomFee ()
 destructor
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
int triggerNum () const
 Retrieve const 8-bit loop integers from 0.
void setTriggerNum (int value)
 Update 8-bit loop integers from 0.
int triggerType () const
 Retrieve const local:0000, cross:0001.
void setTriggerType (int value)
 Update local:0000, cross:0001.
int version () const
 Retrieve const data format version.
void setVersion (int value)
 Update data format version.
int status () const
 Retrieve const Status.
void setStatus (int value)
 Update Status.
int dataLength () const
 Retrieve const bytes from data head to foot.
void setDataLength (int value)
 Update bytes from data head to foot.
const std::vector
< DayaBay::RawPmtChannel * > & 
channels () const
 Retrieve const PMT channels.
void setChannels (const std::vector< DayaBay::RawPmtChannel * > &value)
 Update PMT channels.
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

int m_triggerNum
 8-bit loop integers from 0
int m_triggerType
 local:0000, cross:0001
int m_version
 data format version
int m_status
 Status.
int m_dataLength
 bytes from data head to foot
std::vector
< DayaBay::RawPmtChannel * > 
m_channels
 PMT channels.

Detailed Description

Readout Fee.

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

Definition at line 43 of file RawRomFee.h.


Constructor & Destructor Documentation

DayaBay::RawRomFee::RawRomFee ( ) [inline]

Default Constructor.

Definition at line 48 of file RawRomFee.h.

DayaBay::RawRomFee::~RawRomFee ( ) [inline]

destructor

Definition at line 170 of file RawRomFee.h.

{

    for(unsigned int i=0; i<m_channels.size(); i++) {
      delete m_channels[i];
    }
    m_channels.clear();
        
}

Member Function Documentation

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

Fill the ASCII output stream.

Reimplemented from DayaBay::RawRom.

Definition at line 180 of file RawRomFee.h.

{
  RawRom::fillStream(s);
  s << "{ " << "triggerNum :    " << m_triggerNum << std::endl
            << "triggerType :   " << m_triggerType << std::endl
            << "version :       " << m_version << std::endl
            << "status :        " << m_status << std::endl
            << "dataLength :    " << m_dataLength << std::endl
            << "channels :      " << m_channels << std::endl << " }";
  return s;
}
int DayaBay::RawRomFee::triggerNum ( ) const [inline]

Retrieve const 8-bit loop integers from 0.

Definition at line 193 of file RawRomFee.h.

{
  return m_triggerNum;
}
void DayaBay::RawRomFee::setTriggerNum ( int  value) [inline]

Update 8-bit loop integers from 0.

Definition at line 198 of file RawRomFee.h.

{
  m_triggerNum = value;
}
int DayaBay::RawRomFee::triggerType ( ) const [inline]

Retrieve const local:0000, cross:0001.

Definition at line 203 of file RawRomFee.h.

{
  return m_triggerType;
}
void DayaBay::RawRomFee::setTriggerType ( int  value) [inline]

Update local:0000, cross:0001.

Definition at line 208 of file RawRomFee.h.

{
  m_triggerType = value;
}
int DayaBay::RawRomFee::version ( ) const [inline]

Retrieve const data format version.

Definition at line 213 of file RawRomFee.h.

{
  return m_version;
}
void DayaBay::RawRomFee::setVersion ( int  value) [inline]

Update data format version.

Definition at line 218 of file RawRomFee.h.

{
  m_version = value;
}
int DayaBay::RawRomFee::status ( ) const [inline]

Retrieve const Status.

Definition at line 223 of file RawRomFee.h.

{
  return m_status;
}
void DayaBay::RawRomFee::setStatus ( int  value) [inline]

Update Status.

Definition at line 228 of file RawRomFee.h.

{
  m_status = value;
}
int DayaBay::RawRomFee::dataLength ( ) const [inline]

Retrieve const bytes from data head to foot.

Definition at line 233 of file RawRomFee.h.

{
  return m_dataLength;
}
void DayaBay::RawRomFee::setDataLength ( int  value) [inline]

Update bytes from data head to foot.

Definition at line 238 of file RawRomFee.h.

{
  m_dataLength = value;
}
const std::vector< DayaBay::RawPmtChannel * > & DayaBay::RawRomFee::channels ( ) const [inline]

Retrieve const PMT channels.

Definition at line 243 of file RawRomFee.h.

{
  return m_channels;
}
void DayaBay::RawRomFee::setChannels ( const std::vector< DayaBay::RawPmtChannel * > &  value) [inline]

Update PMT channels.

Definition at line 248 of file RawRomFee.h.

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

operator new

Reimplemented from DayaBay::RawRom.

Definition at line 112 of file RawRomFee.h.

    {
      return ( sizeof(RawRomFee) == size ? 
               boost::singleton_pool<RawRomFee, sizeof(RawRomFee)>::malloc() :
               ::operator new(size) );
    }
static void* DayaBay::RawRomFee::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 from DayaBay::RawRom.

Definition at line 122 of file RawRomFee.h.

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

operator delete

Reimplemented from DayaBay::RawRom.

Definition at line 128 of file RawRomFee.h.

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

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

Reimplemented from DayaBay::RawRom.

Definition at line 137 of file RawRomFee.h.

    {
      ::operator delete (p, pObj);
    }
const DayaBay::RawEventHeader * DayaBay::RawRom::header ( ) const [inline, inherited]

Retrieve const pointer to RawEventHeader.

Definition at line 190 of file RawRom.h.

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

Update pointer to RawEventHeader.

Definition at line 195 of file RawRom.h.

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

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, inherited]

Update Total size of bytes including header.

Definition at line 205 of file RawRom.h.

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

Retrieve const Slot number.

Definition at line 210 of file RawRom.h.

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

Update Slot number.

Definition at line 215 of file RawRom.h.

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

Retrieve const Module type.

Definition at line 220 of file RawRom.h.

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

Update Module type.

Definition at line 225 of file RawRom.h.

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

Retrieve const VME module Geographic Address.

Definition at line 230 of file RawRom.h.

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

Update VME module Geographic Address.

Definition at line 235 of file RawRom.h.

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

Retrieve const cble module type.

Definition at line 240 of file RawRom.h.

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

Update cble module type.

Definition at line 245 of file RawRom.h.

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

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, inherited]

Update bytes from CBLT head to foot.

Definition at line 255 of file RawRom.h.

{
  m_cbltDataLength = value;
}

Member Data Documentation

8-bit loop integers from 0

Definition at line 146 of file RawRomFee.h.

local:0000, cross:0001

Definition at line 147 of file RawRomFee.h.

data format version

Definition at line 148 of file RawRomFee.h.

Status.

Definition at line 149 of file RawRomFee.h.

bytes from data head to foot

Definition at line 150 of file RawRomFee.h.

PMT channels.

Definition at line 151 of file RawRomFee.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