ATLAS Offline Software
|
Converts the TileRawChannel object into bytes as it is defined at the commissioning 2007. Updated for M6. More...
#include <TileRawChannel2Bytes4.h>
Public Member Functions | |
TileRawChannel2Bytes4 () | |
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. More... | |
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,phase and quality) for a single read-out channel. More... | |
int | gain (unsigned int w) const |
Returns the gain unpacked from the single 32-bit word w. More... | |
float | amplitude (unsigned int w, unsigned int unit) const |
Returns the amplitude in the corresponding units, unpacked from the single 32-bit word w. More... | |
float | time (unsigned int w) const |
Returns the phase of the pulse in ns, unpacked from the single 32-bit word w. More... | |
float | quality (unsigned int w) const |
Returns the quality factor unpacked from the single 32-bit word w. More... | |
void | setVerbose (bool) |
Sets verbose mode true or false. More... | |
Converts the TileRawChannel object into bytes as it is defined at the commissioning 2007. Updated for M6.
In one 32-bit word:
Definition at line 66 of file TileRawChannel2Bytes4.h.
|
inline |
Definition at line 68 of file TileRawChannel2Bytes4.h.
|
inline |
Returns the amplitude in the corresponding units, unpacked from the single 32-bit word w.
Definition at line 102 of file TileRawChannel2Bytes4.h.
|
inline |
Returns the gain unpacked from the single 32-bit word w.
Definition at line 97 of file TileRawChannel2Bytes4.h.
int TileRawChannel2Bytes4::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.
The entry is the single 32-bit word generated using TileRawChannel2Bytes4::getWord() method.
Returns 1 which is the number of entries added to the vector.
Definition at line 10 of file TileRawChannel2Bytes4.cxx.
unsigned int TileRawChannel2Bytes4::getWord | ( | const TileFastRawChannel & | rc, |
unsigned int | unit, | ||
int | gain | ||
) | const |
Returns a single 32-bit word which encodes the TileRawChannel information (gain,amplitude,phase and quality) for a single read-out channel.
Definition at line 21 of file TileRawChannel2Bytes4.cxx.
|
inline |
Returns the quality factor unpacked from the single 32-bit word w.
Definition at line 115 of file TileRawChannel2Bytes4.h.
|
inline |
|
inline |
Returns the phase of the pulse in ns, unpacked from the single 32-bit word w.
Definition at line 110 of file TileRawChannel2Bytes4.h.