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

Output of the two post-gain calibration steps. More...

#include <CalibrateBeam.hpp>

Public Attributes

Bool_t ok = kFALSE
 Whether the steps produced usable results.
Double_t beam_e_min
 Lower edge of the beam window, calibrated units.
Double_t beam_e_max = 0.0
 Upper edge of the beam window.
Double_t factors [18] = {}
 Per-strip multiplicative alignment factors.
Double_t centroids [18] = {}
 Measured beam-peak centroid per strip, in calibrated units.

Detailed Description

Output of the two post-gain calibration steps.

Beam energy window. Gaussian-fits strip 0 (or strip 17) and reports mu ± 3*sigma in calibrated units, so downstream beam selection has one data-driven window rather than a hand-set threshold.

Strip centroid alignment. Decodes events with the per-channel gains already applied, finds each strip's beam-peak centroid from the eSum histogram, fits a robust degree-3 polynomial trend through the centroids with iterative outlier rejection, and derives a multiplicative per-strip factor = reference / centroid that pulls every strip onto that smooth trend.

Note
Both steps run after the anchor reduction and after the initial calibration tree is written — the alignment step needs that tree on disk so EnergyView can decode. The factors are then stored back into the calibration tree and applied by EnergyView after the per-channel gain.

Definition at line 100 of file CalibrateBeam.hpp.

Member Data Documentation

◆ beam_e_max

Double_t StripAlignmentResult::beam_e_max = 0.0

Upper edge of the beam window.

Definition at line 104 of file CalibrateBeam.hpp.

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

◆ beam_e_min

Double_t StripAlignmentResult::beam_e_min
Initial value:
=
0.0

Lower edge of the beam window, calibrated units.

Definition at line 102 of file CalibrateBeam.hpp.

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

◆ centroids

Double_t StripAlignmentResult::centroids[18] = {}

Measured beam-peak centroid per strip, in calibrated units.

Definition at line 110 of file CalibrateBeam.hpp.

Referenced by FindStripCentroidAlignment().

◆ factors

Double_t StripAlignmentResult::factors[18] = {}

Per-strip multiplicative alignment factors.

Identity (1.0) when no centroid measurements were available, so an unaligned dataset decodes unchanged rather than being scaled by zero.

Definition at line 108 of file CalibrateBeam.hpp.

Referenced by FindStripCentroidAlignment(), and WriteCalibrationTree().

◆ ok

Bool_t StripAlignmentResult::ok = kFALSE

Whether the steps produced usable results.

Definition at line 101 of file CalibrateBeam.hpp.

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


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