Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Plugins/DD4hep/DD4hepDetectorElement.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include <fstream>
#include <iostream>
#include <DD4hep/DetElement.h>
#include <DD4hep/Detector.h>
#include "DD4hep/DetFactoryHelper.h"
#include "XML/Utilities.h"
#include "XMLFragments.hpp"
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (DD4hepPluginDetectorElementCylinder) | |
BOOST_AUTO_TEST_CASE (DD4hepPluginDetectorElementSectoralCylinder) | |
BOOST_AUTO_TEST_CASE (DD4hepPluginDetectorElementDisc) | |
BOOST_AUTO_TEST_CASE (DD4hepPluginDetectorElementSectoralDisc) | |
BOOST_AUTO_TEST_CASE (DD4hepPluginDetectorElementRectangle) | |
BOOST_AUTO_TEST_CASE (DD4hepPluginDetectorElementTrapezoid) | |
Variables | |
Acts::GeometryContext | tContext |
const char * | cylinder_xml |
const char * | sectoral_cylinder_xml |
const char * | disc_xml |
const char * | sectoral_disc_xml |
const char * | rectangle_xml |
const char * | trapezoid_xml |
BOOST_AUTO_TEST_CASE | ( | DD4hepPluginDetectorElementCylinder | ) |
Definition at line 49 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 49 of file DD4hepDetectorElementTests.cpp
References CHECK_CLOSE_ABS, gtest_filter_unittest::child, cylinder_xml, Acts::UnitConstants::e, end_xml, head_xml, writeMapConfig::surface, and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | DD4hepPluginDetectorElementSectoralCylinder | ) |
Definition at line 82 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 82 of file DD4hepDetectorElementTests.cpp
References CHECK_CLOSE_ABS, gtest_filter_unittest::child, Acts::UnitConstants::e, end_xml, head_xml, sectoral_cylinder_xml, writeMapConfig::surface, and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | DD4hepPluginDetectorElementDisc | ) |
Definition at line 117 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 117 of file DD4hepDetectorElementTests.cpp
References CHECK_CLOSE_ABS, gtest_filter_unittest::child, disc_xml, Acts::UnitConstants::e, end_xml, head_xml, writeMapConfig::surface, and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | DD4hepPluginDetectorElementSectoralDisc | ) |
Definition at line 150 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 150 of file DD4hepDetectorElementTests.cpp
References CHECK_CLOSE_ABS, gtest_filter_unittest::child, Acts::UnitConstants::e, end_xml, head_xml, sectoral_disc_xml, writeMapConfig::surface, and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | DD4hepPluginDetectorElementRectangle | ) |
Definition at line 186 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 186 of file DD4hepDetectorElementTests.cpp
References CHECK_CLOSE_ABS, gtest_filter_unittest::child, Acts::UnitConstants::e, end_xml, head_xml, rectangle_xml, sTransform, writeMapConfig::surface, and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | DD4hepPluginDetectorElementTrapezoid | ) |
Definition at line 228 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 228 of file DD4hepDetectorElementTests.cpp
References CHECK_CLOSE_ABS, gtest_filter_unittest::child, Acts::UnitConstants::e, end_xml, head_xml, sTransform, writeMapConfig::surface, trapezoid_xml, and physmon_ckf_tracking::u.
const char* cylinder_xml |
Definition at line 29 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 29 of file DD4hepDetectorElementTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
const char* disc_xml |
Definition at line 35 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 35 of file DD4hepDetectorElementTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
const char* rectangle_xml |
Definition at line 41 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 41 of file DD4hepDetectorElementTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
const char* sectoral_cylinder_xml |
Definition at line 32 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 32 of file DD4hepDetectorElementTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
const char* sectoral_disc_xml |
Definition at line 38 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 38 of file DD4hepDetectorElementTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
Acts::GeometryContext tContext |
Definition at line 27 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 27 of file DD4hepDetectorElementTests.cpp
const char* trapezoid_xml |
Definition at line 44 of file DD4hepDetectorElementTests.cpp.
View newest version in sPHENIX GitHub at line 44 of file DD4hepDetectorElementTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().