|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
Go to the source code of this file.
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().