#include <ClusterNoiseFP420.h>
Definition at line 21 of file ClusterNoiseFP420.h.
ElectrodNoise ClusterNoiseFP420::ElectrodData::getNoise |
( |
| ) |
const |
|
inline |
void ClusterNoiseFP420::ElectrodData::setData |
( |
short |
data | ) |
|
|
inline |
void ClusterNoiseFP420::ElectrodData::setData |
( |
float |
noise_, |
|
|
bool |
disable_ |
|
) |
| |
|
inline |
Definition at line 27 of file ClusterNoiseFP420.h.
References gather_cfg::cout, Data, and alignBH_cfg::fixed.
28 short noise =
static_cast<short> (
noise_*10.0 + 0.5) & 0x01FF;
29 Data = ( disable_ ? -1 : 1 ) * noise;
33 <<
std::fixed <<
"ClusterNoiseFP420.h:: ElectrodData: noise= " <<
noise_ <<
" \t" 34 <<
": disable= " << disable_ <<
" \t" 35 <<
"sign Data(=noise*10.0 + 0.5)= " <<
Data <<
" \t" 36 <<
"in getNoise we do: abs(Data)/10.0, so it is OK" <<
" \t"
short ClusterNoiseFP420::ElectrodData::Data |
|
private |