![]() |
AliPhysics
d3bfcb9 (d3bfcb9)
|
#include <AliFMDEncodedEdx.h>
Public Member Functions | |
Spec (UShort_t nb, Double_t l, Double_t h) | |
UInt_t | Encode (Double_t v) const |
Double_t | Decode (UInt_t b, Double_t &w) const |
Double_t | Decode (UInt_t b) const |
void | FillBinArray (TArrayD &a) const |
void | Print (Option_t *opt="") const |
Static Public Member Functions | |
static void | Test () |
Public Attributes | |
UShort_t | nBins |
Double_t | min |
Double_t | max |
UShort_t | cutBin1 |
Double_t | cutVal1 |
UShort_t | cutBin2 |
Double_t | cutVal2 |
Specification of the bins
Definition at line 59 of file AliFMDEncodedEdx.h.
Constructor
nb | Total number of bins |
l | Lower value |
h | Upper value |
Definition at line 74 of file AliFMDEncodedEdx.h.
Referenced by AliFMDEncodedEdx::GetdEAxis(), and AliFMDEncodedEdx::GetdLAxis().
Decode a bin into a value
b | Encoded (bin number) value |
w | On return, the width of the bin |
Definition at line 118 of file AliFMDEncodedEdx.h.
Referenced by Decode(), AliFMDEncodedEdx::DecodeOne(), and Print().
Decode a bin into a value
b | Encoded (bin number) value |
Definition at line 147 of file AliFMDEncodedEdx.h.
Encode a value
v | Value to encode |
Definition at line 88 of file AliFMDEncodedEdx.h.
Referenced by AliFMDEncodedEdx::EncodeOne(), and Print().
|
inline |
Fill an array with values appropriate for defining a histogram axis with the natural binning of the encoding
a | On return, the modified bin-border array |
Definition at line 158 of file AliFMDEncodedEdx.h.
Referenced by AliFMDMCTrackELoss::CreateOutputObjects(), AliFMDEncodedEdx::Make1D(), AliFMDEncodedEdx::Make2D(), AliFMDMCTrackInspector::RingHistos::MakeIncreasingAxis(), and AliFMDMCHitEnergyFitter::RingHistos::MakeIncreasingAxis().
|
inline |
Print information.
opt | If this starts with `T' also run a test |
Definition at line 174 of file AliFMDEncodedEdx.h.
Referenced by Test().
|
inlinestatic |
Run a test
Definition at line 191 of file AliFMDEncodedEdx.h.
UShort_t AliFMDEncodedEdx::Spec::cutBin1 |
Definition at line 63 of file AliFMDEncodedEdx.h.
Referenced by Decode(), Encode(), and FillBinArray().
UShort_t AliFMDEncodedEdx::Spec::cutBin2 |
Definition at line 65 of file AliFMDEncodedEdx.h.
Referenced by Decode(), Encode(), and FillBinArray().
Double_t AliFMDEncodedEdx::Spec::cutVal1 |
Definition at line 64 of file AliFMDEncodedEdx.h.
Referenced by Decode(), Encode(), and FillBinArray().
Double_t AliFMDEncodedEdx::Spec::cutVal2 |
Definition at line 66 of file AliFMDEncodedEdx.h.
Referenced by Decode(), Encode(), and FillBinArray().
Double_t AliFMDEncodedEdx::Spec::max |
Definition at line 62 of file AliFMDEncodedEdx.h.
Referenced by Decode(), Encode(), and AliFMDEncodedEdx::EncodeOne().
Double_t AliFMDEncodedEdx::Spec::min |
Definition at line 61 of file AliFMDEncodedEdx.h.
Referenced by Decode(), Encode(), AliFMDEncodedEdx::EncodeOne(), and FillBinArray().
UShort_t AliFMDEncodedEdx::Spec::nBins |
Definition at line 60 of file AliFMDEncodedEdx.h.
Referenced by AliFMDEncodedEdx::DecodeOne(), AliFMDEncodedEdx::EncodeOne(), FillBinArray(), and Print().