Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/PdgParticle.hpp"
#include "Acts/Definitions/Units.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "ActsFatras/EventData/Barcode.hpp"
#include "ActsFatras/EventData/Particle.hpp"
#include <cmath>
#include <limits>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (Construct) | |
BOOST_AUTO_TEST_CASE (CorrectEnergy) | |
BOOST_AUTO_TEST_CASE | ( | Construct | ) |
Definition at line 31 of file ParticleTests.cpp.
View newest version in sPHENIX GitHub at line 31 of file ParticleTests.cpp
References CHECK_CLOSE_REL, Acts::eProton, eps, particle, train_ambiguity_solver::pid, ActsFatras::Barcode::setParticle(), and ActsFatras::Barcode::setVertexPrimary().
BOOST_AUTO_TEST_CASE | ( | CorrectEnergy | ) |
Definition at line 53 of file ParticleTests.cpp.
View newest version in sPHENIX GitHub at line 53 of file ParticleTests.cpp
References CHECK_CLOSE_REL, Acts::eProton, eps, particle, train_ambiguity_solver::pid, ActsFatras::Particle::setAbsoluteMomentum(), ActsFatras::Particle::setDirection(), ActsFatras::Barcode::setParticle(), and ActsFatras::Barcode::setVertexPrimary().