Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExaTrkXMetricHookTests.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "Acts/Plugins/ExaTrkX/TorchTruthGraphMetricsHook.hpp"
#include <cassert>
#include <iostream>
#include <torch/torch.h>
+ Include dependency graph for ExaTrkXMetricHookTests.cpp:

Go to the source code of this file.

Functions

void testTruthTestGraph (std::vector< int64_t > &truthGraph, std::vector< int64_t > &testGraph, const std::string &resStr)
 
 BOOST_AUTO_TEST_CASE (same_graph)
 
 BOOST_AUTO_TEST_CASE (same_graph_large_numbers)
 
 BOOST_AUTO_TEST_CASE (fifty_fifty)
 

Function Documentation

BOOST_AUTO_TEST_CASE ( same_graph  )

Definition at line 40 of file ExaTrkXMetricHookTests.cpp.

View newest version in sPHENIX GitHub at line 40 of file ExaTrkXMetricHookTests.cpp

References testTruthTestGraph().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( same_graph_large_numbers  )

Definition at line 63 of file ExaTrkXMetricHookTests.cpp.

View newest version in sPHENIX GitHub at line 63 of file ExaTrkXMetricHookTests.cpp

References k.

BOOST_AUTO_TEST_CASE ( fifty_fifty  )

Definition at line 91 of file ExaTrkXMetricHookTests.cpp.

View newest version in sPHENIX GitHub at line 91 of file ExaTrkXMetricHookTests.cpp

void testTruthTestGraph ( std::vector< int64_t > &  truthGraph,
std::vector< int64_t > &  testGraph,
const std::string &  resStr 
)

Definition at line 18 of file ExaTrkXMetricHookTests.cpp.

View newest version in sPHENIX GitHub at line 18 of file ExaTrkXMetricHookTests.cpp

References parse_cmake_options::begin, Acts::getDefaultLogger(), Acts::Logging::INFO, logger(), testing::internal::move(), parse_cmake_options::opts, and str.

Referenced by BOOST_AUTO_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: