dE/dx wire gain calibration constants
More...
#include <CDCDedxCosineCor.h>
|
std::vector< double > | m_cosgains |
| dE/dx gains in cos(theta) bins
|
|
dE/dx wire gain calibration constants
Definition at line 36 of file CDCDedxCosineCor.h.
◆ getMean() [1/2]
double getMean |
( |
double |
costh | ) |
const |
|
inline |
Return dE/dx mean value for given cos(theta)
- Parameters
-
costh | for const with costh theta value |
Definition at line 99 of file CDCDedxCosineCor.h.
105 thisbin = bin + 1; nextbin = bin + 2;
107 if ((costh - 1) > -1.0 * (binsize / 2) || (costh < 0 && std::fabs(costh) < (binsize / 2))) {
108 thisbin = bin - 1; nextbin = bin;
111 double frac = ((costh - 0.5 * binsize + 1.0) / binsize) - thisbin;
113 if (thisbin < 0 || (
unsigned)nextbin >=
m_cosgains.size()) {
114 B2WARNING(
"Problem with extrapolation of CDC dE/dx cosine correction");
◆ getMean() [2/2]
double getMean |
( |
unsigned int |
bin | ) |
const |
|
inline |
Return dE/dx mean value for the given bin.
- Parameters
-
bin | for const with cosine bin |
Definition at line 90 of file CDCDedxCosineCor.h.
The documentation for this class was generated from the following file: