Chapter 5. Complete program listings.
# DO NOT DELETE
MyEventSegment.o: MyEventSegment.h
Skeleton.o: MyEventSegment.h
Example 5-5. startreadout script
#!/bin/bash
. /etc/profile
. ~/.bashrc
if test "$DAQHOST" == ""
then
host=‘hostname‘ # co:host
else
host="$DAQHOST"
fi
/usr/opt/daq/8.1/bin/ReadoutShell -host=$host \
-path=$HOME/experiment/readout/Readout # co:startrdo
5.2. SpecTcl software
Example 5-6. MyEventProcessor.h
#ifndef __MYEVENTPROCESSOR_H
#define __MYEVENTPROCESSOR_H
#include <EventProcessor.h> // co:epbaseclassinclude
#include <TranslatorPointer.h> // co:epxlatorpointerinclude
#include <histotypes.h> // co:histotypesinclude
// Forward class definitions:
class CTreeParameterArray;
class CAnalyzer; // co:epforwards
class CBufferDecoder;
class CEvent;
54
Comentários a estes Manuais