LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#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 74 of file FlashHypothesis.h.
|
inline |
Definition at line 78 of file FlashHypothesis.h.
|
inline |
Definition at line 79 of file FlashHypothesis.h.
References opdet::FlashHypothesis::FlashHypothesis().
|
inline |
Definition at line 81 of file FlashHypothesis.h.
|
private |
Definition at line 72 of file FlashHypothesis.cxx.
|
inline |
Definition at line 92 of file FlashHypothesis.h.
|
inline |
Definition at line 95 of file FlashHypothesis.h.
Referenced by opdet::FlashHypothesisComparison::FillComparisonInfo(), opdet::FlashHypothesisComparison::FillFlashHypothesisInfo(), and operator+().
|
inline |
Definition at line 91 of file FlashHypothesis.h.
|
inline |
Definition at line 94 of file FlashHypothesis.h.
Referenced by opdet::FlashHypothesisComparison::FillComparisonInfo(), opdet::FlashHypothesisComparison::FillFlashHypothesisInfo(), and operator+().
|
inline |
Definition at line 96 of file FlashHypothesis.h.
References opdet::FlashHypothesis::Normalize(), and opdet::FlashHypothesis::Print().
Referenced by opdet::FlashHypothesisComparison::FillComparisonInfo(), and opdet::FlashHypothesisComparison::FillFlashHypothesisInfo().
|
inline |
Definition at line 89 of file FlashHypothesis.h.
Referenced by opdet::FlashHypothesisComparison::FillFlashHypothesisInfo(), operator+(), and opdet::FlashHypothesisComparison::RunComparison().
void opdet::FlashHypothesisCollection::Normalize | ( | float | totalPEs | ) |
Definition at line 66 of file FlashHypothesis.cxx.
|
inline |
Definition at line 102 of file FlashHypothesis.h.
References GetLateHypothesis(), GetPromptHypothesis(), opdet::FlashHypothesis::GetVectorSize(), and GetVectorSize().
void opdet::FlashHypothesisCollection::Print | ( | ) |
Definition at line 92 of file FlashHypothesis.cxx.
|
inline |
Definition at line 84 of file FlashHypothesis.h.
void opdet::FlashHypothesisCollection::SetPromptHypAndPromptFraction | ( | const FlashHypothesis & | prompt, |
float | frac | ||
) |
Definition at line 57 of file FlashHypothesis.cxx.
References opdet::FlashHypothesis::GetTotalPEs(), and opdet::FlashHypothesis::Normalize().
Referenced by opdet::FlashHypothesisCreator::CreateFlashHypothesesFromSegment().
void opdet::FlashHypothesisCollection::SetTotalHypAndPromptFraction | ( | const FlashHypothesis & | total, |
float | frac | ||
) |
Definition at line 48 of file FlashHypothesis.cxx.
References opdet::FlashHypothesis::GetTotalPEs(), and opdet::FlashHypothesis::Normalize().
|
private |
Definition at line 82 of file FlashHypothesis.cxx.
|
private |
Definition at line 117 of file FlashHypothesis.h.
|
private |
Definition at line 119 of file FlashHypothesis.h.
|
private |
Definition at line 116 of file FlashHypothesis.h.
|
private |
Definition at line 118 of file FlashHypothesis.h.