LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 93 of file FlashHypothesis.h.
|
inline |
Definition at line 96 of file FlashHypothesis.h.
|
inline |
Definition at line 97 of file FlashHypothesis.h.
References opdet::FlashHypothesis::FlashHypothesis().
|
inline |
Definition at line 103 of file FlashHypothesis.h.
|
private |
Definition at line 83 of file FlashHypothesis.cxx.
References util::abs().
|
inline |
Definition at line 120 of file FlashHypothesis.h.
|
inline |
Definition at line 123 of file FlashHypothesis.h.
Referenced by opdet::FlashHypothesisComparison::FillComparisonInfo(), opdet::FlashHypothesisComparison::FillFlashHypothesisInfo(), and operator+().
|
inline |
Definition at line 119 of file FlashHypothesis.h.
|
inline |
Definition at line 122 of file FlashHypothesis.h.
Referenced by opdet::FlashHypothesisComparison::FillComparisonInfo(), opdet::FlashHypothesisComparison::FillFlashHypothesisInfo(), and operator+().
|
inline |
Definition at line 124 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 117 of file FlashHypothesis.h.
Referenced by opdet::FlashHypothesisComparison::FillFlashHypothesisInfo(), operator+(), and opdet::FlashHypothesisComparison::RunComparison().
void opdet::FlashHypothesisCollection::Normalize | ( | float | totalPEs | ) |
Definition at line 76 of file FlashHypothesis.cxx.
|
inline |
Definition at line 130 of file FlashHypothesis.h.
References GetLateHypothesis(), GetPromptHypothesis(), opdet::FlashHypothesis::GetVectorSize(), and GetVectorSize().
void opdet::FlashHypothesisCollection::Print | ( | ) |
Definition at line 103 of file FlashHypothesis.cxx.
|
inline |
Definition at line 108 of file FlashHypothesis.h.
void opdet::FlashHypothesisCollection::SetPromptHypAndPromptFraction | ( | const FlashHypothesis & | prompt, |
float | frac | ||
) |
Definition at line 65 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 53 of file FlashHypothesis.cxx.
References opdet::FlashHypothesis::GetTotalPEs(), and opdet::FlashHypothesis::Normalize().
|
private |
Definition at line 93 of file FlashHypothesis.cxx.
|
private |
Definition at line 147 of file FlashHypothesis.h.
|
private |
Definition at line 149 of file FlashHypothesis.h.
|
private |
Definition at line 146 of file FlashHypothesis.h.
|
private |
Definition at line 148 of file FlashHypothesis.h.