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

Ltb frame. More...

#include <RawLtbFrame.h>

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

List of all members.

Public Member Functions

 RawLtbFrame ()
 Default Constructor.
virtual ~RawLtbFrame ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
bool accStat () const
 Retrieve const Accumulation status.
void setAccStat (bool value)
 Update Accumulation status.
bool gpsValid () const
 Retrieve const GPS valid.
void setGPSValid (bool value)
 Update GPS valid.
bool timestampType () const
 Retrieve const Timestamp type 1: UTC, 0: UNIX.
void setTimestampType (bool value)
 Update Timestamp type 1: UTC, 0: UNIX.
bool clockSystemValid () const
 Retrieve const Clock system valid.
void setClockSystemValid (bool value)
 Update Clock system valid.
int iltSn () const
 Retrieve const Raw trigger sequence number.
void setIltSn (int value)
 Update Raw trigger sequence number.
int rot () const
 Retrieve const Read Out Type.
void setRot (int value)
 Update Read Out Type.
int triggerSrc () const
 Retrieve const status of 16 trigger sources.
void setTriggerSrc (int value)
 Update status of 16 trigger sources.
int nanoSecondLow () const
 Retrieve const NanoSecond low 4bit.
void setNanoSecondLow (int value)
 Update NanoSecond low 4bit.
int nanoSecondHigh () const
 Retrieve const NanoSecond high 28bit.
void setNanoSecondHigh (int value)
 Update NanoSecond high 28bit.
int accumulationLow () const
 Retrieve const Accumulation low 4bit.
void setAccumulationLow (int value)
 Update Accumulation low 4bit.
int accumulationHigh () const
 Retrieve const Accumulation high 28bit.
void setAccumulationHigh (int value)
 Update Accumulation high 28bit.
int hsum () const
 Retrieve const Sum of hits.
void setHsum (int value)
 Update Sum of hits.
int esumComp () const
 Retrieve const esumComp.
void setEsumComp (int value)
 Update esumComp.
int esumADC () const
 Retrieve const esumADC.
void setEsumADC (int value)
 Update esumADC.
int blockedValidTrigger () const
 Retrieve const the number of local trigger which is blocked by buffer full between two packeged local trigger.
void setBlockedValidTrigger (int value)
 Update the number of local trigger which is blocked by buffer full between two packeged local trigger.
int crossTriggerSrc () const
 Retrieve const crossTriggerSrc.
void setCrossTriggerSrc (int value)
 Update crossTriggerSrc.
bool feeBufferStat () const
 Retrieve const FEE buffer status.
void setFeeBufferStat (bool value)
 Update FEE buffer status.
bool ltbBufferStat () const
 Retrieve const LTB buffer status.
void setLtbBufferStat (bool value)
 Update LTB buffer status.
const TimeStamptimestamp () const
 Retrieve const Timestamp.
void setTimestamp (const TimeStamp &value)
 Update Timestamp.

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

bool m_accStat
 Accumulation status.
bool m_GPSValid
 GPS valid.
bool m_timestampType
 Timestamp type 1: UTC, 0: UNIX.
bool m_clockSystemValid
 Clock system valid.
int m_iltSn
 Raw trigger sequence number.
int m_rot
 Read Out Type.
int m_triggerSrc
 status of 16 trigger sources
int m_nanoSecondLow
 NanoSecond low 4bit.
int m_nanoSecondHigh
 NanoSecond high 28bit.
int m_accumulationLow
 Accumulation low 4bit.
int m_accumulationHigh
 Accumulation high 28bit.
int m_hsum
 Sum of hits.
int m_esumComp
 esumComp
int m_esumADC
 esumADC
int m_blockedValidTrigger
 the number of local trigger which is blocked by buffer full between two packeged local trigger
int m_crossTriggerSrc
 crossTriggerSrc
bool m_feeBufferStat
 FEE buffer status.
bool m_ltbBufferStat
 LTB buffer status.
TimeStamp m_timestamp
 Timestamp.

Detailed Description

Ltb frame.

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

Definition at line 39 of file RawLtbFrame.h.


Constructor & Destructor Documentation

DayaBay::RawLtbFrame::RawLtbFrame ( ) [inline]

Default Constructor.

