13 std::vector<unsigned int>& v)
const
26 float tmp =
rc.amplitude();
27 if (
unit != 0 &&
gain == 1) tmp = tmp * 64.0F;
34 unsigned int q = std::max(0,
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
const float AMPLITUDE_OFFSET4[2]
const float QUALITY_FACTOR4
const unsigned int GAIN_BIT4
const float QUALITY_OFFSET4
const int QUALITY_RANGE4_NOFLAG
const int AMPLITUDE_SHIFT4
const float AMPLITUDE_FACTOR4[4]
const int AMPLITUDE_RANGE4
unsigned int getWord(const TileFastRawChannel &rc, unsigned int unit, int gain) const
Returns a single 32-bit word which encodes the TileRawChannel information (gain,amplitude,...
int gain(unsigned int w) const
Returns the gain unpacked from the single 32-bit word w.
int getBytes(const TileFastRawChannel &rc, unsigned int unit, int gain, std::vector< unsigned int > &v) const
Adds an entry to the vector<int> v for this TileRawChannel.