Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BinningDataTests.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/BinningData.hpp"
#include "Acts/Utilities/BinningType.hpp"
#include <cmath>
#include <cstddef>
#include <memory>
#include <utility>
#include <vector>
+ Include dependency graph for BinningDataTests.cpp:

Go to the source code of this file.

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
namespace  Acts::Test
 

Functions

Vector3 Acts::Test::xyzPosition (0.5, 1.5, 2.5)
 
Vector3 Acts::Test::xyzPositionOutside (30.,-30., 200.)
 
Vector3 Acts::Test::phi0Position (0.5, 0., 2.5)
 
Vector3 Acts::Test::phiPihPosition (0., 1.5, 2.5)
 
Vector3 Acts::Test::eta0Position (0.5, 1.5, 0.)
 
Vector2 Acts::Test::xyPosition (0.5, 1.5)
 
Vector2 Acts::Test::rphizPosition (0.1, 2.5)
 
Vector2 Acts::Test::rphiPosition (3.5, M_PI/8.)
 
BinningData Acts::Test::xData_add (open, binX, main_sstr, std::move(xData_sstr_add))
 
 Acts::Test::BOOST_AUTO_TEST_CASE (BinningData_BinningValue)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (BinningData_bins)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (BinningData_inside_outside)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (BinningData_open_close)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (BinningData_boundaries)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (BinningData_bincenter)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (BinningData_phi_modules)
 

Variables

BinningData Acts::Test::xData_eq (open, binX, 10, 0., 10.)
 
BinningData Acts::Test::yData_eq (open, binY, 10, 0., 10.)
 
BinningData Acts::Test::zData_eq (open, binZ, 10, 0., 10.)
 
BinningData Acts::Test::rData_eq (open, binR, 10, 0., 10.)
 
BinningData Acts::Test::phiData_eq (closed, binPhi, 5,-M_PI, M_PI)
 
BinningData Acts::Test::rPhiData_eq (closed, binRPhi, 5,-M_PI, M_PI)
 
BinningData Acts::Test::hData_eq (open, binH, 5, 0., 10.)
 
BinningData Acts::Test::etaData_eq (open, binEta, 5,-2.5, 2.5)
 
BinningData Acts::Test::xData_eq_copy (open, binX, 10, 0., 10.)
 
std::vector< float > Acts::Test::values = {0., 1., 2., 3., 4., 10.}
 
BinningData Acts::Test::xData_arb (open, binX, values)
 
BinningData Acts::Test::yData_arb (open, binY, values)
 
std::vector< float > Acts::Test::phiValues = {-M_PI, -2., -1., 1., 2., M_PI}
 
BinningData Acts::Test::phiData_arb (closed, binPhi, phiValues)
 
size_t Acts::Test::nBins_binary = 59
 
double Acts::Test::valueMin = 0.
 
double Acts::Test::phiMin = -M_PI
 
double Acts::Test::delta = 0.5
 
double Acts::Test::phiDelta = 0.1064
 
std::vector< float > Acts::Test::sstr = {0., 1., 1.5, 2., 3.}
 
auto Acts::Test::xData_sstr_mult = std::make_unique<const BinningData>(open, binX, sstr)
 
BinningData Acts::Test::xData_mult (open, binX, 3, 0., 9., std::move(xData_sstr_mult))
 
std::vector< float > Acts::Test::main_sstr = {0., 3., 4., 5.}
 additive
 
auto Acts::Test::xData_sstr_add = std::make_unique<const BinningData>(open, binX, sstr)