Specialized class for holding the PXD dE/dx PDFs.
More...
#include <PXDdEdxPDFs.h>
|
| PXDdEdxPDFs ()=default |
| Default constructor.
|
|
const TH2F * | getPXDPDF (const unsigned int hypothesis, const bool truncated) const |
| Return the PXD dE/dx PDF for the given particle hypothesis.
|
|
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 (PXDdEdxPDFs, 1) |
| Class version for the ROOT streamer.
|
|
Specialized class for holding the PXD dE/dx PDFs.
Definition at line 26 of file PXDdEdxPDFs.h.
◆ getPDF()
const TH2F * getPDF |
( |
const unsigned int |
hypothesis, |
|
|
const bool |
truncated |
|
) |
| const |
|
inlineinherited |
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.
◆ getPXDPDF()
const TH2F * getPXDPDF |
( |
const unsigned int |
hypothesis, |
|
|
const bool |
truncated |
|
) |
| const |
|
inline |
Return the PXD dE/dx PDF for the given particle hypothesis.
- Parameters
-
Definition at line 40 of file PXDdEdxPDFs.h.
41 {
42 return getPDF(hypothesis, truncated);
43 }
const TH2F * getPDF(const unsigned int hypothesis, const bool truncated) const
Return the dE/dx PDF for the given particle hypothesis.
◆ setPDF()
void setPDF |
( |
const TH2F & |
pdf, |
|
|
const unsigned int |
hypothesis, |
|
|
const bool |
truncated |
|
) |
| |
|
inlineinherited |
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: