ICP  1
Public Member Functions | Public Attributes | List of all members
InfoFileData Struct Reference

#include <event_store.h>

Public Member Functions

void newFile ()
 

Public Attributes

uint64_t file_words
 size of all data in file in words More...
 
uint64_t good_events
 total number of good events in file More...
 
uint64_t raw_events
 total number of raw events in file More...
 
DAEEventHeader header
 header of current frame being processed More...
 
uint32_t last_frame
 offset to start of last frame in words More...
 
uint32_t num_events
 total number of events read in frame m_header More...
 
uint32_t header_words
 number of words of header read, if < DAE_EVENT_HEADER_WORDS then we have a partial header More...
 
uint32_t good_frames
 total number of good frames in file More...
 
uint32_t raw_frames
 total number of raw frames in file More...
 
uint32_t last_address_read
 detector card address read which corresponds to file_words More...
 
bool end_header_present
 

Detailed Description

Definition at line 138 of file event_store.h.

Member Function Documentation

void InfoFileData::newFile ( )
inline

< @ todo should last_address_read be one less than end of dc memory?

Definition at line 151 of file event_store.h.

References end_header_present, and last_frame.

Referenced by EventStoreCard::clearOutputFile(), EventStoreCard::EventStoreCard(), EventStoreCard::getInfoFileData(), and EventStoreCard::setOutputFileName().

Member Data Documentation

bool InfoFileData::end_header_present
uint64_t InfoFileData::file_words
uint64_t InfoFileData::good_events

total number of good events in file

Definition at line 141 of file event_store.h.

Referenced by EventStoreCard::checkAndHistogramEvents(), EventStoreCard::numGoodEvents(), and FileEventSource::readInfo().

uint32_t InfoFileData::good_frames

total number of good frames in file

Definition at line 147 of file event_store.h.

Referenced by EventStoreCard::checkAndHistogramEvents(), FileEventSource::readInfo(), and EventStoreCard::setOutputFileName().

DAEEventHeader InfoFileData::header

header of current frame being processed

Definition at line 143 of file event_store.h.

Referenced by EventStoreCard::checkAndHistogramEvents().

uint32_t InfoFileData::header_words

number of words of header read, if < DAE_EVENT_HEADER_WORDS then we have a partial header

Definition at line 146 of file event_store.h.

Referenced by EventStoreCard::checkAndHistogramEvents().

uint32_t InfoFileData::last_address_read

detector card address read which corresponds to file_words

Definition at line 149 of file event_store.h.

Referenced by EventStoreCard::setOutputFileName(), and EventStoreCard::updateFilePosition().

uint32_t InfoFileData::last_frame

offset to start of last frame in words

Definition at line 144 of file event_store.h.

Referenced by EventStoreCard::checkAndHistogramEvents(), EventStoreCard::fixFrameHeader(), newFile(), and EventStoreCard::setOutputFileName().

uint32_t InfoFileData::num_events

total number of events read in frame m_header

Definition at line 145 of file event_store.h.

Referenced by EventStoreCard::checkAndHistogramEvents().

uint64_t InfoFileData::raw_events

total number of raw events in file

Definition at line 142 of file event_store.h.

Referenced by EventStoreCard::checkAndHistogramEvents(), EventStoreCard::numRawEvents(), and FileEventSource::readInfo().

uint32_t InfoFileData::raw_frames

total number of raw frames in file

Definition at line 148 of file event_store.h.

Referenced by EventStoreCard::checkAndHistogramEvents(), and FileEventSource::readInfo().


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