|
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. | |
| void | FreeDiagnostics () |
| Delete every diagnostic histogram and null the pointers. | |
Public Attributes | |
| Kernel | kernel [kNGROUPS] |
| The group fits, one per Group: each the fit over the sum of its channels, the fallback for a channel without a kernel of its own. | |
| std::vector< Kernel > | kernel_ch |
| The applied kernels, one per (board, channel) index as in the group map (empty before Measure()): the channel's own fit, or a flagged copy of its group's. | |
| std::vector< Int_t > | group_of |
| The group map Measure() was given. | |
| std::vector< TString > | name_ch |
| Channel-map name per index. | |
| Bool_t | enabled [kNGROUPS] |
| Whether the group was configured for correction. | |
| 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 the file draws (Constants::SavePlots()), 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. | |
| std::vector< TProfile * > | dtprev_before_ch |
| Per channel index, deviation against time to previous pulse before and after the channel's own kernel; drawn per group on one canvas. | |
| std::vector< TProfile * > | dtprev_after_ch |
Everything one subfile's pulse-history pass produced.
Definition at line 223 of file PulseHistory.hpp.
| PulseHistory::Result::Result | ( | ) |
Construct with zeroed counters and null diagnostics.
Definition at line 159 of file PulseHistory.cpp.
| PulseHistory::Result::~Result | ( | ) |
Frees any diagnostic histograms still held.
Definition at line 170 of file PulseHistory.cpp.
| void PulseHistory::Result::FreeDiagnostics | ( | ) |
Delete every diagnostic histogram and null the pointers.
Definition at line 172 of file PulseHistory.cpp.
Referenced by PulseHistory::SavePlots(), and ~Result().
| TH1D* PulseHistory::Result::dev_after[kNGROUPS] |
And after.
Definition at line 253 of file PulseHistory.hpp.
Referenced by FreeDiagnostics(), PulseHistory::Measure(), Result(), and PulseHistory::SavePlots().
| TH1D* PulseHistory::Result::dev_before[kNGROUPS] |
Deviation distribution before correction.
Definition at line 252 of file PulseHistory.hpp.
Referenced by FreeDiagnostics(), PulseHistory::Measure(), Result(), and PulseHistory::SavePlots().
| TH2D* PulseHistory::Result::dev_vs_pred[kNGROUPS] |
Channel deviation against predicted shift.
Definition at line 251 of file PulseHistory.hpp.
Referenced by FreeDiagnostics(), PulseHistory::Measure(), Result(), and PulseHistory::SavePlots().
| TProfile* PulseHistory::Result::dtprev_after[kNGROUPS] |
And after.
Definition at line 257 of file PulseHistory.hpp.
Referenced by FreeDiagnostics(), PulseHistory::Measure(), Result(), and PulseHistory::SavePlots().
| std::vector<TProfile *> PulseHistory::Result::dtprev_after_ch |
Definition at line 261 of file PulseHistory.hpp.
Referenced by FreeDiagnostics(), PulseHistory::Measure(), and PulseHistory::SavePlots().
| TProfile* PulseHistory::Result::dtprev_before[kNGROUPS] |
Deviation against time to previous pulse.
Definition at line 256 of file PulseHistory.hpp.
Referenced by FreeDiagnostics(), PulseHistory::Measure(), Result(), and PulseHistory::SavePlots().
| std::vector<TProfile *> PulseHistory::Result::dtprev_before_ch |
Per channel index, deviation against time to previous pulse before and after the channel's own kernel; drawn per group on one canvas.
Definition at line 260 of file PulseHistory.hpp.
Referenced by FreeDiagnostics(), PulseHistory::Measure(), and PulseHistory::SavePlots().
| Bool_t PulseHistory::Result::enabled[kNGROUPS] |
Whether the group was configured for correction.
Definition at line 234 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), PulseHistory::Report(), and Result().
| std::vector<Int_t> PulseHistory::Result::group_of |
The group map Measure() was given.
Definition at line 231 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), PulseHistory::Report(), PulseHistory::SavePlots(), and PulseHistory::WriteToEventsFile().
The group fits, one per Group: each the fit over the sum of its channels, the fallback for a channel without a kernel of its own.
Definition at line 226 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), PulseHistory::Report(), PulseHistory::SavePlots(), and PulseHistory::WriteToEventsFile().
| std::vector<Kernel> PulseHistory::Result::kernel_ch |
The applied kernels, one per (board, channel) index as in the group map (empty before Measure()): the channel's own fit, or a flagged copy of its group's.
Definition at line 230 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 241 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), PulseHistory::Report(), and Result().
| 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 245 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 237 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), and PulseHistory::Report().
| Long64_t PulseHistory::Result::n_clamped = 0 |
Corrections clamped rather than applied in full.
Definition at line 239 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), and PulseHistory::Report().
| Long64_t PulseHistory::Result::n_clamped_group[kNGROUPS] |
Clamps per group.
Definition at line 240 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 238 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), and PulseHistory::Report().
| Long64_t PulseHistory::Result::n_hits = 0 |
Hits examined.
Definition at line 235 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 236 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), and PulseHistory::Report().
| std::vector<TString> PulseHistory::Result::name_ch |
Channel-map name per index.
Definition at line 232 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), PulseHistory::Report(), and PulseHistory::SavePlots().
| TH1D* PulseHistory::Result::shift[kNGROUPS] |
Shift applied per hit.
Definition at line 254 of file PulseHistory.hpp.
Referenced by PulseHistory::Apply(), FreeDiagnostics(), PulseHistory::Measure(), Result(), and PulseHistory::SavePlots().
| Bool_t PulseHistory::Result::sorted_input = kTRUE |
Whether the input arrived time-ordered.
Definition at line 242 of file PulseHistory.hpp.
Referenced by PulseHistory::Measure(), and PulseHistory::Report().