Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ParticleTests.cpp File Reference
#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>
+ Include dependency graph for ParticleTests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (Construct)
 
 BOOST_AUTO_TEST_CASE (CorrectEnergy)
 

Function Documentation

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function: