1 #ifndef __JCALIBRATE_JPARAMETERS__
2 #define __JCALIBRATE_JPARAMETERS__
12 namespace JCALIBRATE {}
13 namespace JPP {
using namespace JCALIBRATE; }
16 namespace JCALIBRATE {
32 return out << parameters.
runId <<
' '
33 << parameters.
domId <<
' '
34 << parameters.
pmtId <<
' '
36 << parameters.
noise <<
' '
37 << parameters.
signal <<
' '
51 return in >> parameters.
runId
120 threshold(threshold),
123 badChannel(badChannel)
JParameters()
Default constructor.
Auxiliary class for PMT parameters including threshold.
bool operator<(const JParameters ¶meters) const
Less-than operator.
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
JParameters(int runId, int domId, int pmtId, double threshold, double noise, double signal, bool badChannel)
Constructor.
friend std::ostream & operator<<(std::ostream &out, const JParameters ¶meters)
Write parameters to output stream.
then fatal The output file must have the wildcard in the e g root fi 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
friend std::istream & operator>>(std::istream &in, JParameters ¶meters)
Read parameters from input stream.