#include <TagAdCoincidence.h>
Inheritance diagram for DayaBay::TagAdCoincidence:
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::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 |
Definition at line 39 of file TagAdCoincidence.h.
DayaBay::TagAdCoincidence::TagAdCoincidence | ( | ) | [inline] |
virtual DayaBay::TagAdCoincidence::~TagAdCoincidence | ( | ) | [inline, virtual] |
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.
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] |
void DayaBay::TagData::setHeader | ( | DayaBay::TagHeader * | value | ) | [inline, inherited] |
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 }