ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Tests/CommonHelpers/Acts/Tests/CommonHelpers/ObjTestWriter.hpp>
Static Public Member Functions | |
static void | writeSectorLinesObj (const std::string &name, const std::pair< Vector3D, Vector3D > &lineA, const std::pair< Vector3D, Vector3D > &lineB) |
static void | writeSectorPlanesObj (const std::string &name, double phiSec, double phiAvg, double hX, double hY) |
static void | writeObj (const std::vector< IdentifiedPolyderon > &iphs) |
static void | writeObj (const std::string &name, const Volume::BoundingBox &bBox) |
Definition at line 26 of file ObjTestWriter.hpp.
View newest version in sPHENIX GitHub at line 26 of file ObjTestWriter.hpp
|
inlinestatic |
Helper method to be called from sub tests It will draw the polyhedron and create a file, the boolean steers whether the obj should be triangulated
iphs | The Identified Polyhedrons (= with name and boolean) |
Definition at line 90 of file ObjTestWriter.hpp.
View newest version in sPHENIX GitHub at line 90 of file ObjTestWriter.hpp
References Acts::ObjVisualization< T >::write().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
inlinestatic |
Helper method to be called from sub tests to write bounding boxes It will draw the polyhedron and create a file, the boolean steers whether the obj should be triangulated
iphs | The Identified Polyhedrons (= with name and boolean) |
Definition at line 105 of file ObjTestWriter.hpp.
View newest version in sPHENIX GitHub at line 105 of file ObjTestWriter.hpp
References Acts::AxisAlignedBoundingBox< entity_t, value_t, DIM >::draw(), and Acts::ObjVisualization< T >::write().
|
inlinestatic |
Helper method to write sector lines for 2D views
name | The output file name |
linaA | The first line |
lineB | The second line |
Definition at line 31 of file ObjTestWriter.hpp.
View newest version in sPHENIX GitHub at line 31 of file ObjTestWriter.hpp
References Acts::ObjVisualization< T >::line(), and Acts::ObjVisualization< T >::write().
|
inlinestatic |
Helper method to write sector planes for two dimensional sectors (symmetric)
name | The output file name |
phiSec | The opening angle |
phiAvg | The average phi (= center phi position) |
hX | The half length in X of the sector plane |
hY | the half length in Y of the sector plane |
Definition at line 50 of file ObjTestWriter.hpp.
View newest version in sPHENIX GitHub at line 50 of file ObjTestWriter.hpp
References Acts::ObjVisualization< T >::write().