Class TextOutput¶
- Defined in File TextOutput.h
Inheritance Relationships¶
Base Type¶
public Output
(Class Output)
Class Documentation¶
-
class
TextOutput
: public Output¶ Configurable plain text output for cosmic ray information.
Public Types
-
enum
OutputColumn
¶ Values:
-
TrajectoryLengthColumn
¶
-
ColumnDensityColumn
¶
-
RedshiftColumn
¶
-
CurrentIdColumn
¶
-
CurrentEnergyColumn
¶
-
CurrentPositionColumn
¶
-
CurrentDirectionColumn
¶
-
SourceIdColumn
¶
-
SourceEnergyColumn
¶
-
SourcePositionColumn
¶
-
SourceDirectionColumn
¶
-
CreatedIdColumn
¶
-
CreatedEnergyColumn
¶
-
CreatedPositionColumn
¶
-
CreatedDirectionColumn
¶
-
SerialNumberColumn
¶
-
WeightColumn
¶
-
Public Functions
-
TextOutput
()¶
-
TextOutput
(OutputType outputtype)¶
-
TextOutput
(std::ostream &out)¶
-
TextOutput
(std::ostream &out, OutputType outputtype)¶
-
TextOutput
(const std::string &filename)¶
-
TextOutput
(const std::string &filename, OutputType outputtype)¶
-
~TextOutput
()¶
-
void
enableRandomSeeds
()¶
-
void
close
()
-
void
gzip
()
-
void
process
(Candidate *candidate) const
-
std::string
getDescription
() const
-
std::string
OutputTypeName
(OutputType outputtype)
-
void
setEnergyScale
(double scale)
-
void
setLengthScale
(double scale)
-
void
setOutputType
(OutputType outputtype)
-
void
set
(OutputColumn field, bool value)
-
void
enableProperty
(const std::string &property, const Variant &defaultValue, const std::string &comment = "") Add a property to output. Default value is required to assign a type in the output.
-
void
enable
(OutputColumn field)
-
void
disable
(OutputColumn field)
-
void
enableAll
()
-
void
disableAll
()
-
void
set1D
(bool value)
-
size_t
size
() const
-
void
setDescription
(const std::string &description)
-
size_t
addReference
() const
-
size_t
removeReference
() const
-
int
removeReferenceNoDelete
() const
-
size_t
getReferenceCount
() const
Public Members
-
const std::string
outputName
Public Static Functions
-
void
load
(const std::string &filename, ParticleCollector *collector)¶
-
enum