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

DAQ calibration run source description. More...

#include <CalibSource.h>

Collaboration diagram for DayaBay::CalibSource:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CalibSource ()
 Default Constructor.
 CalibSource (const CalibSource &rh)
 Copy Constructor.
CalibSourceoperator= (const CalibSource &rh)
 Assignment operator.
virtual ~CalibSource ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::CalibSourceIdid () const
 Retrieve const The ID number of calibration source.
void setId (const DayaBay::CalibSourceId &value)
 Update The ID number of calibration source.
double ledFrequency () const
 Retrieve const Frequency for calibration LEDs.
void setLedFrequency (double value)
 Update Frequency for calibration LEDs.
double adZPosition () const
 Retrieve const Z position along calibration axis for AD sources.
void setAdZPosition (double value)
 Update Z position along calibration axis for AD sources.

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::CalibSourceId m_id
 The ID number of calibration source.
double m_ledFrequency
 Frequency for calibration LEDs.
double m_adZPosition
 Z position along calibration axis for AD sources.

Detailed Description

DAQ calibration run source description.

Author:
dandwyer@caltech.edu created Thu Dec 5 17:46:43 2013

Definition at line 39 of file CalibSource.h.


Constructor & Destructor Documentation

DayaBay::CalibSource::CalibSource ( ) [inline]

Default Constructor.

Definition at line 44 of file CalibSource.h.

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

Copy Constructor.

Definition at line 140 of file CalibSource.h.

                                                                    : 
   m_id( rh.m_id ),
   m_ledFrequency( rh.m_ledFrequency ),
   m_adZPosition( rh.m_adZPosition )
   {}
virtual DayaBay::CalibSource::~CalibSource ( ) [inline, virtual]

Default Destructor.

Definition at line 55 of file CalibSource.h.

{}

Member Function Documentation

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

Assignment operator.

Definition at line 146 of file CalibSource.h.

                                                                                       {
  if ( this != &rh ) {
    m_id           = rh.m_id;
    m_ledFrequency = rh.m_ledFrequency;
    m_adZPosition  = rh.m_adZPosition;
  }
  return *this;
}
std::ostream & DayaBay::CalibSource::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Definition at line 155 of file CalibSource.h.

{
  s << "{ " << "id :    " << m_id << std::endl
            << "ledFrequency :  " << (float)m_ledFrequency << std::endl
            << "adZPosition :   " << (float)m_adZPosition << std::endl << " }";
  return s;
}
const DayaBay::CalibSourceId & DayaBay::CalibSource::id ( ) const [inline]

Retrieve const The ID number of calibration source.

Definition at line 164 of file CalibSource.h.

{
  return m_id;
}
void DayaBay::CalibSource::setId ( const DayaBay::CalibSourceId value) [inline]

Update The ID number of calibration source.

Definition at line 169 of file CalibSource.h.

{
  m_id = value;
}
double DayaBay::CalibSource::ledFrequency ( ) const [inline]

Retrieve const Frequency for calibration LEDs.

Definition at line 174 of file CalibSource.h.

{
  return m_ledFrequency;
}
void DayaBay::CalibSource::setLedFrequency ( double  value) [inline]

Update Frequency for calibration LEDs.

Definition at line 179 of file CalibSource.h.

{
  m_ledFrequency = value;
}
double DayaBay::CalibSource::adZPosition ( ) const [inline]

Retrieve const Z position along calibration axis for AD sources.

Definition at line 184 of file CalibSource.h.

{
  return m_adZPosition;
}
void DayaBay::CalibSource::setAdZPosition ( double  value) [inline]

Update Z position along calibration axis for AD sources.

Definition at line 189 of file CalibSource.h.

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

operator new

Definition at line 87 of file CalibSource.h.

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

Definition at line 97 of file CalibSource.h.

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

operator delete

Definition at line 103 of file CalibSource.h.

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

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

Definition at line 112 of file CalibSource.h.

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

Member Data Documentation

The ID number of calibration source.

Definition at line 121 of file CalibSource.h.

Frequency for calibration LEDs.

Definition at line 122 of file CalibSource.h.

Z position along calibration axis for AD sources.

Definition at line 123 of file CalibSource.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:09 for RunData by doxygen 1.7.4