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

Base class for all associated tag data. More...

#include <TagData.h>

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

List of all members.

Public Member Functions

 TagData ()
 Default Constructor.
virtual ~TagData ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::TagHeaderheader () const
 Retrieve const Header for this tag.
void setHeader (DayaBay::TagHeader *value)
 Update Header for this tag.
float likelihood () const
 Retrieve const Some likelihood that this tag is applicable.
void setLikelihood (float value)
 Update Some likelihood that this tag is applicable.

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::TagHeaderm_header
 Header for this tag.
float m_likelihood
 Some likelihood that this tag is applicable.

Detailed Description

Base class for all associated tag data.

Author:
bv@bnl.gov created Thu Dec 5 17:42:03 2013

Definition at line 40 of file TagData.h.


Constructor & Destructor Documentation

DayaBay::TagData::TagData ( ) [inline]

Default Constructor.

Definition at line 45 of file TagData.h.

              : m_header(0),
                m_likelihood(0.0) {}
virtual DayaBay::TagData::~TagData ( ) [inline, virtual]

Default Destructor.

Definition at line 49 of file TagData.h.

{}

Member Function Documentation

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

Fill the ASCII output stream.

Reimplemented in DayaBay::TagAdCoincidence, DayaBay::TagAdEvent, DayaBay::TagMuon, and DayaBay::TagMuonFragment.

Definition at line 127 of file TagData.h.

{
  s << "{ " << "header :        " << m_header << std::endl
            << "likelihood :    " << m_likelihood << std::endl << " }";
  return s;
}
const DayaBay::TagHeader * DayaBay::TagData::header ( ) const [inline]

Retrieve const Header for this tag.

Definition at line 135 of file TagData.h.

{
  return m_header;
}
void DayaBay::TagData::setHeader ( DayaBay::TagHeader value) [inline]

Update Header for this tag.

Definition at line 140 of file TagData.h.

{
  m_header = value;
}
float DayaBay::TagData::likelihood ( ) const [inline]

Retrieve const Some likelihood that this tag is applicable.

Definition at line 145 of file TagData.h.

{
  return m_likelihood;
}
void DayaBay::TagData::setLikelihood ( float  value) [inline]

Update Some likelihood that this tag is applicable.

Definition at line 150 of file TagData.h.

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

operator new

Reimplemented in DayaBay::TagAdCoincidence, DayaBay::TagAdEvent, DayaBay::TagMuon, and DayaBay::TagMuonFragment.

Definition at line 73 of file TagData.h.

    {
      return ( sizeof(TagData) == size ? 
               boost::singleton_pool<TagData, sizeof(TagData)>::malloc() :
               ::operator new(size) );
    }
static void* DayaBay::TagData::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::TagAdCoincidence, DayaBay::TagAdEvent, DayaBay::TagMuon, and DayaBay::TagMuonFragment.

Definition at line 83 of file TagData.h.

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

operator delete

Reimplemented in DayaBay::TagAdCoincidence, DayaBay::TagAdEvent, DayaBay::TagMuon, and DayaBay::TagMuonFragment.

Definition at line 89 of file TagData.h.

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

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

Reimplemented in DayaBay::TagAdCoincidence, DayaBay::TagAdEvent, DayaBay::TagMuon, and DayaBay::TagMuonFragment.

Definition at line 98 of file TagData.h.

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

Member Data Documentation

Header for this tag.

Definition at line 107 of file TagData.h.

Some likelihood that this tag is applicable.

Definition at line 108 of file TagData.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 09:58:57 for TagEvent by doxygen 1.7.4