#include <FlashHypothesis.h>
Definition at line 73 of file FlashHypothesis.h.
opdet::FlashHypothesisCollection::FlashHypothesisCollection |
( |
| ) |
|
|
inline |
opdet::FlashHypothesisCollection::FlashHypothesisCollection |
( |
size_t |
s | ) |
|
|
inline |
Definition at line 78 of file FlashHypothesis.h.
FlashHypothesis _prompt_hyp
then echo File list $list not found else cat $list while read file do echo $file sed s
FlashHypothesis _late_hyp
Definition at line 80 of file FlashHypothesis.h.
void SetPromptAndLateHyp(const FlashHypothesis &prompt, const FlashHypothesis &late)
void opdet::FlashHypothesisCollection::CheckFrac |
( |
float |
f | ) |
|
|
private |
Definition at line 74 of file FlashHypothesis.cxx.
76 if (
std::abs(f-0.0) < std::numeric_limits<float>::epsilon() ||
77 std::abs(f-1.0) < std::numeric_limits<float>::epsilon() ||
81 throw std::runtime_error(
"ERROR in FlashHypothesisCollection: Input fraction is not in valid range.");
float opdet::FlashHypothesisCollection::GetLateFraction |
( |
| ) |
const |
|
inline |
const FlashHypothesis& opdet::FlashHypothesisCollection::GetLateHypothesis |
( |
| ) |
const |
|
inline |
float opdet::FlashHypothesisCollection::GetPromptFraction |
( |
| ) |
const |
|
inline |
const FlashHypothesis& opdet::FlashHypothesisCollection::GetPromptHypothesis |
( |
| ) |
const |
|
inline |
const FlashHypothesis& opdet::FlashHypothesisCollection::GetTotalHypothesis |
( |
| ) |
const |
|
inline |
size_t opdet::FlashHypothesisCollection::GetVectorSize |
( |
| ) |
const |
|
inline |
Definition at line 88 of file FlashHypothesis.h.
size_t GetVectorSize() const
FlashHypothesis _prompt_hyp
void opdet::FlashHypothesisCollection::Normalize |
( |
float |
totalPEs | ) |
|
Definition at line 68 of file FlashHypothesis.cxx.
FlashHypothesis _prompt_hyp
void Normalize(float const &totalPE_target)
FlashHypothesis _late_hyp
Definition at line 101 of file FlashHypothesis.h.
104 throw std::runtime_error(
"ERROR in FlashHypothesisCollectionAddition: Cannot add hypothesis of different size");
107 ph = ph + fhc.GetPromptHypothesis();
109 lh = lh + fhc.GetLateHypothesis();
FlashHypothesisCollection()
const FlashHypothesis & GetLateHypothesis() const
const FlashHypothesis & GetPromptHypothesis() const
size_t GetVectorSize() const
void opdet::FlashHypothesisCollection::Print |
( |
| ) |
|
Definition at line 94 of file FlashHypothesis.cxx.
FlashHypothesis _prompt_hyp
FlashHypothesis _total_hyp
FlashHypothesis _late_hyp
BEGIN_PROLOG could also be cout
Definition at line 83 of file FlashHypothesis.h.
FlashHypothesis _prompt_hyp
FlashHypothesis _late_hyp
void opdet::FlashHypothesisCollection::SetPromptHypAndPromptFraction |
( |
const FlashHypothesis & |
prompt, |
|
|
float |
frac |
|
) |
| |
Definition at line 59 of file FlashHypothesis.cxx.
FlashHypothesis _prompt_hyp
FlashHypothesis _total_hyp
void Normalize(float const &totalPE_target)
FlashHypothesis _late_hyp
void opdet::FlashHypothesisCollection::SetTotalHypAndPromptFraction |
( |
const FlashHypothesis & |
total, |
|
|
float |
frac |
|
) |
| |
Definition at line 50 of file FlashHypothesis.cxx.
FlashHypothesis _prompt_hyp
FlashHypothesis _total_hyp
void Normalize(float const &totalPE_target)
FlashHypothesis _late_hyp
void opdet::FlashHypothesisCollection::UpdateTotalHyp |
( |
| ) |
|
|
private |
Definition at line 84 of file FlashHypothesis.cxx.
88 if(total_pe > std::numeric_limits<float>::epsilon())
float GetTotalPEs() const
FlashHypothesis _prompt_hyp
FlashHypothesis _total_hyp
FlashHypothesis _late_hyp
float opdet::FlashHypothesisCollection::_prompt_frac |
|
private |
The documentation for this class was generated from the following files: