28 if (in >> ellipse.
x1 >> ellipse.
y1 >> ellipse.
r1) {
30 if (in >> ellipse.
r2) {
42 ellipse.
r2 = ellipse.
r1;
62 out << ellipse.
x1 <<
' '
86 int main(
int argc,
char **argv)
91 typedef JContainer< vector<JEllipse> > JParameters_t;
96 Color_t color = kBlack;
100 Color_t color = kBlack;
101 Style_t style = kSolid;
114 JParser<> zap(
"Auxiliary program to create TEllipse");
123 catch(
const exception &error) {
124 FATAL(error.what() << endl);
134 p->SetFillColor(fill.color);
135 p->SetFillStyle(fill.style);
136 p->SetLineColor(line.color);
137 p->SetLineStyle(line.style);
Utility class to parse command line options.
int main(int argc, char *argv[])
Utility class to parse parameter values.
*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
Simple data structure to support I/O of equations (see class JLANG::JEquation).
friend std::ostream & operator<<(std::ostream &out, const JEllipse &ellipse)
Write ellipse to output stream.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Utility class to parse parameter values.
friend std::istream & operator>>(std::istream &in, JEllipse &ellipse)
Read ellipse from input stream.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Auxiliary data structure for ellipse.
General purpose messaging.
Utility class to parse command line options.
#define zmake_property(A)
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