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
24namespace BeamEnergies {
25
29TString SimPath();
30
43Bool_t Profile(const TString &path, Double_t *dE, Double_t &e_strip0);
44
56Double_t LabAtStrip(const Double_t *dE, Double_t e_strip0, Int_t reac);
57
61Double_t CmFraction();
62
63} // namespace BeamEnergies
64
65#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.