KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVMFMDataFileReader.h
Go to the documentation of this file.
1 
4 #ifndef __KVMFMDATAFILEREADER_H
5 #define __KVMFMDATAFILEREADER_H
6 
7 #include "KVRawDataReader.h"
8 #include "MFMFileReader.h"
9 #include "KVNameValueList.h"
10 
20 class KVMFMDataFileReader : public KVRawDataReader, public MFMFileReader {
21 
22 public:
23  KVMFMDataFileReader(const Char_t* filepath);
24  virtual ~KVMFMDataFileReader() {}
25 
28  {
29  bool ok = ReadNextFrame();
30  return ok;
31  }
33  {
34  return nullptr;
35  }
36 
37  static KVMFMDataFileReader* Open(const Char_t* filepath, Option_t* = "");
38 
40  {
41  return "MFM";
42  }
43  void SetActionsDirectory(const string&);
44  void SetActionsExpName(const string&);
45 
47 
49 
50  ClassDef(KVMFMDataFileReader, 0) //Read MFM format acquisition data
51 };
52 
53 #endif
int Int_t
char Char_t
bool Bool_t
const char Option_t
#define ClassDef(name, id)
Read MFM format acquisition data.
Int_t GetRunNumberReadFromFile() const
TString GetDataFormat() const
KVSeqCollection * GetFiredDataParameters() const
void SetActionsExpName(const string &)
void SetActionsDirectory(const string &)
TString GetPathToLastEbyedatActionsFile()
Returns full path to last ACTIONS file used to decode Ebyedat parameters.
static KVMFMDataFileReader * Open(const Char_t *filepath, Option_t *="")
KVMFMDataFileReader(const Char_t *filepath)
Abstract base class for reading raw (DAQ) data.
KaliVeda extensions to ROOT collection classes.