| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DayaBay::TagAdCoincidence Class Reference

Data for AD Coincidence tag. More...

#include <TagAdCoincidence.h>

Inheritance diagram for DayaBay::TagAdCoincidence:

[legend]
Collaboration diagram for DayaBay::TagAdCoincidence:
[legend]
List of all members.

Public Member Functions

 TagAdCoincidence ()
 Default Constructor.
virtual ~TagAdCoincidence ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
std::vector< const DayaBay::TagHeader * > adEvents () const
 Return the list of coincident AD events.
std::vector< const DayaBay::TagHeader * > muons () const
 Return the list of coincident muons.
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

Detailed Description

Data for AD Coincidence tag.

Author:
dandwyer@caltech.edu created Mon Apr 11 03:31:24 2011

Definition at line 39 of file TagAdCoincidence.h.


Constructor & Destructor Documentation

DayaBay::TagAdCoincidence::TagAdCoincidence (  )  [inline]

Default Constructor.

Definition at line 44 of file TagAdCoincidence.h.

00044 {}

virtual DayaBay::TagAdCoincidence::~TagAdCoincidence (  )  [inline, virtual]

Default Destructor.

Definition at line 47 of file TagAdCoincidence.h.

00047 {}


Member Function Documentation

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

Fill the ASCII output stream.

Reimplemented from DayaBay::TagData.

Definition at line 110 of file TagAdCoincidence.h.

00111 {
00112   TagData::fillStream(s);
00113   return s;
00114 }

std::vector< const DayaBay::TagHeader * > DayaBay::TagAdCoincidence::adEvents (  )  const [inline]

Return the list of coincident AD events.

Definition at line 117 of file TagAdCoincidence.h.

00118 {
00119 return this->header()->taggedHeaders(DayaBay::TagHeader::AdEvent);
00120 }

std::vector< const DayaBay::TagHeader * > DayaBay::TagAdCoincidence::muons (  )  const [inline]

Return the list of coincident muons.

Definition at line 122 of file TagAdCoincidence.h.

00123 {
00124 return this->header()->taggedHeaders(DayaBay::TagHeader::Muon);
00125 }

static void* DayaBay::TagAdCoincidence::operator new ( size_t  size  )  [inline, static]

operator new

Reimplemented from DayaBay::TagData.

Definition at line 61 of file TagAdCoincidence.h.

00062     {
00063       return ( sizeof(TagAdCoincidence) == size ? 
00064                boost::singleton_pool<TagAdCoincidence, sizeof(TagAdCoincidence)>::malloc() :
00065                ::operator new(size) );
00066     }

static void* DayaBay::TagAdCoincidence::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::TagData.

Definition at line 71 of file TagAdCoincidence.h.

00072     {
00073       return ::operator new (size,pObj);
00074     }

static void DayaBay::TagAdCoincidence::operator delete ( void *  p  )  [inline, static]

operator delete

Reimplemented from DayaBay::TagData.

Definition at line 77 of file TagAdCoincidence.h.

00078     {
00079       boost::singleton_pool<TagAdCoincidence, sizeof(TagAdCoincidence)>::is_from(p) ?
00080       boost::singleton_pool<TagAdCoincidence, sizeof(TagAdCoincidence)>::free(p) :
00081       ::operator delete(p);
00082     }

static void DayaBay::TagAdCoincidence::operator delete ( void *  p,
void *  pObj 
) [inline, static]

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

Reimplemented from DayaBay::TagData.

Definition at line 86 of file TagAdCoincidence.h.

00087     {
00088       ::operator delete (p, pObj);
00089     }

const DayaBay::TagHeader * DayaBay::TagData::header (  )  const [inline, inherited]

Retrieve const Header for this tag.

Definition at line 135 of file TagData.h.

00136 {
00137   return m_header;
00138 }

void DayaBay::TagData::setHeader ( DayaBay::TagHeader value  )  [inline, inherited]

Update Header for this tag.

Definition at line 140 of file TagData.h.

00141 {
00142   m_header = value;
00143 }

float DayaBay::TagData::likelihood (  )  const [inline, inherited]

Retrieve const Some likelihood that this tag is applicable.

Definition at line 145 of file TagData.h.

00146 {
00147   return m_likelihood;
00148 }

void DayaBay::TagData::setLikelihood ( float  value  )  [inline, inherited]

Update Some likelihood that this tag is applicable.

Definition at line 150 of file TagData.h.

00151 {
00152   m_likelihood = value;
00153 }


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

Generated on Mon Apr 11 20:19:59 2011 for TagEvent by doxygen 1.4.7