Belle II Software  release-05-02-19
HLTFile.h
1 #pragma once
2 
3 #include <framework/pcore/SeqFile.h>
4 #include <cstdio>
5 
6 namespace Belle2 {
11  class HLTFile {
12  public:
13  bool open(const std::string& fileName, bool raw, const char* mode);
14  virtual ~HLTFile();
15 
16  int put_wordbuf(int* data, int len);
17  int put(char* data, int len);
18  int get_wordbuf(int* data, int len);
19  int get(char* data, int len);
20 
21  private:
22  std::unique_ptr<SeqFile> m_sfile;
23  FILE* m_rfile = nullptr;
24  };
26 }
27 
28 
29 
30 
31 
32 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::HLTFile
Definition: HLTFile.h:11