#include <TagAdEvent.h>
Inheritance diagram for DayaBay::TagAdEvent:
Public Member Functions | |
TagAdEvent () | |
Default Constructor. | |
virtual | ~TagAdEvent () |
Default Destructor. | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the ASCII output stream. | |
int | npmts () const |
Retrieve const Number of hit PMTs. | |
void | setNpmts (int value) |
Update Number of hit PMTs. | |
float | qsum () const |
Retrieve const Sum of PE in each PMT. | |
void | setQsum (float value) |
Update Sum of PE in each PMT. | |
float | qmean () const |
Retrieve const Average chage of all PMTs hit. | |
void | setQmean (float value) |
Update Average chage of all PMTs hit. | |
float | qrms () const |
Retrieve const RMS of PE in hit PMTs. | |
void | setQrms (float value) |
Update RMS of PE in hit PMTs. | |
float | qmax () const |
Retrieve const Largest PE in any one PMT. | |
void | setQmax (float value) |
Update Largest PE in any one PMT. | |
float | tmean () const |
Retrieve const Average time of all PMTs hit. | |
void | setTmean (float value) |
Update Average time of all PMTs hit. | |
float | trms () const |
Retrieve const RMS of T in hit PMTs. | |
void | setTrms (float value) |
Update RMS of T in hit PMTs. | |
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 | |
int | m_npmts |
Number of hit PMTs. | |
float | m_qsum |
Sum of PE in each PMT. | |
float | m_qmean |
Average chage of all PMTs hit. | |
float | m_qrms |
RMS of PE in hit PMTs. | |
float | m_qmax |
Largest PE in any one PMT. | |
float | m_tmean |
Average time of all PMTs hit. | |
float | m_trms |
RMS of T in hit PMTs. |
Definition at line 39 of file TagAdEvent.h.
DayaBay::TagAdEvent::TagAdEvent | ( | ) | [inline] |
virtual DayaBay::TagAdEvent::~TagAdEvent | ( | ) | [inline, virtual] |
std::ostream & DayaBay::TagAdEvent::fillStream | ( | std::ostream & | s | ) | const [inline, virtual] |
Fill the ASCII output stream.
Reimplemented from DayaBay::TagData.
Definition at line 174 of file TagAdEvent.h.
00175 { 00176 TagData::fillStream(s); 00177 s << "{ " << "npmts : " << m_npmts << std::endl 00178 << "qsum : " << m_qsum << std::endl 00179 << "qmean : " << m_qmean << std::endl 00180 << "qrms : " << m_qrms << std::endl 00181 << "qmax : " << m_qmax << std::endl 00182 << "tmean : " << m_tmean << std::endl 00183 << "trms : " << m_trms << std::endl << " }"; 00184 return s; 00185 }
int DayaBay::TagAdEvent::npmts | ( | ) | const [inline] |
Retrieve const Number of hit PMTs.
Definition at line 188 of file TagAdEvent.h.
00189 { 00190 return m_npmts; 00191 }
void DayaBay::TagAdEvent::setNpmts | ( | int | value | ) | [inline] |
Update Number of hit PMTs.
Definition at line 193 of file TagAdEvent.h.
00194 { 00195 m_npmts = value; 00196 }
float DayaBay::TagAdEvent::qsum | ( | ) | const [inline] |
Retrieve const Sum of PE in each PMT.
Definition at line 198 of file TagAdEvent.h.
00199 { 00200 return m_qsum; 00201 }
void DayaBay::TagAdEvent::setQsum | ( | float | value | ) | [inline] |
Update Sum of PE in each PMT.
Definition at line 203 of file TagAdEvent.h.
00204 { 00205 m_qsum = value; 00206 }
float DayaBay::TagAdEvent::qmean | ( | ) | const [inline] |
Retrieve const Average chage of all PMTs hit.
Definition at line 208 of file TagAdEvent.h.
00209 { 00210 return m_qmean; 00211 }
void DayaBay::TagAdEvent::setQmean | ( | float | value | ) | [inline] |
Update Average chage of all PMTs hit.
Definition at line 213 of file TagAdEvent.h.
00214 { 00215 m_qmean = value; 00216 }
float DayaBay::TagAdEvent::qrms | ( | ) | const [inline] |
Retrieve const RMS of PE in hit PMTs.
Definition at line 218 of file TagAdEvent.h.
00219 { 00220 return m_qrms; 00221 }
void DayaBay::TagAdEvent::setQrms | ( | float | value | ) | [inline] |
Update RMS of PE in hit PMTs.
Definition at line 223 of file TagAdEvent.h.
00224 { 00225 m_qrms = value; 00226 }
float DayaBay::TagAdEvent::qmax | ( | ) | const [inline] |
Retrieve const Largest PE in any one PMT.
Definition at line 228 of file TagAdEvent.h.
00229 { 00230 return m_qmax; 00231 }
void DayaBay::TagAdEvent::setQmax | ( | float | value | ) | [inline] |
Update Largest PE in any one PMT.
Definition at line 233 of file TagAdEvent.h.
00234 { 00235 m_qmax = value; 00236 }
float DayaBay::TagAdEvent::tmean | ( | ) | const [inline] |
Retrieve const Average time of all PMTs hit.
Definition at line 238 of file TagAdEvent.h.
00239 { 00240 return m_tmean; 00241 }
void DayaBay::TagAdEvent::setTmean | ( | float | value | ) | [inline] |
Update Average time of all PMTs hit.
Definition at line 243 of file TagAdEvent.h.
00244 { 00245 m_tmean = value; 00246 }
float DayaBay::TagAdEvent::trms | ( | ) | const [inline] |
Retrieve const RMS of T in hit PMTs.
Definition at line 248 of file TagAdEvent.h.
00249 { 00250 return m_trms; 00251 }
void DayaBay::TagAdEvent::setTrms | ( | float | value | ) | [inline] |
Update RMS of T in hit PMTs.
Definition at line 253 of file TagAdEvent.h.
00254 { 00255 m_trms = value; 00256 }
static void* DayaBay::TagAdEvent::operator new | ( | size_t | size | ) | [inline, static] |
operator new
Reimplemented from DayaBay::TagData.
Definition at line 117 of file TagAdEvent.h.
00118 { 00119 return ( sizeof(TagAdEvent) == size ? 00120 boost::singleton_pool<TagAdEvent, sizeof(TagAdEvent)>::malloc() : 00121 ::operator new(size) ); 00122 }
static void* DayaBay::TagAdEvent::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 127 of file TagAdEvent.h.
static void DayaBay::TagAdEvent::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Reimplemented from DayaBay::TagData.
Definition at line 133 of file TagAdEvent.h.
00134 { 00135 boost::singleton_pool<TagAdEvent, sizeof(TagAdEvent)>::is_from(p) ? 00136 boost::singleton_pool<TagAdEvent, sizeof(TagAdEvent)>::free(p) : 00137 ::operator delete(p); 00138 }
static void DayaBay::TagAdEvent::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 142 of file TagAdEvent.h.
00143 { 00144 ::operator delete (p, pObj); 00145 }
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 }
int DayaBay::TagAdEvent::m_npmts [private] |
float DayaBay::TagAdEvent::m_qsum [private] |
float DayaBay::TagAdEvent::m_qmean [private] |
float DayaBay::TagAdEvent::m_qrms [private] |
float DayaBay::TagAdEvent::m_qmax [private] |
float DayaBay::TagAdEvent::m_tmean [private] |
float DayaBay::TagAdEvent::m_trms [private] |