dE/dx wire gain calibration constants More...
#include <CDCDedxCosineCor.h>
Public Member Functions | |
CDCDedxCosineCor () | |
Default constructor. | |
CDCDedxCosineCor (const std::vector< double > &cosgains) | |
Constructor. | |
~CDCDedxCosineCor () | |
Destructor. | |
CDCDedxCosineCor & | operator*= (CDCDedxCosineCor const &rhs) |
Combine payloads. | |
unsigned int | getSize () const |
Get the number of bins for the cosine correction. | |
const std::vector< double > & | getCosCor () const |
Get the calibration constants. | |
void | setCosCor (unsigned int bin, double value) |
Set the cosine correction. | |
double | getMean (unsigned int bin) const |
Return dE/dx mean value for the given bin. | |
double | getMean (double costh) const |
Return dE/dx mean value for given cos(theta) | |
Private Member Functions | |
ClassDef (CDCDedxCosineCor, 8) | |
ClassDef. | |
Private Attributes | |
std::vector< double > | m_cosgains |
dE/dx gains in cos(theta) bins | |
dE/dx wire gain calibration constants
Definition at line 26 of file CDCDedxCosineCor.h.
|
inline |
|
inlineexplicit |
Constructor.
cosgains | vector of calibration constants |
Definition at line 39 of file CDCDedxCosineCor.h.
|
inline |
|
inline |
Get the calibration constants.
Definition at line 73 of file CDCDedxCosineCor.h.
|
inline |
Return dE/dx mean value for given cos(theta)
costh | for const with costh theta value |
Definition at line 102 of file CDCDedxCosineCor.h.
|
inline |
Return dE/dx mean value for the given bin.
bin | for const with cosine bin |
Definition at line 91 of file CDCDedxCosineCor.h.
|
inline |
Get the number of bins for the cosine correction.
Definition at line 67 of file CDCDedxCosineCor.h.
|
inline |
Combine payloads.
Definition at line 49 of file CDCDedxCosineCor.h.
|
inline |
Set the cosine correction.
bin | bin number |
value | value to be set |
Definition at line 80 of file CDCDedxCosineCor.h.
|
private |
dE/dx gains in cos(theta) bins
Definition at line 132 of file CDCDedxCosineCor.h.