Skip to content

Calibration

152Eu Calibration Procedure#

This document describes the full procedure for calibrating a 152Eu dataset acquired during run 183 at ILL on FIPPS, corresponding to:

  • Runs: 072377 to 072388 and 072601 to 072647

1. LSTClovBuilder#

Ensure that your LSTClovBuilder.conf file is correctly configured, particularly with a valid LUT.

a. Time Alignment Check#

Check time alignment using the first run:

LSTClovBuilder -run 072377
CalcTimeOffset LSTSort/120450.root

This plots the time offsets to be corrected in the LUT.

b. Full Dataset Processing#

Process all runs:

LSTClovBuilder -run 072377-072388 -run 072601-072647 -ow -batch
  • -ow: Overwrites previous files (including first run)
  • -batch: Skips manual confirmation when time offsets are flagged

2. AnaRaw#

a. Configuration File#

Create AnaRaw_152Eu.conf:

LSTSortDir                ./LSTSort
ShiftTrack_Dir            ./InputPars/ShiftTrack_152Eu
PrepareShiftTrackFile     ./InputPars/PrepareShiftTrack_152Eu.conf
ShiftTrackFile            ./InputPars/ShiftTrack_152Eu.conf
OutputDir                 ./AnaRawResults_152Eu

b. Prepare Shift Track#

Example content of PrepareShiftTrack_152Eu.conf:

Globals -poly 1 -source 152Eu -dwa 15 5 -lim 300 30000
Id_02   -poly 1 -source 152Eu -dwa 25 10 -lim 1000 30000

In-beam alternative using known peak energies:

Globals -ener 212.017 -ener 1622.87 -ener 7724.034

c. Process ShiftTrack#

Initialization (reference run):

AnaRaw -init -run 072377 -conf AnaRaw_152Eu.conf

Full run processing:

AnaRaw -track -run 072377-072388 -run 072601-072647 -conf AnaRaw_152Eu.conf

This produces:

  • One file per run in ShiftTrack_Dir
  • One ROOT file in OutputDir: AnaRaw_72377_72647.root
  • Contains offset/gain evolution and gain-matched M1 spectra

Example of gain evolution:

Gain Evolution

d. Energy Calibration#

Perform the energy calibration:

AnaRaw -calib -file AnaRawResults_152Eu/AnaRaw_72377_72647.root -calibconf -source 152Eu -lim 300 30000 -dwa 15 5 -poly 4

To refine specific detectors (e.g., ID 0):

AnaRaw -calib -file AnaRawResults_152Eu/AnaRaw_72377_72647.root -calibconf -source 152Eu -lim 300 30000 -dwa 15 5 -poly 4 -id 0

3. xTalk#

After ShiftTrack is completed, compute xTalk coefficients.

a. Generate Spectra#

xTalk -read -run 072377-072388 -run 072601-072647

Produces: ./InputPars/XTalk_Histos.root

b. Analyze Spectra#

xTalk -ana -file ./InputPars/XTalk_Histos.root

Produces the xTalk.txt file required by the EventBuilder.