Analysis Software
Documentation for sPHENIX simulation software
|
Helper to write out Digitization tesbed into csv files. More...
#include <acts/blob/sPHENIX/Tests/UnitTests/Fatras/Digitization/DigitizationCsvOutput.hpp>
Public Member Functions | |
void | writeLine (std::ostream &outf, const Acts::Vector2 &p0, const Acts::Vector2 &p1) const |
void | writeArc (std::ostream &outf, double r, double phiMin, double phiMax) const |
void | writePolygon (std::ostream &outf, const std::vector< Acts::Vector2 > &vertices, const Acts::Vector2 &shift=Acts::Vector2(0., 0.)) const |
Helper to write out Digitization tesbed into csv files.
Definition at line 18 of file DigitizationCsvOutput.hpp.
View newest version in sPHENIX GitHub at line 18 of file DigitizationCsvOutput.hpp
|
inline |
Helper method to write an arc into csv
outf | The output stream |
r | The radius of the arc |
phiMin | The minimum phi |
phiMin | The maximum phi |
Definition at line 36 of file DigitizationCsvOutput.hpp.
View newest version in sPHENIX GitHub at line 36 of file DigitizationCsvOutput.hpp
Referenced by ActsFatras::BOOST_DATA_TEST_CASE().
|
inline |
Helper method to format the output of a line into csv
outf | The output stream |
p0 | The start point |
p1 | The end point |
Definition at line 24 of file DigitizationCsvOutput.hpp.
View newest version in sPHENIX GitHub at line 24 of file DigitizationCsvOutput.hpp
Referenced by ActsFatras::BOOST_DATA_TEST_CASE(), and writePolygon().
|
inline |
Helper method to write a polygon
outf | The output stream |
vertices | The vertices of the polygon |
Definition at line 45 of file DigitizationCsvOutput.hpp.
View newest version in sPHENIX GitHub at line 45 of file DigitizationCsvOutput.hpp
References writeLine().
Referenced by ActsFatras::BOOST_DATA_TEST_CASE().