Class Index Cross Index Namespace Index

Class FrameCPP::Version_3_4_5::FrameReadPlan

Frame Reading Plan
Contained in: FrameCPP::Version_3_4_5
Derived from: FrameCPP::Version_3_4_5::TOCReader
Derived by: none

#include "../../../../../lib/framecpp/src/Version3_4_5/framereadplan.hh"


public function member index:

FrameReadPlan(std::istream& in); Constructor
~FrameReadPlan(); Destructor
Frame& catFrame(std::istream& in, INT_4U frameNumber, bool newFrame); Cat frame data
void daqTriggerADC(const std::vector<std::string>& adcNames); Include ADCs in the frame
Frame& readFrame(std::istream& in, INT_4U frameNumber); Read frame data
 

private function member index:

inline INT_4U daqFrameGTimeN(INT_8U);
inline INT_4U daqFrameGTimeS(INT_8U);
inline INT_4S daqFrameLocalTime(INT_8U);
inline INT_4U daqFrameNumber(INT_8U);
inline INT_4S daqFrameRun(INT_8U);
inline INT_2U daqFrameULeapS(INT_8U);
inline int daqNameLength(INT_8U);
void readBaseHook(Base* base, INT_2U classId); Called when next object is read by FrameReaderBase::readBase()
 

Description:



Function Member Descriptions:


FrameCPP::Version_3_4_5::FrameReadPlan::FrameReadPlan - Constructor


FrameReadPlan(std::istream& in);

Exceptions:
ExceptionDescription
std::bad_allocOut of memory.
read_failureRead failed.



FrameCPP::Version_3_4_5::FrameReadPlan::~FrameReadPlan - Destructor


~FrameReadPlan();

Exceptions:
ExceptionDescription
None.



FrameCPP::Version_3_4_5::FrameReadPlan::catFrame - Cat frame data


Frame& catFrame(std::istream& in, INT_4U frameNumber, bool newFrame);

Exceptions:
ExceptionDescription
cannot_cat
read_failureRead failed.



FrameCPP::Version_3_4_5::FrameReadPlan::daqFrameGTimeN


inline INT_4U daqFrameGTimeN(INT_8U);



FrameCPP::Version_3_4_5::FrameReadPlan::daqFrameGTimeS


inline INT_4U daqFrameGTimeS(INT_8U);



FrameCPP::Version_3_4_5::FrameReadPlan::daqFrameLocalTime


inline INT_4S daqFrameLocalTime(INT_8U);



FrameCPP::Version_3_4_5::FrameReadPlan::daqFrameNumber


inline INT_4U daqFrameNumber(INT_8U);



FrameCPP::Version_3_4_5::FrameReadPlan::daqFrameRun


inline INT_4S daqFrameRun(INT_8U);



FrameCPP::Version_3_4_5::FrameReadPlan::daqFrameULeapS


inline INT_2U daqFrameULeapS(INT_8U);



FrameCPP::Version_3_4_5::FrameReadPlan::daqNameLength


inline int daqNameLength(INT_8U);



FrameCPP::Version_3_4_5::FrameReadPlan::daqTriggerADC - Include ADCs in the frame


void daqTriggerADC(const std::vector<std::string>& adcNames);

Exceptions:
ExceptionDescription
std::bad_allocOut of memory.
read_failureRead failed.
not_found_errorData is not found.



FrameCPP::Version_3_4_5::FrameReadPlan::readBaseHook - Called when next object is read by FrameReaderBase::readBase()


void readBaseHook(Base* base, INT_2U classId);

Exceptions:
ExceptionDescription
std::bad_allocOut of memory.



FrameCPP::Version_3_4_5::FrameReadPlan::readFrame - Read frame data


Frame& readFrame(std::istream& in, INT_4U frameNumber);

Exceptions:
ExceptionDescription
read_failureRead failed.
cannot_update



Variable Member Descriptions:


FrameCPP::Version_3_4_5::FrameReadPlan::adcDataOffsetVector - Adc structure offsets.

std::vector< std::vector< INT_8U > > adcDataOffsetVector;
Internal vector is over the frames. Outer vector is over the triggered adc names.


FrameCPP::Version_3_4_5::FrameReadPlan::frame - Skeleton frame object

Frame frame;

FrameCPP::Version_3_4_5::FrameReadPlan::raw_data - Skeleton raw data object

RawData raw_data;