#include <FlashHypothesis.h>
Public Member Functions | |
FlashHypothesisCollection () | |
FlashHypothesisCollection (size_t s) | |
FlashHypothesisCollection (const FlashHypothesis &prompt, const FlashHypothesis &late) | |
void | SetPromptAndLateHyp (const FlashHypothesis &prompt, const FlashHypothesis &late) |
void | SetTotalHypAndPromptFraction (const FlashHypothesis &total, float frac) |
void | SetPromptHypAndPromptFraction (const FlashHypothesis &prompt, float frac) |
size_t | GetVectorSize () const |
float | GetPromptFraction () const |
float | GetLateFraction () const |
const FlashHypothesis & | GetPromptHypothesis () const |
const FlashHypothesis & | GetLateHypothesis () const |
const FlashHypothesis & | GetTotalHypothesis () const |
void | Normalize (float totalPEs) |
void | Print () |
FlashHypothesisCollection | operator+ (const FlashHypothesisCollection &fhc) |
Private Member Functions | |
void | CheckFrac (float f) |
void | UpdateTotalHyp () |
Private Attributes | |
FlashHypothesis | _prompt_hyp |
FlashHypothesis | _late_hyp |
FlashHypothesis | _total_hyp |
float | _prompt_frac |
Definition at line 73 of file FlashHypothesis.h.
|
inline |
Definition at line 77 of file FlashHypothesis.h.
|
inline |
Definition at line 78 of file FlashHypothesis.h.
|
inline |
Definition at line 80 of file FlashHypothesis.h.
|
private |
Definition at line 74 of file FlashHypothesis.cxx.
|
inline |
Definition at line 91 of file FlashHypothesis.h.
|
inline |
Definition at line 94 of file FlashHypothesis.h.
|
inline |
Definition at line 90 of file FlashHypothesis.h.
|
inline |
Definition at line 93 of file FlashHypothesis.h.
|
inline |
Definition at line 95 of file FlashHypothesis.h.
|
inline |
Definition at line 88 of file FlashHypothesis.h.
void opdet::FlashHypothesisCollection::Normalize | ( | float | totalPEs | ) |
Definition at line 68 of file FlashHypothesis.cxx.
|
inline |
Definition at line 101 of file FlashHypothesis.h.
void opdet::FlashHypothesisCollection::Print | ( | void | ) |
Definition at line 94 of file FlashHypothesis.cxx.
|
inline |
Definition at line 83 of file FlashHypothesis.h.
void opdet::FlashHypothesisCollection::SetPromptHypAndPromptFraction | ( | const FlashHypothesis & | prompt, |
float | frac | ||
) |
Definition at line 59 of file FlashHypothesis.cxx.
void opdet::FlashHypothesisCollection::SetTotalHypAndPromptFraction | ( | const FlashHypothesis & | total, |
float | frac | ||
) |
Definition at line 50 of file FlashHypothesis.cxx.
|
private |
Definition at line 84 of file FlashHypothesis.cxx.
|
private |
Definition at line 116 of file FlashHypothesis.h.
|
private |
Definition at line 118 of file FlashHypothesis.h.
|
private |
Definition at line 115 of file FlashHypothesis.h.
|
private |
Definition at line 117 of file FlashHypothesis.h.