Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsFatras::DigitizationCsvOutput Struct Reference

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
 

Detailed Description

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

Member Function Documentation

void ActsFatras::DigitizationCsvOutput::writeArc ( std::ostream &  outf,
double  r,
double  phiMin,
double  phiMax 
) const
inline

Helper method to write an arc into csv

Parameters
outfThe output stream
rThe radius of the arc
phiMinThe minimum phi
phiMinThe 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().

+ Here is the caller graph for this function:

void ActsFatras::DigitizationCsvOutput::writeLine ( std::ostream &  outf,
const Acts::Vector2 p0,
const Acts::Vector2 p1 
) const
inline

Helper method to format the output of a line into csv

Parameters
outfThe output stream
p0The start point
p1The 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().

+ Here is the caller graph for this function:

void ActsFatras::DigitizationCsvOutput::writePolygon ( std::ostream &  outf,
const std::vector< Acts::Vector2 > &  vertices,
const Acts::Vector2 shift = Acts::Vector2(0., 0.) 
) const
inline

Helper method to write a polygon

Parameters
outfThe output stream
verticesThe 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this struct was generated from the following file: