MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
PulseHistory::Kernel Struct Reference

The fitted correction for one channel group. More...

#include <PulseHistory.hpp>

Public Member Functions

 Kernel ()
 Construct unfitted, with zeroed coefficients.

Public Attributes

Bool_t ok = kFALSE
 Whether this group was successfully fitted.
Int_t n_amp = 1
 Amplitude bands actually used, at most kMaxAmpBins.
Double_t k [kMaxAmpBins][kNBins]
 Coefficients, [amplitude band][dt bin].
Double_t intercept = 0.0
 Fit intercept, in ADC.
Double_t r2 = 0.0
 Coefficient of determination.
Double_t rms_before = 0.0
 Channel-deviation RMS before correction.
Double_t rms_after = 0.0
 And after, so the gain is visible.
Long64_t n = 0
 (event, channel) pairs entering the fit.
Long64_t n_beam = 0
 Beam-like events passing this group's selection.

Detailed Description

The fitted correction for one channel group.

Check ok before use; a group that could not be fitted leaves the coefficients at zero.

Definition at line 73 of file PulseHistory.hpp.

Constructor & Destructor Documentation

◆ Kernel()

PulseHistory::Kernel::Kernel ( )

Construct unfitted, with zeroed coefficients.

Definition at line 77 of file PulseHistory.cpp.

Member Data Documentation

◆ intercept

Double_t PulseHistory::Kernel::intercept = 0.0

Fit intercept, in ADC.

Definition at line 78 of file PulseHistory.hpp.

Referenced by PulseHistory::Measure(), and PulseHistory::WriteToEventsFile().

◆ k

Double_t PulseHistory::Kernel::k[kMaxAmpBins][kNBins]

Coefficients, [amplitude band][dt bin].

Definition at line 76 of file PulseHistory.hpp.

Referenced by Kernel(), PulseHistory::Measure(), PulseHistory::Report(), PulseHistory::SavePlots(), and PulseHistory::WriteToEventsFile().

◆ n

Long64_t PulseHistory::Kernel::n = 0

(event, channel) pairs entering the fit.

Definition at line 82 of file PulseHistory.hpp.

Referenced by PulseHistory::Measure(), PulseHistory::Report(), and PulseHistory::WriteToEventsFile().

◆ n_amp

Int_t PulseHistory::Kernel::n_amp = 1

Amplitude bands actually used, at most kMaxAmpBins.

Definition at line 75 of file PulseHistory.hpp.

Referenced by PulseHistory::Measure(), PulseHistory::Report(), PulseHistory::SavePlots(), and PulseHistory::WriteToEventsFile().

◆ n_beam

Long64_t PulseHistory::Kernel::n_beam = 0

Beam-like events passing this group's selection.

Definition at line 83 of file PulseHistory.hpp.

Referenced by PulseHistory::Measure(), and PulseHistory::Report().

◆ ok

Bool_t PulseHistory::Kernel::ok = kFALSE

Whether this group was successfully fitted.

Definition at line 74 of file PulseHistory.hpp.

Referenced by PulseHistory::Apply(), PulseHistory::Measure(), PulseHistory::Report(), PulseHistory::SavePlots(), and PulseHistory::WriteToEventsFile().

◆ r2

Double_t PulseHistory::Kernel::r2 = 0.0

Coefficient of determination.

Definition at line 79 of file PulseHistory.hpp.

Referenced by PulseHistory::Measure(), PulseHistory::Report(), and PulseHistory::WriteToEventsFile().

◆ rms_after

Double_t PulseHistory::Kernel::rms_after = 0.0

And after, so the gain is visible.

Definition at line 81 of file PulseHistory.hpp.

Referenced by PulseHistory::Measure(), PulseHistory::Report(), PulseHistory::SavePlots(), and PulseHistory::WriteToEventsFile().

◆ rms_before

Double_t PulseHistory::Kernel::rms_before = 0.0

Channel-deviation RMS before correction.

Definition at line 80 of file PulseHistory.hpp.

Referenced by PulseHistory::Measure(), PulseHistory::Report(), PulseHistory::SavePlots(), and PulseHistory::WriteToEventsFile().


The documentation for this struct was generated from the following files: