ROOT logo
#ifndef __TMrbSubevent_Data_I_h__
#define __TMrbSubevent_Data_I_h__

//_________________________________________________[C++ CLASS DEFINITION FILE]
//////////////////////////////////////////////////////////////////////////////
// Name:           expconf/inc/TMrbSubevent_Data_I.h
// Purpose:        Define experimental configuration for MARaBOU
// Class:          TMrbSubevent_Data_I    -- MBS subevent type [10,65]
// Description:    Class definitions to implement a configuration front-end for MARaBOU
// Author:         R. Lutter
// Revision:       $Id: TMrbSubevent_Data_I.h,v 1.8 2005-09-09 06:59:14 Rudolf.Lutter Exp $       
// Date:           
// Keywords:
//////////////////////////////////////////////////////////////////////////////

namespace std {} using namespace std;

#include <cstdlib>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <fstream>

#include "Rtypes.h"
#include "TSystem.h"

#include "TMrbSubevent.h"
#include "TMrbTemplate.h"

//______________________________________________________[C++ CLASS DEFINITION]
//////////////////////////////////////////////////////////////////////////////
// Name:           TMrbSubevent_Data_I
// Purpose:        Define MBS subevents of type [10,65]
// Description:    Defines a MBS subevent of type [10,65]. Generates code.
// Keywords:
//////////////////////////////////////////////////////////////////////////////

class TMrbSubevent_Data_I : public TMrbSubevent {

	public:

		TMrbSubevent_Data_I() {}; 				// default ctor
		TMrbSubevent_Data_I(const Char_t * SevtName, const Char_t * SevtTitle = "", Int_t NofWords = 1000, Int_t Crate = -1);	// create a new [10,65] subevent
		~TMrbSubevent_Data_I() {};	 			// remove current subevent from list

		Bool_t MakeReadoutCode(ofstream & RdoStrm, TMrbConfig::EMrbReadoutTag TagIndex, 	// generate part of code for this subevent
										TMrbTemplate & Template, const Char_t * Prefix = NULL);

		inline Bool_t HasFixedLengthFormat() const { return(kFALSE); };		// variable length data
		inline Bool_t AllowsMultipleModules() const { return(kFALSE); };		// has no meaning in this context
		inline Bool_t NeedsModulesToBeAssigned() const { return(kFALSE); }; 	// no modules needed
		inline Int_t GetNofWords() const { return(fNofWords); };				// number of data words
		
		inline void Help() { gSystem->Exec(Form("mrbHelp %s", this->ClassName())); };

	public:
		Int_t fNofWords;			// number of data words
	
	ClassDef(TMrbSubevent_Data_I, 1)		// [Config] Subevent type [10,65]: plain integer data (32 bit)
};

#endif
 TMrbSubevent_Data_I.h:1
 TMrbSubevent_Data_I.h:2
 TMrbSubevent_Data_I.h:3
 TMrbSubevent_Data_I.h:4
 TMrbSubevent_Data_I.h:5
 TMrbSubevent_Data_I.h:6
 TMrbSubevent_Data_I.h:7
 TMrbSubevent_Data_I.h:8
 TMrbSubevent_Data_I.h:9
 TMrbSubevent_Data_I.h:10
 TMrbSubevent_Data_I.h:11
 TMrbSubevent_Data_I.h:12
 TMrbSubevent_Data_I.h:13
 TMrbSubevent_Data_I.h:14
 TMrbSubevent_Data_I.h:15
 TMrbSubevent_Data_I.h:16
 TMrbSubevent_Data_I.h:17
 TMrbSubevent_Data_I.h:18
 TMrbSubevent_Data_I.h:19
 TMrbSubevent_Data_I.h:20
 TMrbSubevent_Data_I.h:21
 TMrbSubevent_Data_I.h:22
 TMrbSubevent_Data_I.h:23
 TMrbSubevent_Data_I.h:24
 TMrbSubevent_Data_I.h:25
 TMrbSubevent_Data_I.h:26
 TMrbSubevent_Data_I.h:27
 TMrbSubevent_Data_I.h:28
 TMrbSubevent_Data_I.h:29
 TMrbSubevent_Data_I.h:30
 TMrbSubevent_Data_I.h:31
 TMrbSubevent_Data_I.h:32
 TMrbSubevent_Data_I.h:33
 TMrbSubevent_Data_I.h:34
 TMrbSubevent_Data_I.h:35
 TMrbSubevent_Data_I.h:36
 TMrbSubevent_Data_I.h:37
 TMrbSubevent_Data_I.h:38
 TMrbSubevent_Data_I.h:39
 TMrbSubevent_Data_I.h:40
 TMrbSubevent_Data_I.h:41
 TMrbSubevent_Data_I.h:42
 TMrbSubevent_Data_I.h:43
 TMrbSubevent_Data_I.h:44
 TMrbSubevent_Data_I.h:45
 TMrbSubevent_Data_I.h:46
 TMrbSubevent_Data_I.h:47
 TMrbSubevent_Data_I.h:48
 TMrbSubevent_Data_I.h:49
 TMrbSubevent_Data_I.h:50
 TMrbSubevent_Data_I.h:51
 TMrbSubevent_Data_I.h:52
 TMrbSubevent_Data_I.h:53
 TMrbSubevent_Data_I.h:54
 TMrbSubevent_Data_I.h:55
 TMrbSubevent_Data_I.h:56
 TMrbSubevent_Data_I.h:57
 TMrbSubevent_Data_I.h:58
 TMrbSubevent_Data_I.h:59
 TMrbSubevent_Data_I.h:60
 TMrbSubevent_Data_I.h:61
 TMrbSubevent_Data_I.h:62