Auxiliary class for parsing a vector of neutrino PDG identifiers.
More...
#include <JEvtWeightToolkit.hh>
Auxiliary class for parsing a vector of neutrino PDG identifiers.
Definition at line 87 of file JEvtWeightToolkit.hh.
JAANET::JNeutrinoTypeCollection::JNeutrinoTypeCollection |
( |
| ) |
|
|
inline |
Stream input.
- Parameters
-
in | input stream |
collection | collection of neutrino PDG types |
- Returns
- input stream
Definition at line 104 of file JEvtWeightToolkit.hh.
106 for (
int type;
in >> type; ) {
112 collection.push_back(type);
116 THROW(JValueOutOfRange,
"JNeutrinoTypeCollection::operator>>(): Invalid particle type: " << type);
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
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
Stream output.
- Parameters
-
out | output stream |
collection | collection of neutrino PDG types |
- Returns
- output stream
Definition at line 131 of file JEvtWeightToolkit.hh.
The documentation for this struct was generated from the following file: