ECCE @ EIC 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/Geometry/GeometryContext.hpp"
#include "Acts/Plugins/Digitization/CartesianSegmentation.hpp"
#include "Acts/Surfaces/PlanarBounds.hpp"
#include "Acts/Surfaces/RectangleBounds.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/Units.hpp"
+ Include dependency graph for CartesianSegmentationTests.cpp:

Go to the source code of this file.

Namespaces

namespace  Acts
 Set the Geometry Context PLUGIN.
 
namespace  Acts::Test
 Namespace for ATS unit tests.
 

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)