FRIBParallelanalysis  1.0
FrameworkforMPIParalleldataanalysisatFRIB
MPIRawReader Class Reference

#include <MPIRawReader.h>

Detailed Description

This class is intended to be used as the dealer in an MPI application. It accepts request from workers for data and satisfies them with raw data from an event file.

MPI RawReader knows the stucture of the AbstractApplication and can compute how many workers are present. On EOF, this allows it to know how many ends to send in reply to data requests before exiting.

As a raw reader one thing the dealer must do is assign trigger numbers to the start of each set of ring items passed to the workers. this is passed as the block number of the FRIB_MPI_Message_Header sent as the first message in response to a request.

The comutation of these trigger numbers is overlapped with the request - that is we get a block to send, analyze the number triggers in it to update m_nTriggersInBLock; and then get the next request


The documentation for this class was generated from the following file: