ADC 400F Handbuch Seite 59

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 74
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 58
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
Seitenansicht 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 73 74

Kommentare zu diesen Handbüchern

Keine Kommentare