EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <boost/test/unit_test.hpp>
#include "Acts/EventData/Charge.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/Units.hpp"
#include <limits>
#include <type_traits>
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 (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 28 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 28 of file ChargeTests.cpp
BOOST_AUTO_TEST_CASE | ( | Neutral | ) |
Definition at line 41 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 41 of file ChargeTests.cpp
References CHECK_CLOSE_REL, eps, Acts::Neutral::extractCharge(), and Acts::Neutral::extractMomentum().
BOOST_AUTO_TEST_CASE | ( | SinglyCharged | ) |
Definition at line 60 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 60 of file ChargeTests.cpp
References CHECK_CLOSE_REL, eps, Acts::SinglyCharged::extractCharge(), and Acts::SinglyCharged::extractMomentum().
BOOST_AUTO_TEST_CASE | ( | AnyChargeNeutral | ) |
Definition at line 77 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 77 of file ChargeTests.cpp
References CHECK_CLOSE_REL, eps, Acts::AnyCharge::extractCharge(), and Acts::AnyCharge::extractMomentum().
BOOST_AUTO_TEST_CASE | ( | AnyChargeSingle | ) |
Definition at line 98 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 98 of file ChargeTests.cpp
References CHECK_CLOSE_REL, eps, Acts::AnyCharge::extractCharge(), and Acts::AnyCharge::extractMomentum().
BOOST_AUTO_TEST_CASE | ( | AnyChargeMultiple | ) |
Definition at line 118 of file ChargeTests.cpp.
View newest version in sPHENIX GitHub at line 118 of file ChargeTests.cpp
References CHECK_CLOSE_REL, eps, Acts::AnyCharge::extractCharge(), and Acts::AnyCharge::extractMomentum().
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().