1 #ifndef CastorQIEShape_h
2 #define CastorQIEShape_h
18 float lowEdge (
unsigned fAdc)
const;
19 float highEdge (
unsigned fAdc)
const;
20 float center (
unsigned fAdc)
const;
22 unsigned range (
unsigned fAdc)
const {
return (fAdc >> 5) & 0x3;}
23 unsigned local (
unsigned fAdc)
const {
return fAdc & 0x1f;}
unsigned local(unsigned fAdc) const
bool setLowEdges(const float fValue[32])
unsigned range(unsigned fAdc) const
float highEdge(unsigned fAdc) const
float center(unsigned fAdc) const
bool setLowEdge(float fValue, unsigned fAdc)
float lowEdge(unsigned fAdc) const