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

Ltb frame UTC format. More...

#include <RawLtbFrameUTC.h>

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

List of all members.

Public Member Functions

 RawLtbFrameUTC ()
 Default Constructor.
virtual ~RawLtbFrameUTC ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
int day () const
 Retrieve const the number of day from Jan 1 of current year in binary code.
void setDay (int value)
 Update the number of day from Jan 1 of current year in binary code.
int hour () const
 Retrieve const the hour of current day in BCD code.
void setHour (int value)
 Update the hour of current day in BCD code.
int minute () const
 Retrieve const the minute of current hour in BCD code.
void setMinute (int value)
 Update the minute of current hour in BCD code.
int second () const
 Retrieve const the second of current minute in BCD code.
void setSecond (int value)
 Update the second of current minute in BCD code.
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

int m_day
 the number of day from Jan 1 of current year in binary code
int m_hour
 the hour of current day in BCD code
int m_minute
 the minute of current hour in BCD code
int m_second
 the second of current minute in BCD code

Detailed Description

Ltb frame UTC format.

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

Definition at line 40 of file RawLtbFrameUTC.h.


Constructor & Destructor Documentation

DayaBay::RawLtbFrameUTC::RawLtbFrameUTC ( ) [inline]

Default Constructor.

Definition at line 45 of file RawLtbFrameUTC.h.

                     : m_day(0),
                       m_hour(0),
                       m_minute(0),
                       m_second(0) {}
virtual DayaBay::RawLtbFrameUTC::~RawLtbFrameUTC ( ) [inline, virtual]

Default Destructor.

Definition at line 51 of file RawLtbFrameUTC.h.

{}

Member Function Documentation

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

Fill the ASCII output stream.

Reimplemented from DayaBay::RawLtbFrame.

Definition at line 145 of file RawLtbFrameUTC.h.

{
  RawLtbFrame::fillStream(s);
  s << "{ " << "day :   " << m_day << std::endl
            << "hour :  " << m_hour << std::endl
            << "minute :        " << m_minute << std::endl
            << "second :        " << m_second << std::endl << " }";
  return s;
}
int DayaBay::RawLtbFrameUTC::day ( ) const [inline]

Retrieve const the number of day from Jan 1 of current year in binary code.

Definition at line 156 of file RawLtbFrameUTC.h.

{
  return m_day;
}
void DayaBay::RawLtbFrameUTC::setDay ( int  value) [inline]

Update the number of day from Jan 1 of current year in binary code.

Definition at line 161 of file RawLtbFrameUTC.h.

{
  m_day = value;
}
int DayaBay::RawLtbFrameUTC::hour ( ) const [inline]

Retrieve const the hour of current day in BCD code.

Definition at line 166 of file RawLtbFrameUTC.h.

{
  return m_hour;
}
void DayaBay::RawLtbFrameUTC::setHour ( int  value) [inline]

Update the hour of current day in BCD code.

Definition at line 171 of file RawLtbFrameUTC.h.

{
  m_hour = value;
}
int DayaBay::RawLtbFrameUTC::minute ( ) const [inline]

Retrieve const the minute of current hour in BCD code.

Definition at line 176 of file RawLtbFrameUTC.h.

{
  return m_minute;
}
void DayaBay::RawLtbFrameUTC::setMinute ( int  value) [inline]

Update the minute of current hour in BCD code.

Definition at line 181 of file RawLtbFrameUTC.h.

{
  m_minute = value;
}
int DayaBay::RawLtbFrameUTC::second ( ) const [inline]

Retrieve const the second of current minute in BCD code.

Definition at line 186 of file RawLtbFrameUTC.h.

{
  return m_second;
}
void DayaBay::RawLtbFrameUTC::setSecond ( int  value) [inline]

Update the second of current minute in BCD code.

Definition at line 191 of file RawLtbFrameUTC.h.

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

operator new

Reimplemented from DayaBay::RawLtbFrame.

Definition at line 91 of file RawLtbFrameUTC.h.

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

Definition at line 101 of file RawLtbFrameUTC.h.

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

operator delete

