8 # ------------------------------------------------------------------------------------------
10 # Utility script to test JAAnet.
12 # ------------------------------------------------------------------------------------------
15 if [ -z $JPP_DIR ];
then
16 echo "Variable JPP_DIR undefined."
21 source $JPP_DIR/setenv.sh $JPP_DIR
29 if ( do_usage $* );
then
30 usage "$script [input file [output file]]"
57 -\^
"number of events [a.u]" \
68 -\^
"number of events [a.u]" \
78 -\^
"number of events [a.u]" \
87 -
F "[0]*exp(-0.5*(x-[1])*(x-[1])/([2]*[2]))" \
88 -@
"p0 = GetMaximum" \
95 -\>
"log10(E_{fit}/E_{true})" \
96 -\^
"number of events [a.u]" \
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
do set_array DAQHEADER JPrintDAQHeader f
&set_variable OUTPUT_FILE
then JFileTuna f $INPUT_FILE
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
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 source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
#define DEBUG(A)
Message macros.