LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
DiscreteProbabilityData class. More...
Public Member Functions | |
DiscreteProbabilityDatum (const float x, const float densityDatum, const float cumulativeDatum, const float width) | |
Constructor. More... | |
float | GetX () const |
Get the x value for the datum. More... | |
float | GetDensityDatum () const |
Get the probability density for the datum. More... | |
float | GetCumulativeDatum () const |
Get the cumulative probability for the datum. More... | |
float | GetWidth () const |
Get the width of the datum. More... | |
Private Attributes | |
float | m_x |
The x coordinate. More... | |
float | m_densityDatum |
The probability density value. More... | |
float | m_cumulativeDatum |
The cumulative probability value. More... | |
float | m_width |
The width of the probability bin. More... | |
DiscreteProbabilityData class.
Definition at line 140 of file LArDiscreteProbabilityVector.h.
|
inline |
Constructor.
x | the x value |
densityDatum | the probability density for the corresponding x |
cumulativeDatum | the cumulative probability for the corresponding x |
width | the width of the bin |
Definition at line 329 of file LArDiscreteProbabilityVector.h.
|
inline |
Get the cumulative probability for the datum.
Definition at line 354 of file LArDiscreteProbabilityVector.h.
References m_cumulativeDatum.
|
inline |
Get the probability density for the datum.
Definition at line 347 of file LArDiscreteProbabilityVector.h.
References m_densityDatum.
|
inline |
Get the width of the datum.
Definition at line 361 of file LArDiscreteProbabilityVector.h.
References m_width.
|
inline |
Get the x value for the datum.
Definition at line 340 of file LArDiscreteProbabilityVector.h.
References m_x.
Referenced by lar_content::DiscreteProbabilityVector::GetAllAtIndex().
|
private |
The cumulative probability value.
Definition at line 184 of file LArDiscreteProbabilityVector.h.
Referenced by GetCumulativeDatum().
|
private |
The probability density value.
Definition at line 183 of file LArDiscreteProbabilityVector.h.
Referenced by GetDensityDatum().
|
private |
The width of the probability bin.
Definition at line 185 of file LArDiscreteProbabilityVector.h.
Referenced by GetWidth().
|
private |
The x coordinate.
Definition at line 182 of file LArDiscreteProbabilityVector.h.
Referenced by GetX().