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 ClassDef(name, id)
Handle FAZIA protobuf-format raw data files.
KVString fFullFilePath
full path to files including "root:" etc. and "/run000000/"
std::unique_ptr< KVUniqueNameList > fListOfFiles
list of files for run
Int_t GetRunNumberReadFromFile() const
virtual ~KVFzDataReader()
const DAQ::FzEvent & get_fazia_event() const
int run_number
run number deduced from filename
static KVFzDataReader * Open(const Char_t *filename, Option_t *opt="")
std::unique_ptr< TIter > fFileListIterator
iterator for file list
bool read_buffer()
if previous read reached the end of a file, we try to open the next file in the list
bool parse_event_from_message()
Read Google Protobuf DAQ files.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....