|
Celeritas 0.7-develop+ddcb429
|
Construction definition for a full ORANGE geometry. More...
#include <OrangeInput.hh>
Public Member Functions | |
| operator bool () const | |
| Whether the unit definition is valid. | |
Public Attributes | |
| std::vector< VariantUniverseInput > | universes |
| ConstructionOptions | construction_opts |
| Tolerance | tol |
| Relative and absolute error for construction and transport. | |
| LogicNotation | logic {LogicNotation::postfix} |
| Logic expression notation. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, OrangeInput const &) |
| Helper to write the input to a file or stream. | |
| std::istream & | operator>> (std::istream &is, OrangeInput &) |
| Helper to read the input from a file or stream. | |
Construction definition for a full ORANGE geometry.
The tolerance tol should be the same as at construction time: it will be used at runtime to bump tracks if needed.
The logic is used to convert to the runtime tracking implementation. If set to LogicNotation::infix, the input logic must be simplified to remove negation of parenthesized elements.
|
friend |
Helper to read the input from a file or stream.
Example to read from a file: