MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
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
23public:
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
Persistence for a run's CoMPASS global header.
static void WriteHeaderFile(Int_t run, UShort_t header)
Write a run's global header to its file.
static Bool_t ReadHeaderFile(Int_t run, UShort_t &header)
Read a run's global header back from its file.
static TString HeaderFileName(Int_t run)
Header filename for a run.