|
Analysis-Utilities 26.9.9
C++/ROOT utilities for nuclear measurement data analysis
|
Cursor over a WaveDump DT5742 binary file. More...
#include <BinaryUtils.hpp>
Public Member Functions | |
| WaveDump742Reader (Bool_t with_corrections=kTRUE) | |
| Construct a reader with no file open. | |
| virtual | ~WaveDump742Reader () |
| Bool_t | ReadEvent () override |
| Decode the next record into the derived reader's current event. | |
| const WaveDump742Data & | GetCurrentEvent () const |
| The event most recently read. | |
| WaveDump742Data & | GetCurrentEvent () |
| Mutable access to the event most recently read. | |
| void | SetCorrectionsEnabled (Bool_t enable) |
| Turn the DT5742 timing corrections on or off. | |
| Bool_t | GetCorrectionsEnabled () const |
| Whether the timing corrections are being applied. | |
| Public Member Functions inherited from BinaryReader | |
| BinaryReader () | |
| Construct a reader with no file open. | |
| virtual | ~BinaryReader () |
| Closes the file if it is still open. | |
| virtual Bool_t | Open (const char *fname) |
| Open a binary file for reading. | |
| virtual void | Close () |
| Close the file. Safe to call when nothing is open. | |
| Bool_t | IsOpen () const |
| Whether a file is currently open. | |
| TString | GetFileName () const |
| Path most recently passed to Open(). | |
| Long64_t | GetBytesRead () const |
| Bytes consumed so far, for progress reporting. | |
| Bool_t | IsEOF () const |
| Whether the file is exhausted or was never opened. | |
Additional Inherited Members | |
| Protected Attributes inherited from BinaryReader | |
| std::ifstream | file |
| TString | filename |
| Bool_t | file_open |
| Long64_t | bytes_read |
Cursor over a WaveDump DT5742 binary file.
Definition at line 339 of file BinaryUtils.hpp.
|
inline |
Construct a reader with no file open.
| with_corrections | kTRUE (default) to apply the DT5742 timing corrections as events are decoded. |
Definition at line 350 of file BinaryUtils.hpp.
|
inlinevirtual |
Definition at line 353 of file BinaryUtils.hpp.
|
inline |
Whether the timing corrections are being applied.
Definition at line 368 of file BinaryUtils.hpp.
|
inline |
Mutable access to the event most recently read.
Definition at line 362 of file BinaryUtils.hpp.
|
inline |
The event most recently read.
Definition at line 359 of file BinaryUtils.hpp.
Referenced by InitUtils::ConvertWavedumpBinToROOT().
|
overridevirtual |
Decode the next record into the derived reader's current event.
Implements BinaryReader.
Definition at line 288 of file BinaryUtils.cpp.
Referenced by InitUtils::ConvertWavedumpBinToROOT().
|
inline |
Turn the DT5742 timing corrections on or off.
| enable | kTRUE to apply them to subsequently read events. |
Definition at line 366 of file BinaryUtils.hpp.