| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DayaBay::RawLtbFrameUnix Class Reference

Ltb frame Unix format. More...

#include <RawLtbFrameUnix.h>

Inheritance diagram for DayaBay::RawLtbFrameUnix:

[legend]
Collaboration diagram for DayaBay::RawLtbFrameUnix:
[legend]
List of all members.

Public Member Functions

 RawLtbFrameUnix ()
 Default Constructor.
virtual ~RawLtbFrameUnix ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
int unixSecLow () const
 Retrieve const the number of second since Jan 1th, 1970, low 16 bit.
void setUnixSecLow (int value)
 Update the number of second since Jan 1th, 1970, low 16 bit.
int unixSecHigh () const
 Retrieve const the number of second since Jan 1th, 1970, high 16 bit.
void setUnixSecHigh (int value)
 Update the number of second since Jan 1th, 1970, high 16 bit.
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_unixSecLow
 the number of second since Jan 1th, 1970, low 16 bit
int m_unixSecHigh
 the number of second since Jan 1th, 1970, high 16 bit

Detailed Description

Ltb frame Unix format.

Author:
He Miao created Mon Apr 11 03:32:12 2011

Definition at line 40 of file RawLtbFrameUnix.h.


Constructor & Destructor Documentation

DayaBay::RawLtbFrameUnix::RawLtbFrameUnix (  )  [inline]

Default Constructor.

Definition at line 45 of file RawLtbFrameUnix.h.

00045                       : m_unixSecLow(0),
00046                         m_unixSecHigh(0) {}

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

Default Destructor.

Definition at line 49 of file RawLtbFrameUnix.h.

00049 {}


Member Function Documentation

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

Fill the ASCII output stream.

Reimplemented from DayaBay::RawLtbFrame.

Definition at line 125 of file RawLtbFrameUnix.h.

00126 {
00127   RawLtbFrame::fillStream(s);
00128   s << "{ " << "unixSecLow :    " << m_unixSecLow << std::endl
00129             << "unixSecHigh :   " << m_unixSecHigh << std::endl << " }";
00130   return s;
00131 }

int DayaBay::RawLtbFrameUnix::unixSecLow (  )  const [inline]

Retrieve const the number of second since Jan 1th, 1970, low 16 bit.

Definition at line 134 of file RawLtbFrameUnix.h.

00135 {
00136   return m_unixSecLow;
00137 }

void DayaBay::RawLtbFrameUnix::setUnixSecLow ( int  value  )  [inline]

Update the number of second since Jan 1th, 1970, low 16 bit.

Definition at line 139 of file RawLtbFrameUnix.h.

00140 {
00141   m_unixSecLow = value;
00142 }

int DayaBay::RawLtbFrameUnix::unixSecHigh (  )  const [inline]

Retrieve const the number of second since Jan 1th, 1970, high 16 bit.

Definition at line 144 of file RawLtbFrameUnix.h.

00145 {
00146   return m_unixSecHigh;
00147 }

void DayaBay::RawLtbFrameUnix::setUnixSecHigh ( int  value  )  [inline]

Update the number of second since Jan 1th, 1970, high 16 bit.

Definition at line 149 of file RawLtbFrameUnix.h.

00150 {
00151   m_unixSecHigh = value;
00152 }

static void* DayaBay::RawLtbFrameUnix::operator new ( size_t  size  )  [inline, static]

operator new

Reimplemented from DayaBay::RawLtbFrame.

Definition at line 73 of file RawLtbFrameUnix.h.

00074     {
00075       return ( sizeof(RawLtbFrameUnix) == size ? 
00076                boost::singleton_pool<RawLtbFrameUnix, sizeof(RawLtbFrameUnix)>::malloc() :
00077                ::operator new(size) );
00078     }

static void* DayaBay::RawLtbFrameUnix::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 83 of file RawLtbFrameUnix.h.

00084     {
00085       return ::operator new (size,pObj);
00086     }

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

operator delete

Reimplemented from DayaBay::RawLtbFrame.

Definition at line 89 of file RawLtbFrameUnix.h.

00090     {
00091       boost::singleton_pool<RawLtbFrameUnix, sizeof(RawLtbFrameUnix)>::is_from(p) ?
00092       boost::singleton_pool<RawLtbFrameUnix, sizeof(RawLtbFrameUnix)>::free(p) :
00093       ::operator delete(p);
00094     }

static void DayaBay::RawLtbFrameUnix::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 98 of file RawLtbFrameUnix.h.

00099     {
00100       ::operator delete (p, pObj);
00101     }

bool DayaBay::RawLtbFrame::accStat (  )  const [inline, inherited]

Retrieve const Accumulation status.

Definition at line 325 of file RawLtbFrame.h.

00326 {
00327   return m_accStat;
00328 }

void DayaBay::RawLtbFrame::setAccStat ( bool  value  )  [inline, inherited]

Update Accumulation status.

Definition at line 330 of file RawLtbFrame.h.

00331 {
00332   m_accStat = value;
00333 }

bool DayaBay::RawLtbFrame::gpsValid (  )  const [inline, inherited]

Retrieve const GPS valid.

Definition at line 335 of file RawLtbFrame.h.

00336 {
00337   return m_GPSValid;
00338 }

void DayaBay::RawLtbFrame::setGPSValid ( bool  value  )  [inline, inherited]

Update GPS valid.

Definition at line 340 of file RawLtbFrame.h.

00341 {
00342   m_GPSValid = value;
00343 }

bool DayaBay::RawLtbFrame::timestampType (  )  const [inline, inherited]

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

Definition at line 345 of file RawLtbFrame.h.

00346 {
00347   return m_timestampType;
00348 }

void DayaBay::RawLtbFrame::setTimestampType ( bool  value  )  [inline, inherited]

Update Timestamp type 1: UTC, 0: UNIX.

Definition at line 350 of file RawLtbFrame.h.

00351 {
00352   m_timestampType = value;
00353 }

bool DayaBay::RawLtbFrame::clockSystemValid (  )  const [inline, inherited]

Retrieve const Clock system valid.

Definition at line 355 of file RawLtbFrame.h.

00356 {
00357   return m_clockSystemValid;
00358 }

void DayaBay::RawLtbFrame::setClockSystemValid ( bool  value  )  [inline, inherited]

Update Clock system valid.

Definition at line 360 of file RawLtbFrame.h.

00361 {
00362   m_clockSystemValid = value;
00363 }

int DayaBay::RawLtbFrame::iltSn (  )  const [inline, inherited]

Retrieve const Raw trigger sequence number.

Definition at line 365 of file RawLtbFrame.h.

00366 {
00367   return m_iltSn;
00368 }

void DayaBay::RawLtbFrame::setIltSn ( int  value  )  [inline, inherited]

Update Raw trigger sequence number.

Definition at line 370 of file RawLtbFrame.h.

00371 {
00372   m_iltSn = value;
00373 }

int DayaBay::RawLtbFrame::rot (  )  const [inline, inherited]

Retrieve const Read Out Type.

Definition at line 375 of file RawLtbFrame.h.

00376 {
00377   return m_rot;
00378 }

void DayaBay::RawLtbFrame::setRot ( int  value  )  [inline, inherited]

Update Read Out Type.

Definition at line 380 of file RawLtbFrame.h.

00381 {
00382   m_rot = value;
00383 }

int DayaBay::RawLtbFrame::triggerSrc (  )  const [inline, inherited]

Retrieve const status of 16 trigger sources.

Definition at line 385 of file RawLtbFrame.h.

00386 {
00387   return m_triggerSrc;
00388 }

void DayaBay::RawLtbFrame::setTriggerSrc ( int  value  )  [inline, inherited]

Update status of 16 trigger sources.

Definition at line 390 of file RawLtbFrame.h.

00391 {
00392   m_triggerSrc = value;
00393 }

int DayaBay::RawLtbFrame::nanoSecondLow (  )  const [inline, inherited]

Retrieve const NanoSecond low 4bit.

Definition at line 395 of file RawLtbFrame.h.

00396 {
00397   return m_nanoSecondLow;
00398 }

void DayaBay::RawLtbFrame::setNanoSecondLow ( int  value  )  [inline, inherited]

Update NanoSecond low 4bit.

Definition at line 400 of file RawLtbFrame.h.

00401 {
00402   m_nanoSecondLow = value;
00403 }

int DayaBay::RawLtbFrame::nanoSecondHigh (  )  const [inline, inherited]

Retrieve const NanoSecond high 28bit.

Definition at line 405 of file RawLtbFrame.h.

00406 {
00407   return m_nanoSecondHigh;
00408 }

void DayaBay::RawLtbFrame::setNanoSecondHigh ( int  value  )  [inline, inherited]

Update NanoSecond high 28bit.

Definition at line 410 of file RawLtbFrame.h.

00411 {
00412   m_nanoSecondHigh = value;
00413 }

int DayaBay::RawLtbFrame::accumulationLow (  )  const [inline, inherited]

Retrieve const Accumulation low 4bit.

Definition at line 415 of file RawLtbFrame.h.

00416 {
00417   return m_accumulationLow;
00418 }

void DayaBay::RawLtbFrame::setAccumulationLow ( int  value  )  [inline, inherited]

Update Accumulation low 4bit.

Definition at line 420 of file RawLtbFrame.h.

00421 {
00422   m_accumulationLow = value;
00423 }

int DayaBay::RawLtbFrame::accumulationHigh (  )  const [inline, inherited]

Retrieve const Accumulation high 28bit.

Definition at line 425 of file RawLtbFrame.h.

00426 {
00427   return m_accumulationHigh;
00428 }

void DayaBay::RawLtbFrame::setAccumulationHigh ( int  value  )  [inline, inherited]

Update Accumulation high 28bit.

Definition at line 430 of file RawLtbFrame.h.

00431 {
00432   m_accumulationHigh = value;
00433 }

int DayaBay::RawLtbFrame::hsum (  )  const [inline, inherited]

Retrieve const Sum of hits.

Definition at line 435 of file RawLtbFrame.h.

00436 {
00437   return m_hsum;
00438 }

void DayaBay::RawLtbFrame::setHsum ( int  value  )  [inline, inherited]

Update Sum of hits.

Definition at line 440 of file RawLtbFrame.h.

00441 {
00442   m_hsum = value;
00443 }

int DayaBay::RawLtbFrame::esumComp (  )  const [inline, inherited]

Retrieve const esumComp.

Definition at line 445 of file RawLtbFrame.h.

00446 {
00447   return m_esumComp;
00448 }

void DayaBay::RawLtbFrame::setEsumComp ( int  value  )  [inline, inherited]

Update esumComp.

Definition at line 450 of file RawLtbFrame.h.

00451 {
00452   m_esumComp = value;
00453 }

int DayaBay::RawLtbFrame::esumADC (  )  const [inline, inherited]

Retrieve const esumADC.

Definition at line 455 of file RawLtbFrame.h.

00456 {
00457   return m_esumADC;
00458 }

void DayaBay::RawLtbFrame::setEsumADC ( int  value  )  [inline, inherited]

Update esumADC.

Definition at line 460 of file RawLtbFrame.h.

00461 {
00462   m_esumADC = value;
00463 }

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.

00466 {
00467   return m_blockedValidTrigger;
00468 }

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.

00471 {
00472   m_blockedValidTrigger = value;
00473 }

int DayaBay::RawLtbFrame::crossTriggerSrc (  )  const [inline, inherited]

Retrieve const crossTriggerSrc.

Definition at line 475 of file RawLtbFrame.h.

00476 {
00477   return m_crossTriggerSrc;
00478 }

void DayaBay::RawLtbFrame::setCrossTriggerSrc ( int  value  )  [inline, inherited]

Update crossTriggerSrc.

Definition at line 480 of file RawLtbFrame.h.

00481 {
00482   m_crossTriggerSrc = value;
00483 }

bool DayaBay::RawLtbFrame::feeBufferStat (  )  const [inline, inherited]

Retrieve const FEE buffer status.

Definition at line 485 of file RawLtbFrame.h.

00486 {
00487   return m_feeBufferStat;
00488 }

void DayaBay::RawLtbFrame::setFeeBufferStat ( bool  value  )  [inline, inherited]

Update FEE buffer status.

Definition at line 490 of file RawLtbFrame.h.

00491 {
00492   m_feeBufferStat = value;
00493 }

bool DayaBay::RawLtbFrame::ltbBufferStat (  )  const [inline, inherited]

Retrieve const LTB buffer status.

Definition at line 495 of file RawLtbFrame.h.

00496 {
00497   return m_ltbBufferStat;
00498 }

void DayaBay::RawLtbFrame::setLtbBufferStat ( bool  value  )  [inline, inherited]

Update LTB buffer status.

Definition at line 500 of file RawLtbFrame.h.

00501 {
00502   m_ltbBufferStat = value;
00503 }

const TimeStamp & DayaBay::RawLtbFrame::timestamp (  )  const [inline, inherited]

Retrieve const Timestamp.

Definition at line 505 of file RawLtbFrame.h.

00506 {
00507   return m_timestamp;
00508 }

void DayaBay::RawLtbFrame::setTimestamp ( const TimeStamp value  )  [inline, inherited]

Update Timestamp.

Definition at line 510 of file RawLtbFrame.h.

00511 {
00512   m_timestamp = value;
00513 }


Member Data Documentation

int DayaBay::RawLtbFrameUnix::m_unixSecLow [private]

the number of second since Jan 1th, 1970, low 16 bit

Definition at line 107 of file RawLtbFrameUnix.h.

int DayaBay::RawLtbFrameUnix::m_unixSecHigh [private]

the number of second since Jan 1th, 1970, high 16 bit

Definition at line 108 of file RawLtbFrameUnix.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 Mon Apr 11 20:20:15 2011 for RawEvent by doxygen 1.4.7