Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CartesianSegmentationTests.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/Segmentation.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Surfaces/RectangleBounds.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include <cmath>
#include <cstdlib>
#include <memory>
+ Include dependency graph for CartesianSegmentationTests.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_AUTO_TEST_CASE (cartesian_segmentation)
 Unit test for the Cartesian segmentation.
 

Variables

size_t Acts::Test::nbinsx = 100
 
size_t Acts::Test::nbinsy = 200
 
double Acts::Test::hThickness = 75_um
 
double Acts::Test::lAngle = 0.1
 
auto Acts::Test::moduleBounds = std::make_shared<const RectangleBounds>(5_mm, 10_mm)
 
CartesianSegmentation Acts::Test::cSegmentation (moduleBounds, nbinsx, nbinsy)