Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PlanarModuleStepperTests.cpp File Reference
#include <boost/test/data/test_case.hpp>
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/Units.hpp"
#include "Acts/Digitization/CartesianSegmentation.hpp"
#include "Acts/Digitization/DigitizationCell.hpp"
#include "Acts/Digitization/DigitizationModule.hpp"
#include "Acts/Digitization/PlanarModuleStepper.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Surfaces/RectangleBounds.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include <cmath>
#include <cstdlib>
#include <memory>
#include <random>
#include <utility>
#include <vector>
+ Include dependency graph for PlanarModuleStepperTests.cpp:

Go to the source code of this file.

Namespaces

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

Functions

 Acts::Test::BOOST_DATA_TEST_CASE (readout_counter_test, bdata::random((bdata::seed=0, bdata::distribution=std::uniform_real_distribution<>(-halfX+sguardX, halfX-sguardX)))^bdata::random((bdata::seed=1, bdata::distribution=std::uniform_real_distribution<>(-halfX+sguardX, halfX-sguardX)))^bdata::random((bdata::seed=2, bdata::distribution=std::uniform_real_distribution<>(-halfY, halfY)))^bdata::random((bdata::seed=3, bdata::distribution=std::uniform_int_distribution<>(-static_cast< int >(halfY), static_cast< int >(halfY))))^bdata::xrange(ntests), entryX, entryY, exitX, exitY, index)
 

Variables

double Acts::Test::halfX = 5_mm
 
double Acts::Test::halfY = 10_mm
 
double Acts::Test::tanAlpha = tan(lAngle)
 
double Acts::Test::sguardX = 2 * hThickness * abs(tanAlpha)
 
DigitizationModule Acts::Test::pdModule (cSegmentation, hThickness, 1, lAngle, 0., true)
 
DigitizationModule Acts::Test::ndModule (cSegmentation, hThickness,-1, lAngle, 0., true)
 
std::vector< DigitizationModule > Acts::Test::testModules = {pdModule, ndModule}
 
PlanarModuleStepper Acts::Test::pmStepper
 The Planar module stepper.