4 #ifndef __KVFZDATAREADER_H
5 #define __KVFZDATAREADER_H
23 #if ROOT_VERSION_CODE >= ROOT_VERSION(6,0,0)
41 #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/"
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="")
bool read_buffer()
if previous read reached the end of a file, we try to open the next file in the list
unique_ptr< KVUniqueNameList > fListOfFiles
list of files for run
unique_ptr< TIter > fFileListIterator
iterator for file list
bool parse_event_from_message()
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.