14#ifndef TGO4MBSRANDOM_H
15#define TGO4MBSRANDOM_H
Implements a random generator as source for mbs events.
Int_t NextEvent() override
Requests the next event from mbs source.
Int_t Open() override
Open the file or connection.
double get_int(double low, double high)
Short_t * fxEventMem
Memory allocated for the current random event.
s_bufhe * GetBufferHeader() override
User access to current event buffer header.
Int_t fiNumSub
Number of subevents per event.
TGo4MbsRandom(TGo4MbsRandomParameter *par)
Int_t fiNumDat
Number of data longwords per subevent.
void get_rand_seed()
obtains seed for generator
double gauss_rnd(double mean, double sigma)
long rand_event(long choice)
TGo4MbsRandom(const char *name)
Int_t Close() override
Close the file or connection.
Int_t fiDLen
total length of current random event in words (Short_t)