New output module: Textwriter
This MR adds a new output module, TextWriter
, which writes an ASCII representation of Allpix Squared objects to a text file. Currently, the only implemented object is the PixelHit
but others can easily be added by overloading
void Object::print(std::ostream &);
to their liking. All objects without an implementation are printed as <unknown object>
to the file.
Events and detectors are separated by headers, see module's README.md.