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
22public:
26 static TString HeaderSidecarName(Int_t run);
27
41 static void WriteHeaderSidecar(Int_t run, UShort_t header);
42
54 static Bool_t ReadHeaderSidecar(Int_t run, UShort_t &header);
55};
56
57#endif
Persistence for a run's CoMPASS global header.
static Bool_t ReadHeaderSidecar(Int_t run, UShort_t &header)
Read a run's global header back from its sidecar.
static TString HeaderSidecarName(Int_t run)
Sidecar filename for a run.
static void WriteHeaderSidecar(Int_t run, UShort_t header)
Write a run's global header to its sidecar.