#include <TagData.h>
Inheritance diagram for DayaBay::TagData:
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::TagHeader * | header () 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::TagHeader * | m_header |
Header for this tag. | |
float | m_likelihood |
Some likelihood that this tag is applicable. |
Definition at line 40 of file TagData.h.
DayaBay::TagData::TagData | ( | ) | [inline] |
Default Constructor.
Definition at line 45 of file TagData.h.
00045 : m_header(0), 00046 m_likelihood(0.0) {}
virtual DayaBay::TagData::~TagData | ( | ) | [inline, virtual] |
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.
00128 { 00129 s << "{ " << "header : " << m_header << std::endl 00130 << "likelihood : " << m_likelihood << std::endl << " }"; 00131 return s; 00132 }
const DayaBay::TagHeader * DayaBay::TagData::header | ( | ) | const [inline] |
void DayaBay::TagData::setHeader | ( | DayaBay::TagHeader * | value | ) | [inline] |
float DayaBay::TagData::likelihood | ( | ) | const [inline] |
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] |
Update Some likelihood that this tag is applicable.
Definition at line 150 of file TagData.h.
00151 { 00152 m_likelihood = value; 00153 }
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.
00074 { 00075 return ( sizeof(TagData) == size ? 00076 boost::singleton_pool<TagData, sizeof(TagData)>::malloc() : 00077 ::operator new(size) ); 00078 }
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.
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.
00090 { 00091 boost::singleton_pool<TagData, sizeof(TagData)>::is_from(p) ? 00092 boost::singleton_pool<TagData, sizeof(TagData)>::free(p) : 00093 ::operator delete(p); 00094 }
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.
00099 { 00100 ::operator delete (p, pObj); 00101 }
DayaBay::TagHeader* DayaBay::TagData::m_header [private] |
float DayaBay::TagData::m_likelihood [private] |