MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
BeamEnergies.hpp
Go to the documentation of this file.
1#ifndef BEAM_ENERGIES_HPP
2#define BEAM_ENERGIES_HPP
3
4#include <TString.h>
5
26namespace BeamEnergies {
27
31TString SimPath();
32
45Bool_t Profile(const TString &path, Double_t *dE, Double_t &e_strip0);
46
58Double_t LabAtStrip(const Double_t *dE, Double_t e_strip0, Int_t reac);
59
63Double_t CmFraction();
64
65} // namespace BeamEnergies
66
67#endif
The beam's energy at each anode strip, from the simulated unreacted beam.
Double_t LabAtStrip(const Double_t *dE, Double_t e_strip0, Int_t reac)
Lab energy entering a given strip.
Bool_t Profile(const TString &path, Double_t *dE, Double_t &e_strip0)
Read the per-strip energy loss profile from a beam simulation.
Double_t CmFraction()
Centre-of-mass energy fraction for this dataset's reaction.
TString SimPath()
Path to the dataset's beam simulation file.