1 #ifndef ClusterNoiseFP420_h
2 #define ClusterNoiseFP420_h
24 short noise =
static_cast<short>(noise_ * 10.0 + 0.5) & 0x01FF;
26 (disable_ ? -1 : 1) * noise;
29 std::cout << std::fixed <<
"ClusterNoiseFP420.h:: ElectrodData: noise= " << noise_ <<
" \t"
30 <<
": disable= " << disable_ <<
" \t"
31 <<
"sign Data(=noise*10.0 + 0.5)= " <<
Data <<
" \t"
32 <<
"in getNoise we do: abs(Data)/10.0, so it is OK"
33 <<
" \t" << std::endl;
42 std::map<uint32_t, std::vector<ElectrodData> >
m_noises;
void setData(float noise_, bool disable_)
std::vector< ClusterNoiseFP420::ElectrodData > ElectrodNoiseVector
ElectrodDisable getDisable() const
std::map< uint32_t, ElectrodNoiseVector >::const_iterator ElectrodNoiseMapIterator
std::map< uint32_t, ElectrodNoiseVector > ElectrodNoiseMap
std::vector< ClusterNoiseFP420::ElectrodData >::const_iterator ElectrodNoiseVectorIterator
Abs< T >::type abs(const T &t)
ElectrodNoise getNoise() const
std::map< uint32_t, std::vector< ElectrodData > > m_noises
char data[epos_bytes_allocation]