EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LayerCreatorTests.cpp File Reference
#include <boost/test/data/test_case.hpp>
#include <boost/test/unit_test.hpp>
#include "Acts/Geometry/CylinderLayer.hpp"
#include "Acts/Geometry/DiscLayer.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/LayerCreator.hpp"
#include "Acts/Geometry/ProtoLayer.hpp"
#include "Acts/Geometry/SurfaceArrayCreator.hpp"
#include "Acts/Surfaces/CylinderBounds.hpp"
#include "Acts/Surfaces/PlaneSurface.hpp"
#include "Acts/Surfaces/RadialBounds.hpp"
#include "Acts/Surfaces/RectangleBounds.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/BinningType.hpp"
#include "Acts/Utilities/Definitions.hpp"
#include <fstream>
#include <random>
#include <boost/format.hpp>
+ Include dependency graph for LayerCreatorTests.cpp:

Go to the source code of this file.

Classes

struct  Acts::Test::LayerCreatorFixture
 

Namespaces

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

Macros

#define CHECK_ROTATION_ANGLE(t, a, tolerance)
 

Typedefs

using Acts::Test::SrfVec = std::vector< std::shared_ptr< const Surface >>
 

Functions

void Acts::Test::draw_surfaces (const SrfVec &surfaces, const std::string &fname)
 
 Acts::Test::BOOST_FIXTURE_TEST_CASE (LayerCreator_createCylinderLayer, LayerCreatorFixture)
 
 Acts::Test::BOOST_FIXTURE_TEST_CASE (LayerCreator_createDiscLayer, LayerCreatorFixture)
 
 Acts::Test::BOOST_FIXTURE_TEST_CASE (LayerCreator_barrelStagger, LayerCreatorFixture)
 

Macro Definition Documentation

#define CHECK_ROTATION_ANGLE (   t,
  a,
  tolerance 
)
Value:
{ \
Vector3D v = (*t) * Vector3D(1, 0, 0); \
CHECK_CLOSE_ABS(VectorHelpers::phi(v), (a), tolerance); \
}

Definition at line 41 of file LayerCreatorTests.cpp.

View newest version in sPHENIX GitHub at line 41 of file LayerCreatorTests.cpp