|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
#include "Constants.hpp"#include "FileSet.hpp"#include "IOUtils.hpp"#include "Normalization.hpp"#include "PlottingUtils.hpp"#include <TCanvas.h>#include <TFile.h>#include <TGraph.h>#include <TH1F.h>#include <TH2F.h>#include <TString.h>#include <TTree.h>#include <mutex>#include <vector>Go to the source code of this file.
Classes | |
| struct | SummaryHistograms |
| The standard diagnostic histogram set for a subfile. More... | |
| struct | SummaryHistConfig |
| Axis ranges and labels for building a SummaryHistograms set. More... | |
| class | EventsSummary |
| Calibrated summary plots and sample traces, built from events files. More... | |
Functions | |
| void | CreateSummaryHistograms (SummaryHistograms &h, const SummaryHistConfig &cfg) |
| Allocate every histogram in the set. | |
| void | SaveAndDeleteSummaryHistograms (SummaryHistograms &h, TFile *out_file, const TString &subdir, const TString &plot_suffix) |
| Write the set to file, save the plots, then free every histogram. | |
| void CreateSummaryHistograms | ( | SummaryHistograms & | h, |
| const SummaryHistConfig & | cfg ) |
Allocate every histogram in the set.
| [out] | h | Set to populate; existing pointers are overwritten, not freed. |
| cfg | Axis ranges and labels. |
Definition at line 4 of file EventsSummary.cpp.
Referenced by EventBuilder::BuildEventsFromSortedHits(), and EventsSummary::BuildNormedSummaryHistograms().
| void SaveAndDeleteSummaryHistograms | ( | SummaryHistograms & | h, |
| TFile * | out_file, | ||
| const TString & | subdir, | ||
| const TString & | plot_suffix ) |
Write the set to file, save the plots, then free every histogram.
| [in,out] | h | Set to write; every pointer is deleted and left dangling. |
| out_file | Destination file. Must be open for writing. | |
| subdir | Plot subdirectory under the plots base. | |
| plot_suffix | Suffix appended to each plot filename. |
h afterwards without calling CreateSummaryHistograms() again. Definition at line 76 of file EventsSummary.cpp.
Referenced by EventBuilder::BuildEventsFromSortedHits(), and EventsSummary::BuildNormedSummaryHistograms().