Reimplemented from DayaBay::RawLtbFrame.

Definition at line 107 of file RawLtbFrameUTC.h.

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

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

Reimplemented from DayaBay::RawLtbFrame.

Definition at line 116 of file RawLtbFrameUTC.h.

    {
      ::operator delete (p, pObj);
    }
bool DayaBay::RawLtbFrame::accStat ( ) const [inline, inherited]

Retrieve const Accumulation status.

Definition at line 325 of file RawLtbFrame.h.

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

Update Accumulation status.

Definition at line 330 of file RawLtbFrame.h.

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

Retrieve const GPS valid.

Definition at line 335 of file RawLtbFrame.h.

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

Update GPS valid.

Definition at line 340 of file RawLtbFrame.h.

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

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

Update Timestamp type 1: UTC, 0: UNIX.

Definition at line 350 of file RawLtbFrame.h.

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

Retrieve const Clock system valid.

Definition at line 355 of file RawLtbFrame.h.

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

Update Clock system valid.

Definition at line 360 of file RawLtbFrame.h.

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

Retrieve const Raw trigger sequence number.

Definition at line 365 of file RawLtbFrame.h.

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

Update Raw trigger sequence number.

Definition at line 370 of file RawLtbFrame.h.

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

Retrieve const Read Out Type.

Definition at line 375 of file RawLtbFrame.h.

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

Update Read Out Type.

Definition at line 380 of file RawLtbFrame.h.

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

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

Update status of 16 trigger sources.

Definition at line 390 of file RawLtbFrame.h.

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

Retrieve const NanoSecond low 4bit.

Definition at line 395 of file RawLtbFrame.h.

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

Update NanoSecond low 4bit.

Definition at line 400 of file RawLtbFrame.h.

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

Retrieve const NanoSecond high 28bit.

Definition at line 405 of file RawLtbFrame.h.

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

Update NanoSecond high 28bit.

Definition at line 410 of file RawLtbFrame.h.

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

Retrieve const Accumulation low 4bit.

Definition at line 415 of file RawLtbFrame.h.

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

Update Accumulation low 4bit.

Definition at line 420 of file RawLtbFrame.h.

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

Retrieve const Accumulation high 28bit.

Definition at line 425 of file RawLtbFrame.h.

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

Update Accumulation high 28bit.

Definition at line 430 of file RawLtbFrame.h.

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

Retrieve const Sum of hits.

Definition at line 435 of file RawLtbFrame.h.

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

Update Sum of hits.

Definition at line 440 of file RawLtbFrame.h.

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

Retrieve const esumComp.

Definition at line 445 of file RawLtbFrame.h.

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

Update esumComp.

Definition at line 450 of file RawLtbFrame.h.

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

Retrieve const esumADC.

Definition at line 455 of file RawLtbFrame.h.

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

Update esumADC.

Definition at line 460 of file RawLtbFrame.h.

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

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

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

Retrieve const crossTriggerSrc.

Definition at line 475 of file RawLtbFrame.h.

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

Update crossTriggerSrc.

Definition at line 480 of file RawLtbFrame.h.

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

Retrieve const FEE buffer status.

Definition at line 485 of file RawLtbFrame.h.

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

Update FEE buffer status.

Definition at line 490 of file RawLtbFrame.h.

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

Retrieve const LTB buffer status.

Definition at line 495 of file RawLtbFrame.h.

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

Update LTB buffer status.

Definition at line 500 of file RawLtbFrame.h.

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

Retrieve const Timestamp.

Definition at line 505 of file RawLtbFrame.h.

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

Update Timestamp.

Definition at line 510 of file RawLtbFrame.h.

{
  m_timestamp = value;
}

Member Data Documentation

the number of day from Jan 1 of current year in binary code

Definition at line 125 of file RawLtbFrameUTC.h.

the hour of current day in BCD code

Definition at line 126 of file RawLtbFrameUTC.h.

the minute of current hour in BCD code

Definition at line 127 of file RawLtbFrameUTC.h.

the second of current minute in BCD code

Definition at line 128 of file RawLtbFrameUTC.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