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

Generic Electronics Readout. More...

#include <Readout.h>

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

List of all members.

Public Member Functions

 Readout (const DayaBay::Detector &detector, unsigned int triggerNumber, const TimeStamp &triggerTime, const DayaBay::Trigger::TriggerType_t &triggerType)
 standard constructor
 Readout ()
 Default Constructor.
 Readout (const Readout &rh)
 Copy Constructor.
Readoutoperator= (const Readout &rh)
 Assignment operator.
virtual ~Readout ()
 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 DybDaq::EventReadouteventReadout () const
 Retrieve const The raw data block for this readout.
void setEventReadout (DybDaq::EventReadout *value)
 Update The raw data block for this readout.
const DayaBay::ReadoutHeaderheader () const
 Retrieve const The readout header associated with this readout.
void setHeader (DayaBay::ReadoutHeader *value)
 Update The 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.
DybDaq::EventReadoutm_eventReadout
 The raw data block for this readout.
DayaBay::ReadoutHeaderm_header
 The readout header associated with this readout.

Detailed Description

Generic Electronics Readout.

Author:
dandwyer@caltech.edu created Thu Dec 5 17:52:32 2013

Definition at line 44 of file Readout.h.


Constructor & Destructor Documentation

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

standard constructor

Definition at line 49 of file Readout.h.

DayaBay::Readout::Readout ( ) [inline]

Default Constructor.

Definition at line 59 of file Readout.h.

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

Copy Constructor.

Definition at line 187 of file Readout.h.

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

destructor

Definition at line 208 of file Readout.h.

{

         
}

Member Function Documentation

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

Assignment operator.

Definition at line 196 of file Readout.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_eventReadout  = rh.m_eventReadout;
    m_header        = rh.m_header;
  }
  return *this;
}
std::ostream & DayaBay::Readout::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Reimplemented in DayaBay::ReadoutPmtCrate, and DayaBay::ReadoutRpcCrate.

Definition at line 214 of file Readout.h.

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

Retrieve const The detector associated with this readout.

Definition at line 226 of file Readout.h.

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

Update The detector associated with this readout.

Definition at line 231 of file Readout.h.

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

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

Definition at line 236 of file Readout.h.

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

Update The count of the trigger command from this detector.

Definition at line 241 of file Readout.h.

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

Retrieve const The absolute time of the trigger command.

Definition at line 246 of file Readout.h.

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

Update The absolute time of the trigger command.

Definition at line 251 of file Readout.h.

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

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

Definition at line 256 of file Readout.h.

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

Update The type of trigger conditions which produced this readout.

Definition at line 261 of file Readout.h.

{
  m_triggerType = value;
}
const DybDaq::EventReadout * DayaBay::Readout::eventReadout ( ) const [inline]

Retrieve const The raw data block for this readout.

Definition at line 266 of file Readout.h.

{
  return m_eventReadout;
}
void DayaBay::Readout::setEventReadout ( DybDaq::EventReadout value) [inline]

Update The raw data block for this readout.

Definition at line 271 of file Readout.h.

{
  m_eventReadout = value;
}
const DayaBay::ReadoutHeader * DayaBay::Readout::header ( ) const [inline]

Retrieve const The readout header associated with this readout.

Definition at line 276 of file Readout.h.

{
  return m_header;
}
void DayaBay::Readout::setHeader ( DayaBay::ReadoutHeader value) [inline]

Update The readout header associated with this readout.

Definition at line 281 of file Readout.h.

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

operator new

Reimplemented in DayaBay::ReadoutPmtCrate, and DayaBay::ReadoutRpcCrate.

Definition at line 129 of file Readout.h.

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

Definition at line 139 of file Readout.h.

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

operator delete

Reimplemented in DayaBay::ReadoutPmtCrate, and DayaBay::ReadoutRpcCrate.

Definition at line 145 of file Readout.h.

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

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

Reimplemented in DayaBay::ReadoutPmtCrate, and DayaBay::ReadoutRpcCrate.

Definition at line 154 of file Readout.h.

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

Member Data Documentation

The detector associated with this readout.

Definition at line 163 of file Readout.h.

unsigned int DayaBay::Readout::m_triggerNumber [private]

The count of the trigger command from this detector.

Definition at line 164 of file Readout.h.

The absolute time of the trigger command.

Definition at line 165 of file Readout.h.

The type of trigger conditions which produced this readout.

Definition at line 166 of file Readout.h.

The raw data block for this readout.

Definition at line 167 of file Readout.h.

The readout header associated with this readout.

Definition at line 168 of file Readout.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:01:16 for ReadoutEvent by doxygen 1.7.4