dE/dx special large cosine calibration to fix bending shoulder at large costh
More...
#include <CDCDedxCosineEdge.h>
|
std::vector< std::vector< double > > | m_largeCos |
| ADC vs corrected ADC mapping.
|
|
dE/dx special large cosine calibration to fix bending shoulder at large costh
Definition at line 27 of file CDCDedxCosineEdge.h.
◆ getCosEdgePar()
double getCosEdgePar |
( |
int |
side, |
|
|
unsigned int |
ibin |
|
) |
| const |
|
inline |
return specific large cosine constants on give side
- Parameters
-
side | <0 for backward and >0 for forward |
ibin | is bin number for given costh |
Definition at line 145 of file CDCDedxCosineEdge.h.
148 std::vector<double> temp;
149 double coslow = 0.0, coshigh = 0.0;
152 coslow = -0.870; coshigh = -0.850;
153 }
else if (side > 0) {
155 coslow = 0.950; coshigh = 0.960;
157 B2ERROR(
"CDCDedxCosineEdge:choose > 0 for forward and <0 for backward side");
161 if (ibin >= temp.size()) {
162 B2ERROR(
"CDCDedxCosineEdge:Problem with bin index: choose 0 and " << temp.size() - 1);
166 if (temp.size() == 0)
return -99.0;
167 double bw = abs(coshigh - coslow) / temp.size();
168 double bc = coslow + (0.5 + ibin) * bw;
169 std::cout <<
"Par # " << ibin <<
", costh bin centre = " << bc <<
", const =" << temp[ibin] << std::endl;
std::vector< std::vector< double > > m_largeCos
ADC vs corrected ADC mapping.
◆ getMean() [1/2]
double getMean |
( |
double |
costh | ) |
const |
|
inline |
return calibration constant for cosine value
- Parameters
-
costh | is a signed cosine theta value so by definition it recog it's side |
Definition at line 89 of file CDCDedxCosineEdge.h.
◆ getMean() [2/2]
double getMean |
( |
int |
side, |
|
|
unsigned int |
ibin |
|
) |
| const |
|
inline |
return calibration constant for given side and bin #
- Parameters
-
side | <0 for backward and >0 for forward |
ibin | is bin number for given costh |
Definition at line 66 of file CDCDedxCosineEdge.h.
◆ getSize()
int getSize |
( |
const int |
side | ) |
const |
|
inline |
Get the number of bins of requested side.
- Parameters
-
side | <0 for backward and >0 for forward |
Definition at line 49 of file CDCDedxCosineEdge.h.
◆ printCosEdgePars()
void printCosEdgePars |
( |
int |
side | ) |
|
|
inline |
print large cosine constants array on requested side
- Parameters
-
side | <0 for backward and >0 for forward constants |
Definition at line 177 of file CDCDedxCosineEdge.h.
◆ setCosthEdgePar()
void setCosthEdgePar |
( |
int |
side, |
|
|
unsigned int |
ibin, |
|
|
double |
value |
|
) |
| |
|
inline |
set specific hadron parameter
- Parameters
-
side | 0 for backward and 1 for forward |
ibin | number starts from 0 |
value | of parameter to set |
Definition at line 208 of file CDCDedxCosineEdge.h.
The documentation for this class was generated from the following file: