dE/dx electronic ADC non-linearity correction for highly ionising particles (used in offline hadron saturation calibration) parameters are for X vs Y relation and sep for inner and outer layer vector array 0,1 for inner and 2,3 for outer layers More...
#include <CDCDedxADCNonLinearity.h>
Public Member Functions | |
CDCDedxADCNonLinearity () | |
Default constructor. | |
CDCDedxADCNonLinearity (const std::vector< std::vector< double > > &nonlinearity) | |
Constructor. | |
~CDCDedxADCNonLinearity () | |
Destructor. | |
unsigned int | getSize (int layer, int axis) const |
Get the number of bins for the non-linearity angle correction. | |
double | getCorrectedADC (double ADC, int layer) const |
Return corrected ADC with given parameters. | |
double | getNonLinearityPar (int layer, int axis, unsigned int par) const |
return specific hadron parameter | |
void | printNonLinearityPars (int layer, int axis) const |
print requested hadron parameter array | |
void | setNonLinearityPar (unsigned int layer, unsigned int axis, unsigned int par, double value) |
set specific hadron parameter | |
Private Member Functions | |
ClassDef (CDCDedxADCNonLinearity, 1) | |
ClassDef. | |
Private Attributes | |
std::vector< std::vector< double > > | m_nonlADC |
ADC vs corrected ADC mapping. | |
dE/dx electronic ADC non-linearity correction for highly ionising particles (used in offline hadron saturation calibration) parameters are for X vs Y relation and sep for inner and outer layer vector array 0,1 for inner and 2,3 for outer layers
Definition at line 29 of file CDCDedxADCNonLinearity.h.
|
inline |
|
inlineexplicit |
Constructor.
Definition at line 40 of file CDCDedxADCNonLinearity.h.
|
inline |
|
inline |
Return corrected ADC with given parameters.
ADC | uncorrected version |
layer | outer vs inner 0 to 56 indexing |
Definition at line 79 of file CDCDedxADCNonLinearity.h.
|
inline |
return specific hadron parameter
layer | outer(8-55) vs inner(0-7) |
axis | 0 for X and 1 for Y |
par | number starts from 0 |
Definition at line 118 of file CDCDedxADCNonLinearity.h.
|
inline |
Get the number of bins for the non-linearity angle correction.
layer | outer vs inner 0 to 56 indexing |
axis | 0 for X and 1 for Y |
Definition at line 52 of file CDCDedxADCNonLinearity.h.
|
inline |
print requested hadron parameter array
layer | outer vs inner |
axis | 0 for X and 1 for Y |
Definition at line 153 of file CDCDedxADCNonLinearity.h.
|
inline |
set specific hadron parameter
layer | outer(8-55) vs inner(0-7) |
axis | 0 for X and 1 for Y |
par | number starts from 0 |
value | of parameter to set |
Definition at line 188 of file CDCDedxADCNonLinearity.h.
|
private |
ADC vs corrected ADC mapping.
Definition at line 221 of file CDCDedxADCNonLinearity.h.