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

Generic Electronics Calibrated Readout. More...

#include <CalibReadout.h>

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

List of all members.

Public Member Functions

 CalibReadout (const DayaBay::Detector &detector, unsigned int triggerNumber, const TimeStamp &triggerTime, const DayaBay::Trigger::TriggerType_t &triggerType)
 standard constructor
 CalibReadout ()
 Default Constructor.
 CalibReadout (const CalibReadout &rh)
 Copy Constructor.
CalibReadoutoperator= (const CalibReadout &rh)
 Assignment operator.
virtual ~CalibReadout ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::Detectordetector () const
 Retrieve const The detector associated with this readout.
void setDetector (const DayaBay::Detector &value)
 Update The detector associated with this readout.
unsigned int triggerNumber () const
 Retrieve const The count of the trigger command from this detector.
void setTriggerNumber (unsigned int value)
 Update The count of the trigger command from this detector.
const TimeStamptriggerTime () const
 Retrieve const The absolute time of the trigger command.
void setTriggerTime (const TimeStamp &value)
 Update The absolute time of the trigger command.
const
DayaBay::Trigger::TriggerType_t
triggerType () const
 Retrieve const The type of trigger conditions which produced this readout.
void setTriggerType (const DayaBay::Trigger::TriggerType_t &value)
 Update The type of trigger conditions which produced this readout.
const DayaBay::CalibReadoutHeaderheader () const
 Retrieve const The calib readout header associated with this readout.
void setHeader (DayaBay::CalibReadoutHeader *value)
 Update The calib readout header associated with this readout.

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::Detector m_detector
 The detector associated with this readout.
unsigned int m_triggerNumber
 The count of the trigger command from this detector.
TimeStamp m_triggerTime
 The absolute time of the trigger command.
DayaBay::Trigger::TriggerType_t m_triggerType
 The type of trigger conditions which produced this readout.
DayaBay::CalibReadoutHeaderm_header
 The calib readout header associated with this readout.

Detailed Description

Generic Electronics Calibrated Readout.

Author:
dandwyer@caltech.edu created Thu Dec 5 17:49:33 2013

Definition at line 43 of file CalibReadout.h.


Constructor & Destructor Documentation

DayaBay::CalibReadout::CalibReadout ( const DayaBay::Detector detector,
unsigned int  triggerNumber,
const TimeStamp triggerTime,
const DayaBay::Trigger::TriggerType_t triggerType 
) [inline]

standard constructor

Definition at line 48 of file CalibReadout.h.

DayaBay::CalibReadout::CalibReadout ( ) [inline]

Default Constructor.

Definition at line 57 of file CalibReadout.h.

DayaBay::CalibReadout::CalibReadout ( const CalibReadout rh) [inline]

Copy Constructor.

Definition at line 175 of file CalibReadout.h.

                                                                       : 
   m_detector( rh.m_detector ),
   m_triggerNumber( rh.m_triggerNumber ),
   m_triggerTime( rh.m_triggerTime ),
   m_triggerType( rh.m_triggerType ),
   m_header( rh.m_header )
   {}
virtual DayaBay::CalibReadout::~CalibReadout ( ) [inline, virtual]

Default Destructor.

Definition at line 70 of file CalibReadout.h.

{}

Member Function Documentation

DayaBay::CalibReadout & DayaBay::CalibReadout::operator= ( const CalibReadout rh) [inline]

Assignment operator.

Definition at line 183 of file CalibReadout.h.

                                                                                          {
  if ( this != &rh ) {
    m_detector      = rh.m_detector;
    m_triggerNumber = rh.m_triggerNumber;
    m_triggerTime   = rh.m_triggerTime;
    m_triggerType   = rh.m_triggerType;
    m_header        = rh.m_header;
  }
  return *this;
}
std::ostream & DayaBay::CalibReadout::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Reimplemented in DayaBay::CalibReadoutPmtCrate, and DayaBay::CalibReadoutRpcCrate.

Definition at line 194 of file CalibReadout.h.

{
  s << "{ " << "detector :      " << m_detector << std::endl
            << "triggerNumber : " << m_triggerNumber << std::endl
            << "triggerTime :   " << m_triggerTime << std::endl
            << "triggerType :   " << m_triggerType << std::endl
            << "header :        " << m_header << std::endl << " }";
  return s;
}
const DayaBay::Detector & DayaBay::CalibReadout::detector ( ) const [inline]

Retrieve const The detector associated with this readout.

Definition at line 205 of file CalibReadout.h.

{
  return m_detector;
}
void DayaBay::CalibReadout::setDetector ( const DayaBay::Detector value) [inline]

Update The detector associated with this readout.

Definition at line 210 of file CalibReadout.h.

{
  m_detector = value;
}
unsigned int DayaBay::CalibReadout::triggerNumber ( ) const [inline]

Retrieve const The count of the trigger command from this detector.

Definition at line 215 of file CalibReadout.h.

{
  return m_triggerNumber;
}
void DayaBay::CalibReadout::setTriggerNumber ( unsigned int  value) [inline]

Update The count of the trigger command from this detector.

Definition at line 220 of file CalibReadout.h.

{
  m_triggerNumber = value;
}
const TimeStamp & DayaBay::CalibReadout::triggerTime ( ) const [inline]

Retrieve const The absolute time of the trigger command.

Definition at line 225 of file CalibReadout.h.

{
  return m_triggerTime;
}
void DayaBay::CalibReadout::setTriggerTime ( const TimeStamp value) [inline]

Update The absolute time of the trigger command.

Definition at line 230 of file CalibReadout.h.

{
  m_triggerTime = value;
}
const DayaBay::Trigger::TriggerType_t & DayaBay::CalibReadout::triggerType ( ) const [inline]

Retrieve const The type of trigger conditions which produced this readout.

Definition at line 235 of file CalibReadout.h.

{
  return m_triggerType;
}
void DayaBay::CalibReadout::setTriggerType ( const DayaBay::Trigger::TriggerType_t value) [inline]

Update The type of trigger conditions which produced this readout.

Definition at line 240 of file CalibReadout.h.

{
  m_triggerType = value;
}
const DayaBay::CalibReadoutHeader * DayaBay::CalibReadout::header ( ) const [inline]

Retrieve const The calib readout header associated with this readout.

Definition at line 245 of file CalibReadout.h.

{
  return m_header;
}
void DayaBay::CalibReadout::setHeader ( DayaBay::CalibReadoutHeader value) [inline]

Update The calib readout header associated with this readout.

Definition at line 250 of file CalibReadout.h.

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

operator new

Reimplemented in DayaBay::CalibReadoutPmtCrate, and DayaBay::CalibReadoutRpcCrate.

Definition at line 118 of file CalibReadout.h.

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

Definition at line 128 of file CalibReadout.h.

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

operator delete

Reimplemented in DayaBay::CalibReadoutPmtCrate, and DayaBay::CalibReadoutRpcCrate.

Definition at line 134 of file CalibReadout.h.

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

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

Reimplemented in DayaBay::CalibReadoutPmtCrate, and DayaBay::CalibReadoutRpcCrate.

Definition at line 143 of file CalibReadout.h.

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

Member Data Documentation

The detector associated with this readout.

Definition at line 152 of file CalibReadout.h.

The count of the trigger command from this detector.

Definition at line 153 of file CalibReadout.h.

The absolute time of the trigger command.

Definition at line 154 of file CalibReadout.h.

The type of trigger conditions which produced this readout.

Definition at line 155 of file CalibReadout.h.

The calib readout header associated with this readout.

Definition at line 156 of file CalibReadout.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 10:00:42 for CalibReadoutEvent by doxygen 1.7.4