|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
Everything one subfile's pulse-history pass produced. More...
#include <PulseHistory.hpp>
Public Member Functions | |
| Result () | |
| Construct with zeroed counters and null diagnostics. | |
| ~Result () | |
| Frees any diagnostic histograms still held. | |
Public Attributes | |
| Kernel | kernel [kNGroups] |
| One kernel per Group. | |
| Long64_t | n_hits = 0 |
| Hits examined. | |
| Long64_t | n_seeds = 0 |
| Hits usable as a previous pulse. | |
| Long64_t | n_beam_events = 0 |
| Beam-like events the fit drew on. | |
| Long64_t | n_corrected = 0 |
| Hits that received a correction. | |
| Long64_t | n_clamped = 0 |
| Corrections clamped rather than applied in full. | |
| Long64_t | n_clamped_group [kNGroups] |
| Clamps per group. | |
| Double_t | mean_shift [kNGroups] |
| Mean subtracted term per group, ADC. | |
| Bool_t | sorted_input = kTRUE |
| Whether the input arrived time-ordered. | |
| std::vector< Double_t > | mode |
| Beam peak per (board, channel) index, in ADC. | |
Diagnostics | |
Filled when SAVE_PLOTS is on, drawn and freed by SavePlots(). Null otherwise. | |
| TH2D * | dev_vs_pred [kNGroups] |
| Channel deviation against predicted shift. | |
| TH1D * | dev_before [kNGroups] |
| Deviation distribution before correction. | |
| TH1D * | dev_after [kNGroups] |
| And after. | |
| TH1D * | shift [kNGroups] |
| Shift applied per hit. | |
| TProfile * | dtprev_before [kNGroups] |
| Deviation against time to previous pulse. | |
| TProfile * | dtprev_after [kNGroups] |
| And after. | |
Everything one subfile's pulse-history pass produced.
Definition at line 95 of file PulseHistory.hpp.
| PulseHistory::Result::Result | ( | ) |
Construct with zeroed counters and null diagnostics.
Definition at line 83 of file PulseHistory.cpp.
| PulseHistory::Result::~Result | ( | ) |
Frees any diagnostic histograms still held.
Definition at line 93 of file PulseHistory.cpp.
| TH1D* PulseHistory::Result::dev_after[kNGroups] |
And after.
Definition at line 114 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), Result(), PulseHistory::SavePlots(), and ~Result().
| TH1D* PulseHistory::Result::dev_before[kNGroups] |
Deviation distribution before correction.
Definition at line 113 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), Result(), PulseHistory::SavePlots(), and ~Result().
| TH2D* PulseHistory::Result::dev_vs_pred[kNGroups] |
Channel deviation against predicted shift.
Definition at line 112 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), Result(), PulseHistory::SavePlots(), and ~Result().
| TProfile* PulseHistory::Result::dtprev_after[kNGroups] |
And after.
Definition at line 118 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), Result(), PulseHistory::SavePlots(), and ~Result().
| TProfile* PulseHistory::Result::dtprev_before[kNGroups] |
Deviation against time to previous pulse.
Definition at line 117 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), Result(), PulseHistory::SavePlots(), and ~Result().
One kernel per Group.
Definition at line 96 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), PulseHistory::Measure(), PulseHistory::Report(), PulseHistory::SavePlots(), and PulseHistory::WriteToEventsFile().
| Double_t PulseHistory::Result::mean_shift[kNGroups] |
Mean subtracted term per group, ADC.
Definition at line 103 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), PulseHistory::Report(), Result(), and PulseHistory::WriteToEventsFile().
| std::vector<Double_t> PulseHistory::Result::mode |
Beam peak per (board, channel) index, in ADC.
Zero where the channel is not a long end, which is what AmpBinOf() keys off.
Definition at line 107 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), and PulseHistory::Measure().
| Long64_t PulseHistory::Result::n_beam_events = 0 |
Beam-like events the fit drew on.
Definition at line 99 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), PulseHistory::Report(), and PulseHistory::WriteToEventsFile().
| Long64_t PulseHistory::Result::n_clamped = 0 |
Corrections clamped rather than applied in full.
Definition at line 101 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), PulseHistory::Report(), and PulseHistory::WriteToEventsFile().
| Long64_t PulseHistory::Result::n_clamped_group[kNGroups] |
Clamps per group.
Definition at line 102 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), PulseHistory::Report(), and Result().
| Long64_t PulseHistory::Result::n_corrected = 0 |
Hits that received a correction.
Definition at line 100 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), PulseHistory::Report(), and PulseHistory::WriteToEventsFile().
| Long64_t PulseHistory::Result::n_hits = 0 |
Hits examined.
Definition at line 97 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), and PulseHistory::Report().
| Long64_t PulseHistory::Result::n_seeds = 0 |
Hits usable as a previous pulse.
Definition at line 98 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), and PulseHistory::Report().
| TH1D* PulseHistory::Result::shift[kNGroups] |
Shift applied per hit.
Definition at line 115 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), PulseHistory::Measure(), Result(), PulseHistory::SavePlots(), and ~Result().
| Bool_t PulseHistory::Result::sorted_input = kTRUE |
Whether the input arrived time-ordered.
Definition at line 104 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), and PulseHistory::Report().