|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TILEBYTESTREAM_TILERAWCHANNEL2BYTES2_H
6 #define TILEBYTESTREAM_TILERAWCHANNEL2BYTES2_H
73 inline int gain(
unsigned int w)
const;
77 inline float time(
unsigned int w)
const;
79 inline float quality(
unsigned int w)
const;
const float AMPLITUDE_MINVALUE
bool m_verbose
Verbose flag.
const int AMPLITUDE_SHIFT2
const float AMPLITUDE_OFFSET2
Converts the TileRawChannel object into bytes as it is defined at the testbeam.
const int AMPLITUDE_RANGE2
const unsigned int GAIN_BIT2
int getBytes(const TileFastRawChannel *rc, int gain, std::vector< unsigned int > &v)
Adds an entry to the vector<int> v for this TileRawChannel.
const float QUALITY_FACTOR2
const float QUALITY_OFFSET2
float time(unsigned int w) const
Returns the phase of the pulse in ns, unpacked from the single 32-bit word w.
unsigned int getWord(const TileFastRawChannel *rc, int gain)
Returns a single 32-bit word which encodes the TileRawChannel information (gain,amplitude,...
const unsigned int GAIN_RANGE2
float amplitude(unsigned int w) const
Returns the non calibrated amplitude unpacked from the single 32-bit word w.
int gain(unsigned int w) const
Returns the gain unpacked from the single 32-bit word w.
const float AMPLITUDE_FACTOR2
float quality(unsigned int w) const
Returns the quality factor unpacked from the single 32-bit word w.
void setVerbose(bool verbose)
Sets verbose mode true or false.