![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>#include "Acts/Definitions/Units.hpp"#include "Acts/EventData/Charge.hpp"#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"#include <limits>#include <type_traits>
Include dependency graph for ChargeTests.cpp:Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (Constructibility) | |
| BOOST_AUTO_TEST_CASE (Neutral) | |
| BOOST_AUTO_TEST_CASE (SinglyCharged) | |
| BOOST_AUTO_TEST_CASE (NonNeutralChargeSingle) | |
| BOOST_AUTO_TEST_CASE (NonNeutralChargeMultiple) | |
| BOOST_AUTO_TEST_CASE (AnyChargeNeutral) | |
| BOOST_AUTO_TEST_CASE (AnyChargeSingle) | |
| BOOST_AUTO_TEST_CASE (AnyChargeMultiple) | |
Variables | |
| static auto | eps = std::numeric_limits<double>::epsilon() |
| BOOST_AUTO_TEST_CASE | ( | Constructibility | ) |
Definition at line 29 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 29 of file ChargeTests.cpp
| BOOST_AUTO_TEST_CASE | ( | Neutral | ) |
Definition at line 44 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 44 of file ChargeTests.cpp
References CHECK_CLOSE_REL, eps, Acts::Neutral::extractCharge(), and Acts::Neutral::extractMomentum().
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | SinglyCharged | ) |
Definition at line 65 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 65 of file ChargeTests.cpp
References CHECK_CLOSE_REL, eps, Acts::SinglyCharged::extractCharge(), and Acts::SinglyCharged::extractMomentum().
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | NonNeutralChargeSingle | ) |
Definition at line 82 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 82 of file ChargeTests.cpp
References CHECK_CLOSE_REL, and eps.
| BOOST_AUTO_TEST_CASE | ( | NonNeutralChargeMultiple | ) |
Definition at line 97 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 97 of file ChargeTests.cpp
References CHECK_CLOSE_REL, and eps.
| BOOST_AUTO_TEST_CASE | ( | AnyChargeNeutral | ) |
Definition at line 116 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 116 of file ChargeTests.cpp
References CHECK_CLOSE_REL, and eps.
| BOOST_AUTO_TEST_CASE | ( | AnyChargeSingle | ) |
Definition at line 138 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 138 of file ChargeTests.cpp
References CHECK_CLOSE_REL, and eps.
| BOOST_AUTO_TEST_CASE | ( | AnyChargeMultiple | ) |
Definition at line 157 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 157 of file ChargeTests.cpp
References CHECK_CLOSE_REL, and eps.
Definition at line 20 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 20 of file ChargeTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().