/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
DayaBay::TESDemoAntiNeutrino Class Reference

Neutrino demostration class for TESDemo. More...

#include <TESDemoAntiNeutrino.h>

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

List of all members.

Public Types

typedef TemporalObjectVector
< TESDemoAntiNeutrino
Container
 The standard container for this class.

Public Member Functions

 TESDemoAntiNeutrino (const DayaBay::TESDemoPositron *positron, const DayaBay::TESDemoNeutron *neutron)
 Standard constructor.
 TESDemoAntiNeutrino ()
 Default Constructor.
virtual ~TESDemoAntiNeutrino ()
 Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
void setPositron (const SmartRef< DayaBay::TESDemoPositron > &value)
 Set the positron produced by the decay of this anti-neutrino.
void setPositron (const DayaBay::TESDemoPositron *value)
 Set the positron produced by the decay of this anti-neutrino.
void setNeutron (const SmartRef< DayaBay::TESDemoNeutron > &value)
 Set the neutron produced by the decay of this anti-neutrino.
void setNeutron (const DayaBay::TESDemoNeutron *value)
 Set the neutron produced by the decay of this anti-neutrino.
const DayaBay::TESDemoPositronpositron () const
 Retrieve (const) The positron produced by the decay of this anti-neutrino.
const DayaBay::TESDemoNeutronneutron () const
 Retrieve (const) The neutron produced by the decay of this anti-neutrino.
virtual const TimeStampearliest () const
void setEarliest (const TimeStamp &value)
virtual const TimeStamplatest () const
void setLatest (const TimeStamp &value)

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

SmartRef
< DayaBay::TESDemoPositron
m_positron
 The positron produced by the decay of this anti-neutrino.
SmartRef< DayaBay::TESDemoNeutronm_neutron
 The neutron produced by the decay of this anti-neutrino.

Detailed Description

Neutrino demostration class for TESDemo.

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

Definition at line 45 of file TESDemoAntiNeutrino.h.


Member Typedef Documentation

The standard container for this class.

Reimplemented from DayaBay::TemporalContainedObject.

Definition at line 50 of file TESDemoAntiNeutrino.h.


Constructor & Destructor Documentation

DayaBay::TESDemoAntiNeutrino::TESDemoAntiNeutrino ( const DayaBay::TESDemoPositron positron,
const DayaBay::TESDemoNeutron neutron 
) [inline]

Standard constructor.

Definition at line 140 of file TESDemoAntiNeutrino.h.

{

          setPositron(positron);
          setNeutron(neutron);
          setEarliest(positron->timeStamp());
          setLatest(neutron->timeStamp());
      
}
DayaBay::TESDemoAntiNeutrino::TESDemoAntiNeutrino ( ) [inline]

Default Constructor.

Definition at line 57 of file TESDemoAntiNeutrino.h.

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

Destructor.

Definition at line 151 of file TESDemoAntiNeutrino.h.

{

          // Takes care of reference counting
                setNeutron(0);
          setPositron(0);
        
}

Member Function Documentation

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

Fill the ASCII output stream.

Reimplemented from DayaBay::TemporalContainedObject.

Definition at line 160 of file TESDemoAntiNeutrino.h.

void TESDemoAntiNeutrino::setPositron ( const SmartRef< DayaBay::TESDemoPositron > &  value)

Set the positron produced by the decay of this anti-neutrino.

Definition at line 5 of file TESDemoAntiNeutrino.cpp.

                                                                            {
  m_positron = value;
}
void TESDemoAntiNeutrino::setPositron ( const DayaBay::TESDemoPositron value)

Set the positron produced by the decay of this anti-neutrino.

Definition at line 9 of file TESDemoAntiNeutrino.cpp.

                                                                  {
  m_positron = value;
}
void TESDemoAntiNeutrino::setNeutron ( const SmartRef< DayaBay::TESDemoNeutron > &  value)

Set the neutron produced by the decay of this anti-neutrino.

Definition at line 13 of file TESDemoAntiNeutrino.cpp.

                                                                          {
  m_neutron = value;
}
void TESDemoAntiNeutrino::setNeutron ( const DayaBay::TESDemoNeutron value)

Set the neutron produced by the decay of this anti-neutrino.

Definition at line 17 of file TESDemoAntiNeutrino.cpp.

                                                                {
  m_neutron = value;
}
const DayaBay::TESDemoPositron * DayaBay::TESDemoAntiNeutrino::positron ( ) const [inline]

Retrieve (const) The positron produced by the decay of this anti-neutrino.

Definition at line 167 of file TESDemoAntiNeutrino.h.

{
  return m_positron;
}
const DayaBay::TESDemoNeutron * DayaBay::TESDemoAntiNeutrino::neutron ( ) const [inline]

Retrieve (const) The neutron produced by the decay of this anti-neutrino.

Definition at line 172 of file TESDemoAntiNeutrino.h.

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

operator new

Reimplemented from DayaBay::TemporalContainedObject.

Definition at line 88 of file TESDemoAntiNeutrino.h.

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

Definition at line 98 of file TESDemoAntiNeutrino.h.

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

operator delete

Reimplemented from DayaBay::TemporalContainedObject.

Definition at line 104 of file TESDemoAntiNeutrino.h.

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

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

Reimplemented from DayaBay::TemporalContainedObject.

Definition at line 113 of file TESDemoAntiNeutrino.h.

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

Member Data Documentation

The positron produced by the decay of this anti-neutrino.

Definition at line 122 of file TESDemoAntiNeutrino.h.

The neutron produced by the decay of this anti-neutrino.

Definition at line 123 of file TESDemoAntiNeutrino.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