Chapter 5. Complete program listings.
Modified to be an 8.1 example
Ron Fox
3/28/2006
*/
static const char* Copyright = "(C) Copyright Michigan State University 2002, All rights reserved";
// This file contains a test readout system.
// It derives from the CReadoutMain class
// to setup our experiment specific requirements
// creates an instance of it and lets the base classes
// do most of the work:
#include <config.h> // co:config
#include <CReadoutMain.h>
#include <CExperiment.h>
#include <CInterpreterStartup.h>
#include <CInterpreterCore.h>
#include <CRunVariableCommand.h>
#include <CRunVariable.h>
#include <CStateVariableCommand.h>
#include <CStateVariable.h>
#include <TCLInterpreter.h>
#include <CDAQTCLProcessor.h>
#include <CVMEScalerLRS1151.h>
#include <CTraditionalEventSegment.h>
#include <CTraditionalScalerReadout.h>
#include <CEventSegment.h>
#include "MyEventSegment.h" // co:myeventseginclude
#ifdef HAVE_STD_NAMESPACE
using namespace std; // co:stdnamespace
#endif
// Added MyEventSegement Header File
/*!
Sample implementation of an experiment specific1
tailoring of the production readout software.
*/
class CMyExperiment : public CReadoutMain
{
public:
// Constructors and other canonical operations:
CMyExperiment() {
48
Comentarios a estos manuales