Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ParticleDataTests.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/ParticleData.hpp"
#include "Acts/Definitions/PdgParticle.hpp"
#include "Acts/Definitions/Units.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include <cmath>
#include <string_view>
+ Include dependency graph for ParticleDataTests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (InvalidInput)
 
 BOOST_AUTO_TEST_CASE (Electron)
 
 BOOST_AUTO_TEST_CASE (Gamma)
 
 BOOST_AUTO_TEST_CASE (Pion)
 

Function Documentation

BOOST_AUTO_TEST_CASE ( InvalidInput  )

Definition at line 29 of file ParticleDataTests.cpp.

View newest version in sPHENIX GitHub at line 29 of file ParticleDataTests.cpp

References Acts::eInvalid, Acts::findCharge(), Acts::findMass(), and Acts::findName().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( Electron  )

Definition at line 35 of file ParticleDataTests.cpp.

View newest version in sPHENIX GitHub at line 35 of file ParticleDataTests.cpp

References CHECK_CLOSE_REL, Acts::eAntiElectron, Acts::eElectron, Acts::ePositron, eps, Acts::findCharge(), Acts::findMass(), and Acts::findName().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( Gamma  )

Definition at line 47 of file ParticleDataTests.cpp.

View newest version in sPHENIX GitHub at line 47 of file ParticleDataTests.cpp

References Acts::eGamma, Acts::findCharge(), Acts::findMass(), and Acts::findName().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( Pion  )

Definition at line 53 of file ParticleDataTests.cpp.

View newest version in sPHENIX GitHub at line 53 of file ParticleDataTests.cpp

References CHECK_CLOSE_REL, Acts::ePionMinus, Acts::ePionPlus, Acts::ePionZero, eps, Acts::findCharge(), Acts::findMass(), and Acts::findName().

+ Here is the call graph for this function: