modified: TrackRecon.C

modified:   run_tr.sh
This commit is contained in:
Vignesh Sitaraman 2026-10-01 14:45:55 -04:00
parent 12c4c87ba0
commit 14b1a89d65
2 changed files with 16 additions and 13 deletions

View File

@ -44,11 +44,11 @@ Int_t colors[40] = {
bool process_alpha_proton_scattering = false,
doMiscHistograms = true,
doRawHistos = false,
doSingles = true,
doSingles = false,
diagnostic_eplots = true,
diagnostic_tplots = true,
doPCSX3ClusterAnalysis = true,
doPCQQQClusterAnalysis = true,
doPCSX3ClusterAnalysis = false,
doPCQQQClusterAnalysis = false,
BenchMark = true,
onewire_analysis = true,
doOldAnalysis = false,
@ -4014,7 +4014,9 @@ void protonAlphaElastic_core(HistPlotter *plotter, const std::vector<Event> &Si_
TSpline3 *ej_fwd = alphaHyp ? MeV_to_cm_spl : MeV_to_cm_p_spl;
TSpline3 *ej_inv = alphaHyp ? cm_to_MeV_spl : cm_to_MeVp_spl;
double Efix = evalEloss(ej_fwd, ej_inv, sievent.Energy1, path_length);
double Ex = alphaHyp ? apkin_a.getExc(Efix, theta * 180 / M_PI) : apkin_p.getExc(Efix, theta * 180 / M_PI);
Kinematics &apkin = alphaHyp ? apkin_a : apkin_p;
apkin.setEBeam(beam_energy_at_vertex);
double Ex = apkin.getExc(Efix, theta * 180 / M_PI);
plotter->Fill2D(rx + "_dE_E_Anode" + ejtag + sfx, 400, 0, 10, 800, 0, 40000, sievent.Energy1, anodeE_raw, pmlabel);
if (hasCathode)

View File

@ -56,7 +56,7 @@ if [[ 1 -eq 0 ]]; then
fi
# --- Block 3: 27Al Alpha+Gas Runs (9, 12) ---
if [[ 1 -eq 0 ]]; then
if [[ 1 -eq 1 ]]; then
export DATASET="27Al"
export PREFIX="Run_"
export OUT_DIR="Output_a"
@ -66,6 +66,7 @@ if [[ 1 -eq 0 ]]; then
echo "Processing 27Al alpha+gas runs..."
# export source_vertex=-5.36; export timecut_low=12.0; export timecut_high=119.0; process_run 9 "$slope"
# unset timecut_high
export pressure_in_torr=250
export source_vertex=53.44; export timecut_low=400.0; process_run 12 "$slope"
unset Gain
unset CATHODE_GAIN