|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TILEBYTESTREAM_TILERAWCHANNEL2BYTES4_H
6 #define TILEBYTESTREAM_TILERAWCHANNEL2BYTES4_H
76 int gain, std::vector<unsigned int>&
v)
const;
82 inline int gain(
unsigned int w)
const;
86 inline float time(
unsigned int w)
const;
88 inline float quality(
unsigned int w)
const;
106 if (
unit != 0 &&
g == 1)
a =
a / 64.0F;
int gain(unsigned int w) const
Returns the gain unpacked from the single 32-bit word w.
float quality(unsigned int w) const
Returns the quality factor unpacked from the single 32-bit word w.
const float QUALITY_THRESHOLD
Converts the TileRawChannel object into bytes as it is defined at the commissioning 2007....
const unsigned int GAIN_RANGE4
void setVerbose(bool)
Sets verbose mode true or false.
const int AMPLITUDE_RANGE4
const float QUALITY_OFFSET4
float amplitude(unsigned int w, unsigned int unit) const
Returns the amplitude in the corresponding units, 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.
const float AMPLITUDE_OFFSET4[2]
float time(unsigned int w) const
Returns the phase of the pulse in ns, unpacked from the single 32-bit word w.
const int QUALITY_RANGE4_FLAG
const float AMPLITUDE_FACTOR4[4]
const float QUALITY_FACTOR4
const int AMPLITUDE_SHIFT4
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,...
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
const int QUALITY_RANGE4_NOFLAG
const unsigned int GAIN_BIT4