4 #ifndef __KVFZDATAREADER_H
5 #define __KVFZDATAREADER_H
7 #include "KVProtobufDataReader.h"
8 #include <KVUniqueNameList.h>
37 #if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
#define ClassDefOverride(name, id)
Handle FAZIA protobuf-format raw data files.
KVString fFullFilePath
iterator for file list
virtual ~KVFzDataReader()
Int_t GetRunNumberReadFromFile() const override
KVUniqueNameList fListOfFiles
const DAQ::FzEvent & get_fazia_event() const
int run_number
full path to files including "root:" etc. and "/run000000/"
static KVFzDataReader * Open(const Char_t *filename, Option_t *opt="")
bool read_buffer() override
if previous read reached the end of a file, we try to open the next file in the list
std::unique_ptr< TIter > fFileListIterator
list of files for run
bool parse_event_from_message() override
run number deduced from filename
Read Google Protobuf DAQ files.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Optimised list in which named objects can only be placed once.