1#ifndef BESIII_EVTIDX_HANDLER_H
2#define BESIII_EVTIDX_HANDLER_H
30 return ( m_totEvt - (m_idxPos+nIgnore) );
34 void addPos(uint32_t evtId, uint32_t pos);
43 void enlarge_block(
int min_size);
55 std::vector<std::string> m_fnames;
56 std::vector<std::string>::iterator m_curFile;
static uint32_t IdxPosBlockMarker()
uint32_t findPosById(uint32_t evtId)
void write(std::string fname)
static EvtIdxHandler * instance(const std::vector< std::string > &fnames)
static uint32_t IdxFileStartMarker()
void addPos(uint32_t evtId, uint32_t pos)
int nEvtLeft(int nIgnore) const
uint32_t nextPos(int nIgnore)
static uint32_t IdxIdBlockMarker()