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;
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
std::map< uint32_t, ElectrodNoiseVector >::const_iterator ElectrodNoiseMapIterator
std::map< uint32_t, ElectrodNoiseVector > ElectrodNoiseMap
std::vector< ClusterNoiseFP420::ElectrodData >::const_iterator ElectrodNoiseVectorIterator
ElectrodNoise getNoise() const
Abs< T >::type abs(const T &t)
std::map< uint32_t, std::vector< ElectrodData > > m_noises
char data[epos_bytes_allocation]
ElectrodDisable getDisable() const