MUSIC
unknown
Analysis for the MUSIC active-target ionization chamber
Toggle main menu visibility
Loading...
Searching...
No Matches
BinaryToRoot.hpp
Go to the documentation of this file.
1
#ifndef BINARY_TO_ROOT_HPP
2
#define BINARY_TO_ROOT_HPP
3
4
#include "
FileSet.hpp
"
5
#include "IOUtils.hpp"
6
#include <Rtypes.h>
7
#include <TString.h>
8
#include <TSystem.h>
9
#include <fstream>
10
#include <ios>
11
#include <string>
12
22
class
BinaryToRoot
{
23
public
:
27
static
TString
HeaderFileName
(Int_t run);
28
42
static
void
WriteHeaderFile
(Int_t run, UShort_t header);
43
55
static
Bool_t
ReadHeaderFile
(Int_t run, UShort_t &header);
56
};
57
58
#endif
FileSet.hpp
BinaryToRoot
Persistence for a run's CoMPASS global header.
Definition
BinaryToRoot.hpp:22
BinaryToRoot::WriteHeaderFile
static void WriteHeaderFile(Int_t run, UShort_t header)
Write a run's global header to its file.
Definition
BinaryToRoot.cpp:7
BinaryToRoot::ReadHeaderFile
static Bool_t ReadHeaderFile(Int_t run, UShort_t &header)
Read a run's global header back from its file.
Definition
BinaryToRoot.cpp:14
BinaryToRoot::HeaderFileName
static TString HeaderFileName(Int_t run)
Header filename for a run.
Definition
BinaryToRoot.cpp:3
tooling
include
BinaryToRoot.hpp
Generated by
1.17.0