#include <XiaListModeDataEncoder.hpp>
Definition at line 15 of file XiaListModeDataEncoder.hpp.
§ XiaListModeDataEncoder()
XiaListModeDataEncoder::XiaListModeDataEncoder |
( |
| ) |
|
|
inline |
§ ~XiaListModeDataEncoder()
XiaListModeDataEncoder::~XiaListModeDataEncoder |
( |
| ) |
|
|
inline |
§ EncodeEsums()
Encodes the Esums
- Parameters
-
[in] | data | : The data to encode |
[in] | mask | : The object with the data masks |
- Returns
- The encoded data word.
This needs to be updated so that it actually formats the baseline in one of the IEEE standard formats properly before we return.
Definition at line 151 of file XiaListModeDataEncoder.cpp.
§ EncodeTrace()
vector< unsigned int > XiaListModeDataEncoder::EncodeTrace |
( |
const std::vector< unsigned int > & |
trc, |
|
|
const std::pair< unsigned int, unsigned int > & |
mask |
|
) |
| |
|
private |
Encodes the Trace
- Parameters
-
[in] | data | : The data to encode |
[in] | mask | : The object with the data masks |
- Returns
- The encoded data word.
Definition at line 133 of file XiaListModeDataEncoder.cpp.
§ EncodeWordOne()
Encodes the second word of the data buffer.
- Parameters
-
[in] | data | : The data to encode |
[in] | mask | : The object with the data masks |
- Returns
- The encoded data word.
Definition at line 104 of file XiaListModeDataEncoder.cpp.
§ EncodeWordThree()
Encodes the fourth word of the data buffer.
- Parameters
-
[in] | data | : The data to encode |
[in] | mask | : The object with the data masks |
- Returns
- The encoded data word.
Definition at line 122 of file XiaListModeDataEncoder.cpp.
§ EncodeWordTwo()
Encodes the third word of the data buffer.
- Parameters
-
[in] | data | : The data to encode |
[in] | mask | : The object with the data masks |
- Returns
- The encoded data word.
Definition at line 109 of file XiaListModeDataEncoder.cpp.
§ EncodeWordZero()
Encodes the first word of the data buffer.
- Parameters
-
[in] | data | : The data to encode |
[in] | mask | : The object with the data masks |
- Returns
- The encoded data word.
Definition at line 74 of file XiaListModeDataEncoder.cpp.
§ EncodeXiaData()
std::vector< unsigned int > XiaListModeDataEncoder::EncodeXiaData |
( |
const XiaData & |
data, |
|
|
const DataProcessing::FIRMWARE & |
firmware, |
|
|
const unsigned int & |
frequency |
|
) |
| |
Method that will create a Pixie List Mode Data Event from an XiaData object.
- Parameters
-
[in] | data | : The data that we want to encode |
[in] | firmware | : The firmware version to encode into |
[in] | frequency | : The sampling frequency in MHz or MS/s |
- Returns
- A vector containing the encoded data.
Each QDC value takes up a single 32-bit word. No need to do anything special here.
Trace comes last since it comes after the header.
Definition at line 18 of file XiaListModeDataEncoder.cpp.
The documentation for this class was generated from the following files: