![]() |
ATLAS Offline Software
|
#include <TestVectorTool.h>
Public Member Functions | |
StatusCode | initialize () override |
StatusCode | prepareTV (const std::string &inputFile, std::vector< uint64_t > &testVector) const |
Prepare test vector in the form of std::vector<uint64_t>, can be either .txt or .bin. More... | |
StatusCode | compare (const std::vector< uint64_t > &tv_1, const std::vector< uint64_t > &tv_2) const |
Compare two TV in the form of std::vector<uint64_t> More... | |
StatusCode | compare (const EFTrackingFPGAIntegration::TVHolder &tvHolder, const std::vector< uint64_t > &tv_comp) const |
Compare two TV in the form of TVHolder and std::vector<uint64_t> More... | |
StatusCode | encodePixelL2G (const xAOD::PixelClusterContainer *pixelClusters, std::vector< uint64_t > &encodedData) const |
Encode xAOD pixel cluster to L2G EDM TV. More... | |
StatusCode | encodeStripL2G (const xAOD::StripClusterContainer *stripClusters, std::vector< uint64_t > &encodedData) const |
Encode xAOD strip cluster to L2G EDM TV. More... | |
Definition at line 46 of file TestVectorTool.h.
StatusCode TestVectorTool::compare | ( | const EFTrackingFPGAIntegration::TVHolder & | tvHolder, |
const std::vector< uint64_t > & | tv_comp | ||
) | const |
Compare two TV in the form of TVHolder and std::vector<uint64_t>
tvHolder | The TVHolder object, the refTV in the TVHolder will be compared to the output |
tv_comp | The vector to be compared to the refTV |
Definition at line 119 of file TestVectorTool.cxx.
StatusCode TestVectorTool::compare | ( | const std::vector< uint64_t > & | tv_1, |
const std::vector< uint64_t > & | tv_2 | ||
) | const |
Compare two TV in the form of std::vector<uint64_t>
Definition at line 79 of file TestVectorTool.cxx.
StatusCode TestVectorTool::encodePixelL2G | ( | const xAOD::PixelClusterContainer * | pixelClusters, |
std::vector< uint64_t > & | encodedData | ||
) | const |
Encode xAOD pixel cluster to L2G EDM TV.
pixelClusters | The xAOD::PixelClusterContainer object |
encodedData | The encoded data in the form of std::vector<uint64_t> |
Definition at line 159 of file TestVectorTool.cxx.
StatusCode TestVectorTool::encodeStripL2G | ( | const xAOD::StripClusterContainer * | stripClusters, |
std::vector< uint64_t > & | encodedData | ||
) | const |
Encode xAOD strip cluster to L2G EDM TV.
stripClusters | The xAOD::StripClusterContainer object |
encodedData | The encoded data in the form of std::vector<uint64_t> |
Definition at line 265 of file TestVectorTool.cxx.
|
override |
Definition at line 15 of file TestVectorTool.cxx.
StatusCode TestVectorTool::prepareTV | ( | const std::string & | inputFile, |
std::vector< uint64_t > & | testVector | ||
) | const |
Prepare test vector in the form of std::vector<uint64_t>, can be either .txt or .bin.
inputFile | The input file name to be opened |
testVector | The vector of uint64_t to be filled |
Definition at line 22 of file TestVectorTool.cxx.