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

Neutron demostration class for TESDemo. More...

#include <TESDemoNeutron.h>

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

List of all members.

Public Member Functions

 TESDemoNeutron (const TimeStamp &timeStamp, const DayaBay::TESDemoReadout *readout)
 Standard constructor.
 TESDemoNeutron ()
 Default Constructor.
virtual ~TESDemoNeutron ()
 Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
void setReadout (const SmartRef< DayaBay::TESDemoReadout > &value)
 Set the readout from which this neutron was constructed.
void setReadout (const DayaBay::TESDemoReadout *value)
 Set the readout from which this neutron was constructed.
const TimeStamptimeStamp () const
 Retrieve const The reconstructed time of this neutron's capture.
void setTimeStamp (const TimeStamp &value)
 Update The reconstructed time of this neutron's capture.
const DayaBay::TESDemoReadoutreadout () const
 Retrieve (const) The readout from which this neutron was constructed.
virtual const CLID & clID () const
virtual const std::string & defLoc ()
virtual void setOutputAddress (const GenericAddress *roa)
virtual void setInputAddress (const GenericAddress *ria)
virtual const TimeStampearliest () const
void setEarliest (const TimeStamp &value)
virtual const TimeStamplatest () const
void setLatest (const TimeStamp &value)
virtual const GenericAddress * outputAddress () const
virtual const GenericAddress * inputAddress () const

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
static const CLID & classID ()

Private Attributes

TimeStamp m_timeStamp
 The reconstructed time of this neutron's capture.
SmartRef< DayaBay::TESDemoReadoutm_readout
 The readout from which this neutron was constructed.

Detailed Description

Neutron demostration class for TESDemo.

Author:
Simon Patton created Thu Dec 5 18:17:27 2013

Definition at line 42 of file TESDemoNeutron.h.


Constructor & Destructor Documentation

DayaBay::TESDemoNeutron::TESDemoNeutron ( const TimeStamp timeStamp,
const DayaBay::TESDemoReadout readout 
) [inline]

Standard constructor.

Definition at line 132 of file TESDemoNeutron.h.

{

          setTimeStamp(timeStamp);
                setReadout(readout);
          setEarliest(timeStamp);
          setLatest(timeStamp);
      
}
DayaBay::TESDemoNeutron::TESDemoNeutron ( ) [inline]

Default Constructor.

Definition at line 51 of file TESDemoNeutron.h.

: m_timeStamp() {}
DayaBay::TESDemoNeutron::~TESDemoNeutron ( ) [inline, virtual]

Destructor.

Definition at line 143 of file TESDemoNeutron.h.

{

          // Takes care of reference counting
                setReadout(0);
        
}

Member Function Documentation

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

Fill the ASCII output stream.

Reimplemented from DayaBay::TemporalDataObject.

Definition at line 151 of file TESDemoNeutron.h.

{
  TemporalDataObject::fillStream(s);
  s << "{ " << "timeStamp :     " << m_timeStamp << std::endl << " }";
  return s;
}
void TESDemoNeutron::setReadout ( const SmartRef< DayaBay::TESDemoReadout > &  value)

Set the readout from which this neutron was constructed.

Definition at line 5 of file TESDemoNeutron.cpp.

                                                                     {
  m_readout = value;
}
void TESDemoNeutron::setReadout ( const DayaBay::TESDemoReadout value)

Set the readout from which this neutron was constructed.

Definition at line 9 of file TESDemoNeutron.cpp.

                                                           {
  m_readout = value;
}
const TimeStamp & DayaBay::TESDemoNeutron::timeStamp ( ) const [inline]

Retrieve const The reconstructed time of this neutron's capture.

Definition at line 159 of file TESDemoNeutron.h.

{
  return m_timeStamp;
}
void DayaBay::TESDemoNeutron::setTimeStamp ( const TimeStamp value) [inline]

Update The reconstructed time of this neutron's capture.

Definition at line 164 of file TESDemoNeutron.h.

{
  m_timeStamp = value;
}
const DayaBay::TESDemoReadout * DayaBay::TESDemoNeutron::readout ( ) const [inline]

Retrieve (const) The readout from which this neutron was constructed.

Definition at line 169 of file TESDemoNeutron.h.

{
  return m_readout;
}
static void* DayaBay::TESDemoNeutron::operator new ( size_t  size) [inline, static]

operator new

Reimplemented from DayaBay::TemporalDataObject.

Definition at line 80 of file TESDemoNeutron.h.

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

Definition at line 90 of file TESDemoNeutron.h.

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

operator delete

Reimplemented from DayaBay::TemporalDataObject.

Definition at line 96 of file TESDemoNeutron.h.

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

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

Reimplemented from DayaBay::TemporalDataObject.

Definition at line 105 of file TESDemoNeutron.h.

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

Member Data Documentation

The reconstructed time of this neutron's capture.

Definition at line 114 of file TESDemoNeutron.h.

The readout from which this neutron was constructed.

Definition at line 115 of file TESDemoNeutron.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:08:47 for TESDemoData by doxygen 1.7.4