Definition at line 44 of file RawLtbFrame.h.

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

Default Destructor.

Definition at line 65 of file RawLtbFrame.h.

{}

Member Function Documentation

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

Fill the ASCII output stream.

Reimplemented in DayaBay::RawLtbFrameUnix, and DayaBay::RawLtbFrameUTC.

Definition at line 294 of file RawLtbFrame.h.

{
  char l_accStat = (m_accStat) ? 'T' : 'F';
  char l_GPSValid = (m_GPSValid) ? 'T' : 'F';
  char l_timestampType = (m_timestampType) ? 'T' : 'F';
  char l_clockSystemValid = (m_clockSystemValid) ? 'T' : 'F';
  char l_feeBufferStat = (m_feeBufferStat) ? 'T' : 'F';
  char l_ltbBufferStat = (m_ltbBufferStat) ? 'T' : 'F';
  s << "{ " << "accStat :       " << l_accStat << std::endl
            << "GPSValid :      " << l_GPSValid << std::endl
            << "timestampType : " << l_timestampType << std::endl
            << "clockSystemValid :      " << l_clockSystemValid << std::endl
            << "iltSn : " << m_iltSn << std::endl
            << "rot :   " << m_rot << std::endl
            << "triggerSrc :    " << m_triggerSrc << std::endl
            << "nanoSecondLow : " << m_nanoSecondLow << std::endl
            << "nanoSecondHigh :        " << m_nanoSecondHigh << std::endl
            << "accumulationLow :       " << m_accumulationLow << std::endl
            << "accumulationHigh :      " << m_accumulationHigh << std::endl
            << "hsum :  " << m_hsum << std::endl
            << "esumComp :      " << m_esumComp << std::endl
            << "esumADC :       " << m_esumADC << std::endl
            << "blockedValidTrigger :   " << m_blockedValidTrigger << std::endl
            << "crossTriggerSrc :       " << m_crossTriggerSrc << std::endl
            << "feeBufferStat : " << l_feeBufferStat << std::endl
            << "ltbBufferStat : " << l_ltbBufferStat << std::endl
            << "timestamp :     " << m_timestamp << std::endl << " }";
  return s;
}
bool DayaBay::RawLtbFrame::accStat ( ) const [inline]

Retrieve const Accumulation status.

Definition at line 325 of file RawLtbFrame.h.

{
  return m_accStat;
}
void DayaBay::RawLtbFrame::setAccStat ( bool  value) [inline]

Update Accumulation status.

Definition at line 330 of file RawLtbFrame.h.

{
  m_accStat = value;
}
bool DayaBay::RawLtbFrame::gpsValid ( ) const [inline]

Retrieve const GPS valid.

Definition at line 335 of file RawLtbFrame.h.

{
  return m_GPSValid;
}
void DayaBay::RawLtbFrame::setGPSValid ( bool  value) [inline]

Update GPS valid.

Definition at line 340 of file RawLtbFrame.h.

{
  m_GPSValid = value;
}
bool DayaBay::RawLtbFrame::timestampType ( ) const [inline]

Retrieve const Timestamp type 1: UTC, 0: UNIX.

Definition at line 345 of file RawLtbFrame.h.

{
  return m_timestampType;
}
void DayaBay::RawLtbFrame::setTimestampType ( bool  value) [inline]

Update Timestamp type 1: UTC, 0: UNIX.

Definition at line 350 of file RawLtbFrame.h.

{
  m_timestampType = value;
}
bool DayaBay::RawLtbFrame::clockSystemValid ( ) const [inline]

Retrieve const Clock system valid.

Definition at line 355 of file RawLtbFrame.h.

{
  return m_clockSystemValid;
}
void DayaBay::RawLtbFrame::setClockSystemValid ( bool  value) [inline]

Update Clock system valid.

Definition at line 360 of file RawLtbFrame.h.

{
  m_clockSystemValid = value;
}
int DayaBay::RawLtbFrame::iltSn ( ) const [inline]

Retrieve const Raw trigger sequence number.

Definition at line 365 of file RawLtbFrame.h.

{
  return m_iltSn;
}
void DayaBay::RawLtbFrame::setIltSn ( int  value) [inline]

Update Raw trigger sequence number.

Definition at line 370 of file RawLtbFrame.h.

