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
21
class
BinaryToRoot
{
22
public
:
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
FileSet.hpp
BinaryToRoot
Persistence for a run's CoMPASS global header.
Definition
BinaryToRoot.hpp:21
BinaryToRoot::ReadHeaderSidecar
static Bool_t ReadHeaderSidecar(Int_t run, UShort_t &header)
Read a run's global header back from its sidecar.
Definition
BinaryToRoot.cpp:14
BinaryToRoot::HeaderSidecarName
static TString HeaderSidecarName(Int_t run)
Sidecar filename for a run.
Definition
BinaryToRoot.cpp:3
BinaryToRoot::WriteHeaderSidecar
static void WriteHeaderSidecar(Int_t run, UShort_t header)
Write a run's global header to its sidecar.
Definition
BinaryToRoot.cpp:7
tooling
include
BinaryToRoot.hpp
Generated by
1.17.0