Go to the source code of this file.
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
Head & |
header |
|
) |
| |
|
inline |
Read header from input.
- Author
- mdejong
- Parameters
-
in | input stream |
header | header |
- Returns
- input stream
Definition at line 36 of file JMonteCarloFileSupportkit.hh.
std::istream & read(std::istream &in, JTestSummary &summary, const char delimiter= ' ')
Read test summary.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const MultiHead & |
header |
|
) |
| |
|
inline |
Write multi-header to output.
- Parameters
-
out | output stream |
header | header |
- Returns
- output stream
Definition at line 73 of file JMonteCarloFileSupportkit.hh.
75 for (MultiHead::const_iterator i = header.begin(); i != header.end(); ++i) {
bool write(const Vec &v, std::ostream &os)
Write a Vec(tor) to a stream.
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
Evt & |
evt |
|
) |
| |
|
inline |
Read event from input.
- Parameters
-
- Returns
- input stream
Definition at line 90 of file JMonteCarloFileSupportkit.hh.
std::istream & read(std::istream &in, JTestSummary &summary, const char delimiter= ' ')
Read test summary.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Evt & |
evt |
|
) |
| |
|
inline |
Write event to output.
- Parameters
-
out | output stream |
evt | event |
- Returns
- output stream
Definition at line 108 of file JMonteCarloFileSupportkit.hh.
112 const ios_base::fmtflags flags = out.flags();
114 write(evt, out << fixed);
bool write(const Vec &v, std::ostream &os)
Write a Vec(tor) to a stream.
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
Hit & |
hit |
|
) |
| |
|
inline |
Read hit from input.
- Parameters
-
- Returns
- input stream
Definition at line 129 of file JMonteCarloFileSupportkit.hh.
std::istream & read(std::istream &in, JTestSummary &summary, const char delimiter= ' ')
Read test summary.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Hit & |
hit |
|
) |
| |
|
inline |
Write hit to output.
- Parameters
-
- Returns
- output stream
Definition at line 147 of file JMonteCarloFileSupportkit.hh.
151 const ios_base::fmtflags flags = out.flags();
153 write(hit, out << fixed);
bool write(const Vec &v, std::ostream &os)
Write a Vec(tor) to a stream.