{
  m_iltSn = value;
}
int DayaBay::RawLtbFrame::rot ( ) const [inline]

Retrieve const Read Out Type.

Definition at line 375 of file RawLtbFrame.h.

{
  return m_rot;
}
void DayaBay::RawLtbFrame::setRot ( int  value) [inline]

Update Read Out Type.

Definition at line 380 of file RawLtbFrame.h.

{
  m_rot = value;
}
int DayaBay::RawLtbFrame::triggerSrc ( ) const [inline]

Retrieve const status of 16 trigger sources.

Definition at line 385 of file RawLtbFrame.h.

{
  return m_triggerSrc;
}
void DayaBay::RawLtbFrame::setTriggerSrc ( int  value) [inline]

Update status of 16 trigger sources.

Definition at line 390 of file RawLtbFrame.h.

{
  m_triggerSrc = value;
}
int DayaBay::RawLtbFrame::nanoSecondLow ( ) const [inline]

Retrieve const NanoSecond low 4bit.

Definition at line 395 of file RawLtbFrame.h.

{
  return m_nanoSecondLow;
}
void DayaBay::RawLtbFrame::setNanoSecondLow ( int  value) [inline]

Update NanoSecond low 4bit.

Definition at line 400 of file RawLtbFrame.h.

{
  m_nanoSecondLow = value;
}
int DayaBay::RawLtbFrame::nanoSecondHigh ( ) const [inline]

Retrieve const NanoSecond high 28bit.

Definition at line 405 of file RawLtbFrame.h.

{
  return m_nanoSecondHigh;
}
void DayaBay::RawLtbFrame::setNanoSecondHigh ( int  value) [inline]

Update NanoSecond high 28bit.

Definition at line 410 of file RawLtbFrame.h.

{
  m_nanoSecondHigh = value;
}
int DayaBay::RawLtbFrame::accumulationLow ( ) const [inline]

Retrieve const Accumulation low 4bit.

Definition at line 415 of file RawLtbFrame.h.

{
  return m_accumulationLow;
}
void DayaBay::RawLtbFrame::setAccumulationLow ( int  value) [inline]

Update Accumulation low 4bit.

Definition at line 420 of file RawLtbFrame.h.

{
  m_accumulationLow = value;
}
int DayaBay::RawLtbFrame::accumulationHigh ( ) const [inline]

Retrieve const Accumulation high 28bit.

Definition at line 425 of file RawLtbFrame.h.

{
  return m_accumulationHigh;
}
void DayaBay::RawLtbFrame::setAccumulationHigh ( int  value) [inline]

Update Accumulation high 28bit.

Definition at line 430 of file RawLtbFrame.h.

{
  m_accumulationHigh = value;
}
int DayaBay::RawLtbFrame::hsum ( ) const [inline]

Retrieve const Sum of hits.

Definition at line 435 of file RawLtbFrame.h.

{
  return m_hsum;
}
void DayaBay::RawLtbFrame::setHsum ( int  value) [inline]

Update Sum of hits.

Definition at line 440 of file RawLtbFrame.h.

{
  m_hsum = value;
}
int DayaBay::RawLtbFrame::esumComp ( ) const [inline]

Retrieve const esumComp.

Definition at line 445 of file RawLtbFrame.h.

{
  return m_esumComp;
}
void DayaBay::RawLtbFrame::setEsumComp ( int  value) [inline]

Update esumComp.

Definition at line 450 of file RawLtbFrame.h.

{
  m_esumComp = value;
}
int DayaBay::RawLtbFrame::esumADC ( ) const [inline]

Retrieve const esumADC.

Definition at line 455 of file RawLtbFrame.h.

{
  return m_esumADC;
}
void DayaBay::RawLtbFrame::setEsumADC ( int  value) [inline]

Update esumADC.

Definition at line 460 of file RawLtbFrame.h.

{
  m_esumADC = value;
}
int DayaBay::RawLtbFrame::blockedValidTrigger ( ) const [inline]

Retrieve const the number of local trigger which is blocked by buffer full between two packeged local trigger.

Definition at line 465 of file RawLtbFrame.h.

void DayaBay::RawLtbFrame::setBlockedValidTrigger ( int  value) [inline]

Update the number of local trigger which is blocked by buffer full between two packeged local trigger.

Definition at line 470 of file RawLtbFrame.h.

{
  m_blockedValidTrigger = value;
}
int DayaBay::RawLtbFrame::crossTriggerSrc ( ) const [inline]

Retrieve const crossTriggerSrc.

Definition at line 475 of file RawLtbFrame.h.

{
  return m_crossTriggerSrc;
}
void DayaBay::RawLtbFrame::setCrossTriggerSrc ( int  value) [inline]

Update crossTriggerSrc.

Definition at line 480 of file RawLtbFrame.h.

{
  m_crossTriggerSrc = value;
}
bool DayaBay::RawLtbFrame::feeBufferStat ( ) const [inline]

Retrieve const FEE buffer status.

Definition at line 485 of file RawLtbFrame.h.

{
  return m_feeBufferStat;
}
void DayaBay::RawLtbFrame::setFeeBufferStat ( bool  value) [inline]

Update FEE buffer status.

Definition at line 490 of file RawLtbFrame.h.

{
  m_feeBufferStat = value;
}
bool DayaBay::RawLtbFrame::ltbBufferStat ( ) const [inline]

Retrieve const LTB buffer status.

Definition at line 495 of file RawLtbFrame.h.

{
  return m_ltbBufferStat;
}
void DayaBay::RawLtbFrame::setLtbBufferStat ( bool  value) [inline]

Update LTB buffer status.

Definition at line 500 of file RawLtbFrame.h.

{
  m_ltbBufferStat = value;
}
const TimeStamp & DayaBay::RawLtbFrame::timestamp ( ) const [inline]

Retrieve const Timestamp.

Definition at line 505 of file RawLtbFrame.h.

{
  return m_timestamp;
}
void DayaBay::RawLtbFrame::setTimestamp ( const TimeStamp value) [inline]

Update Timestamp.

Definition at line 510 of file RawLtbFrame.h.

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

operator new

Reimplemented in DayaBay::RawLtbFrameUnix, and DayaBay::RawLtbFrameUTC.

Definition at line 225 of file RawLtbFrame.h.

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

Definition at line 235 of file RawLtbFrame.h.

    {
      return ::operator new (size,pObj);
    }
static void DayaBay::RawLtbFrame::operator delete ( void *  p) [inline, static]

operator delete

Reimplemented in DayaBay::RawLtbFrameUnix, and DayaBay::RawLtbFrameUTC.

Definition at line 241 of file RawLtbFrame.h.

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

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

Reimplemented in DayaBay::RawLtbFrameUnix, and DayaBay::RawLtbFrameUTC.

Definition at line 250 of file RawLtbFrame.h.

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

Member Data Documentation

Accumulation status.

Definition at line 259 of file RawLtbFrame.h.

GPS valid.

Definition at line 260 of file RawLtbFrame.h.

Timestamp type 1: UTC, 0: UNIX.

Definition at line 261 of file RawLtbFrame.h.

Clock system valid.

Definition at line 262 of file RawLtbFrame.h.

Raw trigger sequence number.

Definition at line 263 of file RawLtbFrame.h.

Read Out Type.

Definition at line 264 of file RawLtbFrame.h.

status of 16 trigger sources

Definition at line 265 of file RawLtbFrame.h.

NanoSecond low 4bit.

Definition at line 266 of file RawLtbFrame.h.

NanoSecond high 28bit.

Definition at line 267 of file RawLtbFrame.h.

Accumulation low 4bit.

Definition at line 268 of file RawLtbFrame.h.

Accumulation high 28bit.

Definition at line 269 of file RawLtbFrame.h.

Sum of hits.

Definition at line 270 of file RawLtbFrame.h.

esumComp

Definition at line 271 of file RawLtbFrame.h.

esumADC

Definition at line 272 of file RawLtbFrame.h.

the number of local trigger which is blocked by buffer full between two packeged local trigger

Definition at line 273 of file RawLtbFrame.h.

crossTriggerSrc

Definition at line 274 of file RawLtbFrame.h.

FEE buffer status.

Definition at line 275 of file RawLtbFrame.h.

LTB buffer status.

Definition at line 276 of file RawLtbFrame.h.

Timestamp.

Definition at line 277 of file RawLtbFrame.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