Base class for holding the dE/dx PDFs.
More...
#include <dEdxPDFs.h>
|
| dEdxPDFs ()=default |
| Default constructor.
|
|
const TH2F * | getPDF (const unsigned int hypothesis, const bool truncated) const |
| Return the dE/dx PDF for the given particle hypothesis.
|
|
void | setPDF (const TH2F &pdf, const unsigned int hypothesis, const bool truncated) |
| Set the dE/dx PDF for the given particle hypothesis.
|
|
|
| ClassDef (dEdxPDFs, 1) |
| Class version for the ROOT streamer.
|
|
Base class for holding the dE/dx PDFs.
Definition at line 31 of file dEdxPDFs.h.
◆ getPDF()
const TH2F * getPDF |
( |
const unsigned int |
hypothesis, |
|
|
const bool |
truncated |
|
) |
| const |
|
inline |
Return the dE/dx PDF for the given particle hypothesis.
- Parameters
-
Definition at line 45 of file dEdxPDFs.h.
46 {
48 }
std::array< TH2F, Const::ChargedStable::c_SetSize > m_dEdxPDFs
Array of dE/dx PDFs for each particle hypothesis.
std::array< TH2F, Const::ChargedStable::c_SetSize > m_dEdxPDFsTruncated
Array of truncated dE/dx PDFs for each particle hypothesis.
◆ setPDF()
void setPDF |
( |
const TH2F & |
pdf, |
|
|
const unsigned int |
hypothesis, |
|
|
const bool |
truncated |
|
) |
| |
|
inline |
Set the dE/dx PDF for the given particle hypothesis.
- Parameters
-
Definition at line 56 of file dEdxPDFs.h.
57 {
58 if (truncated)
60 else
62 }
◆ m_dEdxPDFs
Array of dE/dx PDFs for each particle hypothesis.
Definition at line 67 of file dEdxPDFs.h.
◆ m_dEdxPDFsTruncated
Array of truncated dE/dx PDFs for each particle hypothesis.
Definition at line 70 of file dEdxPDFs.h.
The documentation for this class was generated from the following file: