EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BVHDataTestCase.hpp File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using Box = Acts::Volume::BoundingBox
 
using Ray = Acts::Ray< double, 3 >
 

Functions

std::tuple< std::vector< const
Volume * >, std::shared_ptr
< TrackingGeometry > > 
gridBoxFactory (size_t n=NBOXES, double hl=1000, size_t octd=5)
 
 BOOST_DATA_TEST_CASE (bvhnavigation_test, bdata::random((bdata::seed=7, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-5, 5)))^bdata::random((bdata::seed=2, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-M_PI, M_PI)))^bdata::random((bdata::seed=3, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::random((bdata::seed=4, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::random((bdata::seed=5, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::xrange(NTESTS), eta, phi, x, y, z, index)
 

Variables

GeometryContext tgContext = GeometryContext()
 
MagneticFieldContext mfContext = MagneticFieldContext()
 
 auto [volumes, tg] = gridBoxFactory()
 

Typedef Documentation

Definition at line 10 of file BVHDataTestCase.hpp.

View newest version in sPHENIX GitHub at line 10 of file BVHDataTestCase.hpp

using Ray = Acts::Ray<double, 3>

Definition at line 11 of file BVHDataTestCase.hpp.

View newest version in sPHENIX GitHub at line 11 of file BVHDataTestCase.hpp

Function Documentation

BOOST_DATA_TEST_CASE ( bvhnavigation_test  ,
bdata::  random(bdata::seed=7, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-5,5)))^bdata::random((bdata::seed=2, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-M_PI, M_PI)))^bdata::random((bdata::seed=3, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::random((bdata::seed=4, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::random((bdata::seed=5, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::xrange(NTESTS,
eta  ,
phi  ,
x  ,
y  ,
z  ,
index   
)

Definition at line 78 of file BVHDataTestCase.hpp.

View newest version in sPHENIX GitHub at line 78 of file BVHDataTestCase.hpp

References cos(), Acts::ePos0, Acts::VectorHelpers::eta(), Acts::getDummyLogger(), mfContext, Acts::Test::navigator, eicpy.build::options, Acts::PropagatorPlainOptions::pathLimit, phi, Acts::Test::pos4(), Acts::s_onSurfaceTolerance, Acts::Test::step(), propagation_timing::stepper, propagation_timing::steps, Acts::tgContext, theta(), nlohmann::detail::void(), x, y, and z.

+ Here is the call graph for this function:

std::tuple<std::vector<const Volume*>, std::shared_ptr<TrackingGeometry> > gridBoxFactory ( size_t  n = NBOXES,
double  hl = 1000,
size_t  octd = 5 
)

Definition at line 17 of file BVHDataTestCase.hpp.

View newest version in sPHENIX GitHub at line 17 of file BVHDataTestCase.hpp

References k, Acts::make_octree(), max, min, n, pos(), and Acts::Test::step().

+ Here is the call graph for this function:

Variable Documentation

auto[volumes, tg] = gridBoxFactory()

Definition at line 76 of file BVHDataTestCase.hpp.

View newest version in sPHENIX GitHub at line 76 of file BVHDataTestCase.hpp

MagneticFieldContext mfContext = MagneticFieldContext()
GeometryContext tgContext = GeometryContext()

Definition at line 13 of file BVHDataTestCase.hpp.

View newest version in sPHENIX GitHub at line 13 of file BVHDataTestCase.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().