|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
Go to the source code of this file.
Functions | |
| Bool_t | SummaryGridPartnerIsStrip1 () |
| Whether the grid's partner in the summary is strip 1 rather than strip 0: when strip 0 is ignored or not required, most events have none, so the plot pairs the grid with the first strip every event carries. | |
| 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 8 of file EventsSummary.cpp.
Referenced by 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 77 of file EventsSummary.cpp.
Referenced by EventBuilder::BuildEventsFromSortedHits(), and EventsSummary::BuildNormedSummaryHistograms().
| Bool_t SummaryGridPartnerIsStrip1 | ( | ) |
Whether the grid's partner in the summary is strip 1 rather than strip 0: when strip 0 is ignored or not required, most events have none, so the plot pairs the grid with the first strip every event carries.
Definition at line 4 of file EventsSummary.cpp.
Referenced by EventsSummary::BuildNormedSummaryHistograms(), CreateSummaryHistograms(), FinalizeEvent(), and SaveAndDeleteSummaryHistograms().