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

Output of the strip centroid alignment, the post-gain calibration step. More...

#include <CalibrateBeam.hpp>

Public Attributes

Bool_t ok = kFALSE
 Whether the step produced usable results.
Double_t factors [18] = {}
 Per-strip multiplicative alignment factors, applied to every end.
Double_t offsets [18] = {}
 Per-strip additive offsets in calibrated units, applied after the factor to the strip total; EnergyView carries each on the strip's long end.
Double_t centroids [18] = {}
 Measured beam peak per strip before alignment, in calibrated units.
Double_t pileups [18] = {}
 Measured two-particle pile-up peak per strip before alignment, in calibrated units; 0 where none was found.

Detailed Description

Output of the strip centroid alignment, the post-gain calibration step.

Decodes events with the per-channel gains already applied and locates two peaks in each strip's smoothed total (0.005 a.u. bins, parabolic sub-bin refinement, no fit): the beam and the two-particle pile-up, which is exactly twice the beam. The strip is then put on the scale total' = factor * total + offset that has the beam at 1.0 and the pile-up at 2.0. The second point is what separates the gain from a baseline offset, which a beam-only anchor cannot do. A strip whose pile-up peak is not found keeps a factor-only alignment, 1 / beam.

Note
Runs after the anchor reduction and after the initial calibration tree is written — it needs that tree on disk so EnergyView can decode. The factors are then stored back into the calibration tree and applied by EnergyView to every end of a strip after the per-channel gain.

Definition at line 115 of file CalibrateBeam.hpp.

Member Data Documentation

◆ centroids

Double_t StripAlignmentResult::centroids[18] = {}

Measured beam peak per strip before alignment, in calibrated units.

Definition at line 126 of file CalibrateBeam.hpp.

Referenced by FindStripCentroidAlignment().

◆ factors

Double_t StripAlignmentResult::factors[18] = {}

Per-strip multiplicative alignment factors, applied to every end.

Identity (1.0) when no peak was found, so an unaligned dataset decodes unchanged rather than being scaled by zero.

Definition at line 120 of file CalibrateBeam.hpp.

Referenced by CalibrateBeam::CalibrateBeamOneSubfile(), FindStripCentroidAlignment(), and WriteCalibrationTree().

◆ offsets

Double_t StripAlignmentResult::offsets[18] = {}

Per-strip additive offsets in calibrated units, applied after the factor to the strip total; EnergyView carries each on the strip's long end.

Zero when the pile-up peak was not found.

Definition at line 124 of file CalibrateBeam.hpp.

Referenced by FindStripCentroidAlignment(), and WriteCalibrationTree().

◆ ok

Bool_t StripAlignmentResult::ok = kFALSE

Whether the step produced usable results.

Definition at line 116 of file CalibrateBeam.hpp.

Referenced by CalibrateBeam::CalibrateBeamOneSubfile(), FindStripCentroidAlignment(), and WriteCalibrationTree().

◆ pileups

Double_t StripAlignmentResult::pileups[18] = {}

Measured two-particle pile-up peak per strip before alignment, in calibrated units; 0 where none was found.

Definition at line 129 of file CalibrateBeam.hpp.

Referenced by FindStripCentroidAlignment().


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