Hall-D Software
alpha
|
#include <HDEVIO.h>
Classes | |
struct | BLOCKHEADER_t |
struct | BORHEADER_t |
struct | CDAQPHYSICSHEADER_t |
struct | EPICSHEADER_t |
struct | EVENTHEADER_t |
class | EVIOBlockRecord |
class | EVIOEventRecord |
struct | PHYSICSHEADER_t |
Public Member Functions | |
HDEVIO (string filename, bool read_map_file=true, int verbose=1) | |
virtual | ~HDEVIO () |
bool | ReadBlock (void) |
bool | read (uint32_t *user_buff, uint32_t user_buff_len, bool allow_swap=true) |
bool | readSparse (uint32_t *user_buff, uint32_t user_buff_len, bool allow_swap=true) |
bool | readNoFileBuff (uint32_t *user_buff, uint32_t user_buff_len, bool allow_swap=true) |
void | rewind (void) |
uint64_t | GetNWordsLeftInFile (void) |
uint32_t | swap_bank (uint32_t *outbuff, uint32_t *inbuff, uint32_t len) |
uint32_t | swap_tagsegment (uint32_t *outbuff, uint32_t *inbuff, uint32_t len) |
uint32_t | swap_segment (uint32_t *outbuff, uint32_t *inbuff, uint32_t len) |
void | Print_fbuff (void) |
void | PrintEVIOBlockHeader (void) |
void | PrintStats (void) |
void | PrintFileSummary (void) |
void | SaveFileMap (string fname="") |
void | ReadFileMap (string fname="", bool warn_if_not_found=false) |
uint32_t | GetEventMask (void) |
uint32_t | SetEventMask (uint32_t mask) |
uint32_t | SetEventMask (string types_str) |
uint32_t | AddToEventMask (string type_str) |
vector< EVIOBlockRecord > & | GetEVIOBlockRecords (void) |
string | HexStr (uint32_t v) |
string | HexStr (uint16_t v) |
string | HexStr (uint8_t v) |
void | swap_block (uint16_t *inbuff, uint16_t len, uint16_t *outbuff) |
void | swap_block (uint32_t *inbuff, uint32_t len, uint32_t *outbuff) |
void | swap_block (uint64_t *inbuff, uint64_t len, uint64_t *outbuff) |
Public Attributes | |
enum HDEVIO:: { ... } | ERRORCODE_t |
string | filename |
ifstream | ifs |
bool | is_open |
uint32_t * | fbuff |
uint32_t * | fnext |
uint32_t * | fbuff_end |
uint64_t | fbuff_size |
uint64_t | fbuff_len |
uint64_t | _gcount |
uint32_t * | buff |
uint32_t * | next |
uint32_t * | buff_end |
uint32_t | buff_size |
uint32_t | buff_len |
uint32_t | buff_limit |
bool | swap_needed |
BLOCKHEADER_t * | bh |
streampos | last_event_pos |
uint32_t | last_event_len |
int | VERBOSE |
bool | IGNORE_EMPTY_BOR |
bool | SKIP_EVENT_MAPPING |
stringstream | err_mess |
uint32_t | err_code |
uint64_t | Nblocks |
uint64_t | Nevents |
uint64_t | Nerrors |
uint64_t | Nbad_blocks |
uint64_t | Nbad_events |
Protected Member Functions | |
void | MapBlocks (bool print_ticker=true) |
void | MapEvents (BLOCKHEADER_t &bh, EVIOBlockRecord &br) |
void | ClearErrorMessage (void) |
void | SetErrorMessage (string mess) |
void | buff_read (char *s, streamsize n) |
void | buff_seekg (streamoff off, ios_base::seekdir way) |
streamsize | buff_gcount () const |
Protected Attributes | |
uint32_t | event_type_mask |
bool | is_mapped |
uint64_t | total_size_bytes |
vector< EVIOBlockRecord > | evio_blocks |
vector< EVIOBlockRecord >::iterator | sparse_block_iter |
uint32_t | sparse_event_idx |
EVIOBlockRecord | NB_block_record |
streampos | NB_next_pos |
anonymous enum |
enum HDEVIO::BLOCKTYPE |
HDEVIO::HDEVIO | ( | string | filename, |
bool | read_map_file = true , |
||
int | verbose = 1 |
||
) |
Definition at line 31 of file HDEVIO.cc.
References _gcount, buff, buff_len, buff_limit, buff_size, ClearErrorMessage(), err_code, err_mess, event_type_mask, fbuff, fbuff_end, fbuff_len, fbuff_size, filename, fnext, HDEVIO_OK, ifs, IGNORE_EMPTY_BOR, is_mapped, is_open, last_event_len, last_event_pos, NB_next_pos, Nbad_blocks, Nbad_events, Nblocks, Nerrors, Nevents, next, async_filebuf::open(), ReadFileMap(), SKIP_EVENT_MAPPING, and total_size_bytes.
|
virtual |
|
inlineprotected |
Definition at line 242 of file HDEVIO.h.
Referenced by ReadBlock().
|
protected |
Read n bytes into the specified buffer. This will read from the file if needed, or simply copy the bytes from the existing fbuff. It is purposely meant as a drop-in replacement for ifstream::read so that we can make actual reads from the file in larger chunks and avoid backwards seeks on the actual file. This is needed because the Lustre filesystem is optimized for large data reads but smaller reads with backwards seeks tend to cripple its performance. The main difference between this and ifstream::read is that this does not return an istream& reference.
Definition at line 117 of file HDEVIO.cc.
References _gcount, fbuff, fbuff_end, fbuff_len, fbuff_size, fnext, and ifs.
Referenced by ReadBlock().
|
protected |
|
inlineprotected |
Definition at line 237 of file HDEVIO.h.
Referenced by HDEVIO(), read(), ReadBlock(), readNoFileBuff(), readSparse(), rewind(), swap_bank(), swap_segment(), and swap_tagsegment().
vector< HDEVIO::EVIOBlockRecord > & HDEVIO::GetEVIOBlockRecords | ( | void | ) |
Definition at line 723 of file HDEVIO.cc.
References evio_blocks, is_mapped, and MapBlocks().
Referenced by main(), and PrintSummary().
uint64_t HDEVIO::GetNWordsLeftInFile | ( | void | ) |
Definition at line 681 of file HDEVIO.cc.
References NB_next_pos, and total_size_bytes.
Referenced by JEventSource_EVIOpp::Dispatcher().
|
inline |
Definition at line 250 of file HDEVIO.h.
References sprintf(), str, and string.
Referenced by PrintEVIOBlockHeader(), and ReadBlock().
|
inline |
|
inline |
|
protected |
Definition at line 733 of file HDEVIO.cc.
References _DBG_, bh, HDEVIO::EVIOBlockRecord::block_len, HDEVIO::EVIOBlockRecord::block_type, err_code, err_mess, evio_blocks, HDEVIO::EVIOBlockRecord::first_event, HDEVIO::PHYSICSHEADER_t::first_event_hi, HDEVIO::PHYSICSHEADER_t::first_event_lo, HDEVIO_BAD_BLOCK_HEADER, HDEVIO_FILE_NOT_OPEN, HDEVIO::BLOCKHEADER_t::header, ifs, is_mapped, is_open, kBT_BOR, kBT_END, kBT_EPICS, kBT_GO, kBT_PAUSE, kBT_PHYSICS, kBT_PRESTART, kBT_SYNC, kBT_UNKNOWN, HDEVIO::EVIOBlockRecord::last_event, HDEVIO::BLOCKHEADER_t::length, HDEVIO::BLOCKHEADER_t::magic, MapEvents(), Nblocks, HDEVIO::BLOCKHEADER_t::physics, HDEVIO::EVIOBlockRecord::pos, SKIP_EVENT_MAPPING, sparse_block_iter, sparse_event_idx, swap_block(), HDEVIO::EVIOBlockRecord::swap_needed, swap_needed, and total_size_bytes.
Referenced by GetEVIOBlockRecords(), PrintFileSummary(), readSparse(), and SaveFileMap().
|
protected |
This is called if the EVIO block header indicates that it contains more than one top-level event. The position and event length of the first top-level event are passed in as starting parameters.
Definition at line 845 of file HDEVIO.cc.
References _DBG_, _DBG__, HDEVIO::EVENTHEADER_t::cdaqphysics, HDEVIO::EVIOEventRecord::event_header, HDEVIO::BLOCKHEADER_t::event_len, HDEVIO::EVENTHEADER_t::event_len, HDEVIO::EVIOEventRecord::event_len, HDEVIO::EVIOEventRecord::event_type, HDEVIO::BLOCKHEADER_t::eventcnt, HDEVIO::EVIOBlockRecord::evio_events, HDEVIO::CDAQPHYSICSHEADER_t::first_event, HDEVIO::EVIOEventRecord::first_event, HDEVIO::EVIOBlockRecord::first_event, HDEVIO::PHYSICSHEADER_t::first_event_hi, HDEVIO::PHYSICSHEADER_t::first_event_lo, HDEVIO::EVENTHEADER_t::header, ifs, IGNORE_EMPTY_BOR, kBT_BOR, kBT_END, kBT_EPICS, kBT_GO, kBT_PAUSE, kBT_PHYSICS, kBT_PRESTART, kBT_SYNC, kBT_UNKNOWN, HDEVIO::EVIOEventRecord::last_event, HDEVIO::EVIOBlockRecord::last_event, Nbad_events, Nerrors, HDEVIO::EVENTHEADER_t::physics, HDEVIO::EVIOEventRecord::pos, HDEVIO::CDAQPHYSICSHEADER_t::roc1_bank_header, swap_block(), HDEVIO::EVIOBlockRecord::swap_needed, and VERBOSE.
Referenced by MapBlocks(), and readNoFileBuff().
void HDEVIO::Print_fbuff | ( | void | ) |
void HDEVIO::PrintEVIOBlockHeader | ( | void | ) |
Definition at line 1200 of file HDEVIO.cc.
References buff, HexStr(), and swap_needed.
void HDEVIO::PrintFileSummary | ( | void | ) |
Definition at line 1246 of file HDEVIO.cc.
References HDEVIO::EVIOEventRecord::event_type, evio_blocks, HDEVIO::EVIOBlockRecord::evio_events, HDEVIO::EVIOEventRecord::first_event, is_mapped, kBT_BOR, kBT_END, kBT_EPICS, kBT_GO, kBT_PAUSE, kBT_PHYSICS, kBT_PRESTART, kBT_SYNC, kBT_UNKNOWN, HDEVIO::EVIOEventRecord::last_event, MapBlocks(), PrintStats(), and total_size_bytes.
Referenced by PrintSummary().
void HDEVIO::PrintStats | ( | void | ) |
Definition at line 1221 of file HDEVIO.cc.
References evio_blocks, filename, is_mapped, Nbad_blocks, Nbad_events, Nblocks, Nerrors, and Nevents.
Referenced by PrintFileSummary(), and JEventSource_EVIOpp::~JEventSource_EVIOpp().
bool HDEVIO::read | ( | uint32_t * | user_buff, |
uint32_t | user_buff_len, | ||
bool | allow_swap = true |
||
) |
Read the next EVIO event into the user supplied buffer. Return true if successful and false otherwise. Details of the error will be in err_mess.
Definition at line 329 of file HDEVIO.cc.
References buff, buff_len, ClearErrorMessage(), err_code, err_mess, event_type_mask, HDEVIO_EVENT_BIGGER_THAN_BLOCK, HDEVIO_NO_EVENTS_IN_BUFFER, HDEVIO_OK, HDEVIO_USER_BUFFER_TOO_SMALL, last_event_len, Nbad_blocks, Nerrors, Nevents, next, ReadBlock(), readSparse(), SetErrorMessage(), swap_bank(), swap_block(), and swap_needed.
bool HDEVIO::ReadBlock | ( | void | ) |
Read in the next EVIO block. Return true if successful and false otherwise.
Definition at line 240 of file HDEVIO.cc.
References bh, buff, buff_end, buff_gcount(), buff_len, buff_limit, buff_read(), buff_seekg(), buff_size, ClearErrorMessage(), err_code, err_mess, HDEVIO_BAD_BLOCK_HEADER, HDEVIO_BLOCKSIZE_GREATER_THAN_LIMIT, HDEVIO_EOF, HDEVIO_FILE_TRUNCATED, HDEVIO_MEMORY_ALLOCATION_ERROR, HDEVIO_OK, HexStr(), ifs, Nbad_blocks, Nblocks, Nerrors, next, SetErrorMessage(), swap_block(), and swap_needed.
Referenced by JEventSourceGenerator_EVIO::CheckOpenable(), JEventSourceGenerator_EVIOpp::CheckOpenable(), and read().
void HDEVIO::ReadFileMap | ( | string | fname = "" , |
bool | warn_if_not_found = false |
||
) |
Definition at line 1413 of file HDEVIO.cc.
References HDEVIO::EVIOBlockRecord::block_len, HDEVIO::EVIOBlockRecord::block_type, HDEVIO::EVIOEventRecord::event_header, HDEVIO::EVIOEventRecord::event_len, HDEVIO::EVIOEventRecord::event_type, evio_blocks, HDEVIO::EVIOBlockRecord::evio_events, f, filename, HDEVIO::EVIOEventRecord::first_event, HDEVIO::EVIOBlockRecord::first_event, is_mapped, HDEVIO::EVIOEventRecord::last_event, HDEVIO::EVIOBlockRecord::last_event, HDEVIO::EVIOEventRecord::pos, HDEVIO::EVIOBlockRecord::pos, and VERBOSE.
Referenced by HDEVIO().
bool HDEVIO::readNoFileBuff | ( | uint32_t * | user_buff, |
uint32_t | user_buff_len, | ||
bool | allow_swap = true |
||
) |
This is an alternative to the read(...) method above that does not use a large primary file buffer. A single EVIO header is read in at a time and the events within the block mapped just like when using readSparse. The difference is that here, only a single block is mapped at a time rather than trying to map the entire file before starting. This gives a faster start up. This may be quicker for most desktop filesystems but may be slower for Lustre file systems that are configured for large volume data transfers and show perfomance degredation with small reads.
Definition at line 499 of file HDEVIO.cc.
References bh, HDEVIO::EVIOBlockRecord::block_len, ClearErrorMessage(), err_code, err_mess, HDEVIO::EVIOEventRecord::event_len, HDEVIO::EVIOBlockRecord::evio_events, HDEVIO::EVIOBlockRecord::first_event, HDEVIO_BAD_BLOCK_HEADER, HDEVIO_EOF, HDEVIO_EVENT_BIGGER_THAN_BLOCK, HDEVIO_FILE_TRUNCATED, HDEVIO_OK, HDEVIO_USER_BUFFER_TOO_SMALL, ifs, HDEVIO::EVIOBlockRecord::last_event, last_event_len, last_event_pos, HDEVIO::BLOCKHEADER_t::length, HDEVIO::BLOCKHEADER_t::magic, MapEvents(), NB_block_record, NB_next_pos, Nbad_blocks, Nblocks, Nerrors, Nevents, HDEVIO::EVIOEventRecord::pos, HDEVIO::EVIOBlockRecord::pos, SetErrorMessage(), swap_bank(), swap_block(), HDEVIO::EVIOBlockRecord::swap_needed, swap_needed, and total_size_bytes.
Referenced by JEventSource_EVIOpp::Dispatcher(), MapEVIOWords(), DMagneticFieldMapFineMesh::ReadEvioFile(), and JEventSource_EVIOpp::SearchFileForRunNumber().
bool HDEVIO::readSparse | ( | uint32_t * | user_buff, |
uint32_t | user_buff_len, | ||
bool | allow_swap = true |
||
) |
This is an alternative to the read(...) method above that is used when the user has specified that only certain event types are desired. This really only makes sense for EPICS and SYNC events. This method does not use the fbuff system and instead reads directly from the file after seeking to the desired location determined from a previously generated map.
Definition at line 404 of file HDEVIO.cc.
References ClearErrorMessage(), err_code, err_mess, HDEVIO::EVIOEventRecord::event_len, HDEVIO::EVIOEventRecord::event_type, event_type_mask, evio_blocks, HDEVIO::EVIOBlockRecord::evio_events, HDEVIO_EOF, HDEVIO_EVENT_BIGGER_THAN_BLOCK, HDEVIO_OK, HDEVIO_USER_BUFFER_TOO_SMALL, ifs, is_mapped, last_event_len, last_event_pos, MapBlocks(), Nbad_blocks, Nerrors, Nevents, HDEVIO::EVIOEventRecord::pos, SetErrorMessage(), sparse_block_iter, sparse_event_idx, swap_bank(), HDEVIO::EVIOBlockRecord::swap_needed, and swap_needed.
Referenced by read().
void HDEVIO::rewind | ( | void | ) |
This can be used whe reading from a file to reset the file pointer and other position holders to the begining of the file. This is done when the "LOOP_FOREVER" option is used in the event source to continuously re-read a file, essesntially making it an infinite stream of events that can be used for testing.
Definition at line 655 of file HDEVIO.cc.
References ClearErrorMessage(), err_code, evio_blocks, HDEVIO::EVIOBlockRecord::evio_events, HDEVIO_OK, ifs, NB_block_record, NB_next_pos, sparse_block_iter, and sparse_event_idx.
Referenced by JEventSource_EVIOpp::Dispatcher().
void HDEVIO::SaveFileMap | ( | string | fname = "" | ) |
Definition at line 1362 of file HDEVIO.cc.
References evio_blocks, filename, is_mapped, MapBlocks(), sprintf(), str, and swap_needed.
Referenced by PrintSummary().
|
inlineprotected |
Definition at line 238 of file HDEVIO.h.
Referenced by read(), ReadBlock(), readNoFileBuff(), readSparse(), swap_bank(), swap_segment(), and swap_tagsegment().
uint32_t HDEVIO::SetEventMask | ( | uint32_t | mask | ) |
Definition at line 689 of file HDEVIO.cc.
References event_type_mask.
uint32_t HDEVIO::SetEventMask | ( | string | types_str | ) |
Definition at line 700 of file HDEVIO.cc.
References event_type_mask, kBT_BOR, kBT_EPICS, and kBT_PHYSICS.
uint32_t HDEVIO::swap_bank | ( | uint32_t * | outbuff, |
uint32_t * | inbuff, | ||
uint32_t | len | ||
) |
Swap an EVIO bank. If the bank contains data, it is automatically swapped according to it's type. If the bank is a container of other containers, then this repeatedly calls the swapper methods for the appropriate container type (bank, tagsegment, segment). This means that this method will be recursive in the cases where it is a bank of banks.
Definition at line 973 of file HDEVIO.cc.
References ClearErrorMessage(), err_code, err_mess, HDEVIO_BANK_TRUNCATED, HDEVIO_UNKNOWN_BANK_TYPE, Nbad_events, Nerrors, SetErrorMessage(), swap_block(), swap_segment(), and swap_tagsegment().
Referenced by read(), readNoFileBuff(), and readSparse().
|
inline |
Definition at line 283 of file HDEVIO.h.
References swap16.
Referenced by MapBlocks(), MapEvents(), read(), ReadBlock(), readNoFileBuff(), swap_bank(), swap_segment(), and swap_tagsegment().
|
inline |
|
inline |
uint32_t HDEVIO::swap_segment | ( | uint32_t * | outbuff, |
uint32_t * | inbuff, | ||
uint32_t | len | ||
) |
Swap an EVIO segment.
Definition at line 1127 of file HDEVIO.cc.
References ClearErrorMessage(), err_code, err_mess, HDEVIO_BANK_TRUNCATED, Nbad_events, Nerrors, SetErrorMessage(), and swap_block().
Referenced by swap_bank().
uint32_t HDEVIO::swap_tagsegment | ( | uint32_t * | outbuff, |
uint32_t * | inbuff, | ||
uint32_t | len | ||
) |
Swap an EVIO tagsegment.
Definition at line 1068 of file HDEVIO.cc.
References ClearErrorMessage(), err_code, err_mess, HDEVIO_BANK_TRUNCATED, Nbad_events, Nerrors, SetErrorMessage(), and swap_block().
Referenced by swap_bank().
uint64_t HDEVIO::_gcount |
Definition at line 172 of file HDEVIO.h.
Referenced by buff_read(), buff_seekg(), HDEVIO(), and Print_fbuff().
BLOCKHEADER_t* HDEVIO::bh |
Definition at line 182 of file HDEVIO.h.
Referenced by MapBlocks(), ReadBlock(), and readNoFileBuff().
uint32_t* HDEVIO::buff |
Definition at line 175 of file HDEVIO.h.
Referenced by HDEVIO(), PrintEVIOBlockHeader(), read(), ReadBlock(), and ~HDEVIO().
uint32_t* HDEVIO::buff_end |
Definition at line 177 of file HDEVIO.h.
Referenced by ReadBlock().
uint32_t HDEVIO::buff_len |
Definition at line 179 of file HDEVIO.h.
Referenced by HDEVIO(), read(), and ReadBlock().
uint32_t HDEVIO::buff_limit |
Definition at line 180 of file HDEVIO.h.
Referenced by HDEVIO(), and ReadBlock().
uint32_t HDEVIO::buff_size |
Definition at line 178 of file HDEVIO.h.
Referenced by HDEVIO(), and ReadBlock().
uint32_t HDEVIO::err_code |
Definition at line 192 of file HDEVIO.h.
Referenced by JEventSource_EVIOpp::Dispatcher(), HDEVIO(), MapBlocks(), MapEVIOWords(), read(), ReadBlock(), DMagneticFieldMapFineMesh::ReadEvioFile(), readNoFileBuff(), readSparse(), rewind(), JEventSource_EVIOpp::SearchFileForRunNumber(), swap_bank(), swap_segment(), and swap_tagsegment().
stringstream HDEVIO::err_mess |
Definition at line 191 of file HDEVIO.h.
Referenced by JEventSource_EVIOpp::Dispatcher(), HDEVIO(), JEventSource_EVIOpp::JEventSource_EVIOpp(), main(), MapBlocks(), MapEVIOWords(), PrintSummary(), read(), ReadBlock(), DMagneticFieldMapFineMesh::ReadEvioFile(), readNoFileBuff(), readSparse(), JEventSource_EVIOpp::SearchFileForRunNumber(), swap_bank(), swap_segment(), and swap_tagsegment().
enum { ... } HDEVIO::ERRORCODE_t |
|
protected |
Definition at line 225 of file HDEVIO.h.
Referenced by HDEVIO(), read(), readSparse(), and SetEventMask().
|
protected |
Definition at line 229 of file HDEVIO.h.
Referenced by GetEVIOBlockRecords(), MapBlocks(), PrintFileSummary(), PrintStats(), ReadFileMap(), readSparse(), rewind(), and SaveFileMap().
uint32_t* HDEVIO::fbuff |
Definition at line 167 of file HDEVIO.h.
Referenced by buff_read(), buff_seekg(), HDEVIO(), Print_fbuff(), and ~HDEVIO().
uint32_t* HDEVIO::fbuff_end |
Definition at line 169 of file HDEVIO.h.
Referenced by buff_read(), buff_seekg(), HDEVIO(), and Print_fbuff().
uint64_t HDEVIO::fbuff_len |
Definition at line 171 of file HDEVIO.h.
Referenced by buff_read(), buff_seekg(), HDEVIO(), and Print_fbuff().
uint64_t HDEVIO::fbuff_size |
Definition at line 170 of file HDEVIO.h.
Referenced by buff_read(), HDEVIO(), and Print_fbuff().
string HDEVIO::filename |
Definition at line 164 of file HDEVIO.h.
Referenced by HDEVIO(), PrintStats(), ReadFileMap(), and SaveFileMap().
uint32_t* HDEVIO::fnext |
Definition at line 168 of file HDEVIO.h.
Referenced by buff_read(), buff_seekg(), HDEVIO(), and Print_fbuff().
ifstream HDEVIO::ifs |
Definition at line 165 of file HDEVIO.h.
Referenced by buff_read(), buff_seekg(), HDEVIO(), MapBlocks(), MapEvents(), ReadBlock(), readNoFileBuff(), readSparse(), rewind(), and ~HDEVIO().
bool HDEVIO::IGNORE_EMPTY_BOR |
Definition at line 188 of file HDEVIO.h.
Referenced by HDEVIO(), JEventSource_EVIOpp::JEventSource_EVIOpp(), and MapEvents().
|
protected |
Definition at line 227 of file HDEVIO.h.
Referenced by GetEVIOBlockRecords(), HDEVIO(), MapBlocks(), PrintFileSummary(), PrintStats(), ReadFileMap(), readSparse(), and SaveFileMap().
bool HDEVIO::is_open |
Definition at line 166 of file HDEVIO.h.
Referenced by JEventSourceGenerator_EVIO::CheckOpenable(), JEventSourceGenerator_EVIOpp::CheckOpenable(), HDEVIO(), JEventSource_EVIOpp::JEventSource_EVIOpp(), main(), MapBlocks(), MapEVIOWords(), PrintSummary(), and DMagneticFieldMapFineMesh::ReadEvioFile().
uint32_t HDEVIO::last_event_len |
Definition at line 184 of file HDEVIO.h.
Referenced by JEventSource_EVIOpp::Dispatcher(), HDEVIO(), MapEVIOWords(), read(), DMagneticFieldMapFineMesh::ReadEvioFile(), readNoFileBuff(), and readSparse().
streampos HDEVIO::last_event_pos |
Definition at line 183 of file HDEVIO.h.
Referenced by JEventSource_EVIOpp::Dispatcher(), HDEVIO(), readNoFileBuff(), and readSparse().
|
protected |
Definition at line 234 of file HDEVIO.h.
Referenced by readNoFileBuff(), and rewind().
|
protected |
Definition at line 235 of file HDEVIO.h.
Referenced by GetNWordsLeftInFile(), HDEVIO(), readNoFileBuff(), and rewind().
uint64_t HDEVIO::Nbad_blocks |
Definition at line 197 of file HDEVIO.h.
Referenced by HDEVIO(), PrintStats(), read(), ReadBlock(), readNoFileBuff(), and readSparse().
uint64_t HDEVIO::Nbad_events |
Definition at line 198 of file HDEVIO.h.
Referenced by HDEVIO(), MapEvents(), PrintStats(), swap_bank(), swap_segment(), and swap_tagsegment().
uint64_t HDEVIO::Nblocks |
Definition at line 194 of file HDEVIO.h.
Referenced by HDEVIO(), MapBlocks(), PrintStats(), ReadBlock(), and readNoFileBuff().
uint64_t HDEVIO::Nerrors |
Definition at line 196 of file HDEVIO.h.
Referenced by HDEVIO(), MapEvents(), PrintStats(), read(), ReadBlock(), readNoFileBuff(), readSparse(), swap_bank(), swap_segment(), and swap_tagsegment().
uint64_t HDEVIO::Nevents |
Definition at line 195 of file HDEVIO.h.
Referenced by HDEVIO(), PrintStats(), read(), readNoFileBuff(), readSparse(), and JEventSource_EVIOpp::SearchFileForRunNumber().
uint32_t* HDEVIO::next |
Definition at line 176 of file HDEVIO.h.
Referenced by HDEVIO(), read(), and ReadBlock().
bool HDEVIO::SKIP_EVENT_MAPPING |
Definition at line 189 of file HDEVIO.h.
Referenced by HDEVIO(), MapBlocks(), and PrintSummary().
|
protected |
Definition at line 232 of file HDEVIO.h.
Referenced by MapBlocks(), readSparse(), and rewind().
|
protected |
Definition at line 233 of file HDEVIO.h.
Referenced by MapBlocks(), readSparse(), and rewind().
bool HDEVIO::swap_needed |
Definition at line 181 of file HDEVIO.h.
Referenced by JEventSource_EVIOpp::Dispatcher(), MapBlocks(), PrintEVIOBlockHeader(), read(), ReadBlock(), readNoFileBuff(), readSparse(), and SaveFileMap().
|
protected |
Definition at line 228 of file HDEVIO.h.
Referenced by GetNWordsLeftInFile(), HDEVIO(), MapBlocks(), PrintFileSummary(), and readNoFileBuff().
int HDEVIO::VERBOSE |
Definition at line 187 of file HDEVIO.h.
Referenced by MapEvents(), and ReadFileMap().