|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TILEBYTESTREAM_TILERAWCHANNEL2BYTES_H
6 #define TILEBYTESTREAM_TILERAWCHANNEL2BYTES_H
55 inline int gain(
short i)
const;
59 inline float time(
short i)
const;
void setVerbose(bool verbose)
Sets verbose mode true or false.
float amplitude(short i) const
Returns the non calibrated amplitude unpacked from a single 16-bit word w.
int time_range()
Returns TIME_RANGE .
const int AMPLITUDE_RANGE
int amplitude_range()
Returns AMPLITUDE_RANGE .
bool m_verbose
Verbose flag.
const float QUALITY_FACTOR
float quality(short i) const
Returns the quality factor unpacked from a single 16-bit word w.
int gain(short i) const
Returns the gain unpacked from the single 16-bit word w.
int getBytes(const TileFastRawChannel *rc, int gain, std::vector< short > &v)
Pack TileRawChannel information (gain, amplitude, phase and quality) in 3 16-bit words.
float time(short i) const
Returns the phase of the pulse, unpacked from a single 16-bit word w.
Converts the TileRawChannel object into bytes.
int quality_range()
Retuns QUALITY_RANGE .
const float AMPLITUDE_FACTOR