ADC 400F Manuál Strana 59

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 74
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 73 74

Komentáře k této Příručce

Žádné komentáře