Commit Graph

269 Commits

Author SHA1 Message Date
Vignesh Sitaraman d245fc2679 modified: TrackRecon.C fixed typo 2026-09-01 06:41:04 -04:00
Vignesh Sitaraman dd6b938eb2 new file: MiscEdE.C plotting the radioactive beam IC PID as well as looking for timing coincideences between that and the MCP-Rf time
new file:   run_misc_ede.sh same as above
	modified:   TrackRecon.C added beamE gated plots for the step aladder for 27Al
	modified:   run_17F.sh doing more files now
	modified:   run_27Al.sh scaling change to 0.9 to try it out
	modified:   run_tr.sh
	modified:   scratch/make_prettyplots.C add log scale option to the 2D plots
2026-09-01 06:24:36 -04:00
Vignesh Sitaraman 3dd678221a modified: TrackRecon.C implementation of Ex vs TOF plot not working rn 2026-08-31 14:58:29 -04:00
Vignesh Sitaraman b5e88a6731 modified: TrackRecon.C minor changes 2026-08-31 14:36:54 -04:00
Vignesh Sitaraman d211971904 modified: TrackRecon.C added topology gated spectra as well as calibrated versions of the a2 ratio plots 2026-08-31 09:40:14 -04:00
Vignesh Sitaraman 6619613db5 modified: TrackRecon.C restructuring the p(a,a)p branch to make it more readable need to implement per topo version of plots
modified:   run_27Al.sh
	modified:   run_tr.sh
2026-08-30 14:29:45 -04:00
Vignesh Sitaraman e83775d79f modified: TrackRecon.C added some plots, perppeing for more major changes to the proton branch
modified:   run_17F.sh
	modified:   run_27Al.sh
2026-08-27 10:29:24 -04:00
Vignesh Sitaraman 8cd98c35e1 modified: .gitignore added Ryan's autofit routine to gitignore 2026-08-26 12:11:58 -04:00
Vignesh Sitaraman 3e60105617 modified: TrackRecon.C remoevd the gated proton spectra dn introduced new histos where we "snap" to different exicited state and plto the Ekin_vs_Etrack
modified:   run_27Al.sh dEdx scaling scan
2026-08-21 13:45:18 -04:00
Vignesh Sitaraman c0c49be0c9 modified: TrackRecon.C consolidated the ditehr sigma, the timing cuts and reset the beam xy to (0,0), beamenergy gets set to 0.001 instead of returning for values that are beyond calculated catima range.
Moved some diagnostic plots because they were out of range for the boleans to actually catch them, lifted the si time ditehring so that it gets applied everywhere for smootehr time plots.
	modified:   eloss_calculations/Eloss.py introduced a external scaling factr to allow eloss calculations to be paired with the run scripts to figure out the right dEdx scaling
	modified:   run_27Al.sh
2026-08-18 15:14:18 -04:00
Vignesh Sitaraman 9416638af6 modified: TrackRecon.C changed the vertex by wire to be calibrated dE 2026-08-17 13:53:26 -04:00
Vignesh Sitaraman 0a7dd1bcf6 modified: TrackRecon.C gate changes 2026-08-17 11:37:21 -04:00
Vignesh Sitaraman cf584a6d7a modified: Armory/PCZRecon.h added a2c0
modified:   TrackRecon.C added a2c0, changed a1c1 cfrac parameters based on optimisation for the alpha and source data. Might need to be changed for the reaction though dfo rsome reason the apramteres don't quite makes sense
	modified:   eloss_calculations/Eloss.py added a scaling factor to particles with A>10 based to make the beams go further into the detector based on reaction data
	modified:   pc_energy_calibration.dat halved the anode dE cal to account for the misamtch between calib and rpedict for the source data
2026-08-17 11:05:22 -04:00
Vignesh Sitaraman c83557f30c modified: Armory/PCZRecon.h changed from vertex xy checks which al;way s defaulted to the same version to a proximity check to the wire ( using pitchok)
modified:   TrackRecon.C added diagnostic plots for recon and eloss
2026-08-14 14:22:08 -04:00
Vignesh Sitaraman ed505139b4 modified: pc_energy_calibration.dat corrected calibs for 16 18 20 and 23 2026-08-13 20:54:42 -04:00
Vignesh Sitaraman 9b68c5b720 modified: TrackRecon.C added some more diagnostics plots for the reaciton dataset 2026-08-13 11:11:29 -04:00
Vignesh Sitaraman 98c48af0b1 new file: Armory/PCZRecon.h refactor to lift a1c0 and a1c1 frac into a class PCZRecon which includes the a1c2 slope correction as well. Making the code more readable and easier to maintain.
also changes the model_invert into a function call instead of using the TF1 class
	modified:   TrackRecon.C refactor plus removal of older vesions of pcz and track reconstruction from the old analysis. Changed the ranges for dECalib spectra since their max was way too high.
	modified:   pc_energy_calibration.dat changed the calibration of anode 2-4 to the same as anode1 and 5 to 6 becuase they were causing bifuraction in signal. This might have been happening because the 17F data is poisoning the calibraion. This hypothesis
    is pending validation however.
2026-08-12 15:02:35 -04:00
Vignesh Sitaraman fbd601ec40 modified: run_27Al.sh 2026-08-12 10:30:15 -04:00
Vignesh Sitaraman 21fd1ca4d2 modified: TrackRecon.C correction of cathode multiplicity gate on teh pc events 2026-08-12 10:30:15 -04:00
Vignesh Sitaraman 542e927049 modified: TrackRecon.C correction of cathode multiplicity gate on teh pc events 2026-08-11 14:43:38 -04:00
Vignesh Sitaraman 2784671732 modified: TrackRecon.C PID gate on the suspected proton locus and prudcing the Ex function corresponding to the state. Also implemented a1c0 dithering for the reaction data 2026-08-11 14:19:29 -04:00
Vignesh Sitaraman 774050dfdf modified: TrackRecon.C 2026-08-11 12:58:36 -04:00
Vignesh Sitaraman caeff0d7c5 modified: TrackRecon.C rehaul of the calibration dynamic so that any channels that dont have sufficient sx3 a1c2 stats get calibrated by lining up their centroids with those that do. Still a bit iffy on the bad anode formalism but keeping it in for now.
modified:   pc_energy_calibration.dat
	modified:   pccal/fit_pc_energy_calibration.C
2026-08-10 14:27:52 -04:00
Vignesh Sitaraman 6ff00bedc2 modified: pc_energy_calibration.dat
modified:   run_27Al.sh
2026-08-08 15:00:51 -04:00
Vignesh Sitaraman 8e9d539653 modified: TrackRecon.C 2026-08-08 14:59:52 -04:00
Vignesh Sitaraman 902afaad54 pcgain 2026-08-07 11:02:49 -04:00
Vignesh Sitaraman 07e30a5ddd modified: TrackRecon.C implemented new energy calibration paradigm for the PC and some other minor changes
modified:   pc_energy_calibration.dat
	modified:   pccal/fit_pc_energy_calibration.C
	modified:   run_27Al.sh
2026-08-06 17:04:17 -04:00
Vignesh Sitaraman 00c507e0ac modified: Armory/ClassPW.h
modified:   TrackRecon.C corrected anode cal logic with changes to classpw.h to incorporate the guardwire to cathode wire region for anode charge collection
	modified:   pc_energy_calibration.dat
2026-08-06 13:30:51 -04:00
Vignesh Sitaraman 2d3bcc7c74 modified: TrackRecon.C calibration script in progress needs overhaul
modified:   run_27Al.sh
2026-08-06 10:19:41 -04:00
Vignesh Sitaraman 58d0ef1839 modified: TrackRecon.C changed the calibrationf for anode cathode so that we can get Eloss difference in the active area of the proportional counter. Using only ground staet now as opposed to snapping to the neareast Ex
modified:   run_27Al.sh
	modified:   run_tr.sh
2026-08-05 10:51:19 -04:00
Vignesh Sitaraman 51ece5e69b modified: TrackRecon.C corrected some eval calls and implemeneted a beam E inversion function to get the beam energy from the measured Ex and theta and compare it to the Beam E from Eloss
modified:   run_27Al.sh
2026-08-03 12:07:26 -04:00
Vignesh Sitaraman bd79dda26b modified: MakeVertex.C new version of sudarsan's code
modified:   TrackRecon.C changes to selectivity of detecrtor channels based on sudarsan's code and some changes to event structure
	modified:   run_27Al.sh
2026-08-03 09:45:43 -04:00
Vignesh Sitaraman 14999546b7 modified: Armory/HistPlotter.h
modified:   TrackRecon.C made changes to account for frequent crashes due to the number of histograms. New changes allow for flsuhing of data to histograms every n events
	modified:   run_27Al.sh
2026-07-31 14:05:18 -04:00
Vignesh Sitaraman a292695a4d modified: TrackRecon.C
modified:   run_27Al.sh
	modified:   run_tr.sh
2026-07-30 15:32:53 -04:00
Vignesh Sitaraman 173fb36ea2 modified: TrackRecon.C
modified:   run_27Al.sh
2026-07-29 14:44:53 -04:00
Vignesh Sitaraman 3e9c86d8dc modified: .gitignore
modified:   TrackRecon.C
	new file:   pc_energy_calibration.dat
	modified:   pccal/fit_pc_energy_calibration.C
	modified:   run_27Al.sh
	modified:   run_tr.sh
2026-07-28 11:32:30 -04:00
Vignesh Sitaraman 3b09639c60 modified: TrackRecon.C 2026-07-14 14:56:16 -04:00
Vignesh Sitaraman 2bd4f4eb33 modified: TrackRecon.C
new file:   pccal/fit_pc_energy_calibration.C
2026-07-14 13:45:26 -04:00
Vignesh Sitaraman a3cab973be modified: TrackRecon.C 2026-07-13 14:05:09 -04:00
Vignesh Sitaraman f17259c8cc modified: TrackRecon.C
modified:   run_tr.sh
2026-07-13 13:32:48 -04:00
Vignesh Sitaraman 95f15ed23d modified: TrackRecon.C
modified:   run_tr.sh
2026-07-12 08:52:20 -04:00
Vignesh Sitaraman aa960fd711 modified: eloss_calculations/Eloss.py
modified:   eloss_calculations/alpha_lookup_50MeV_250torr_3pc.dat
	modified:   eloss_calculations/alpha_lookup_50MeV_250torr_4pc.dat
	modified:   eloss_calculations/alpha_lookup_50MeV_350torr_3pc.dat
	modified:   eloss_calculations/alpha_lookup_50MeV_350torr_4pc.dat
	modified:   eloss_calculations/aluminum_lookup_80MeV_250torr_3pc.dat
	modified:   eloss_calculations/aluminum_lookup_80MeV_250torr_4pc.dat
	modified:   eloss_calculations/aluminum_lookup_80MeV_350torr_3pc.dat
	modified:   eloss_calculations/aluminum_lookup_80MeV_350torr_4pc.dat
	modified:   eloss_calculations/deutron_lookup_30MeV_250torr_3pc.dat
	modified:   eloss_calculations/deutron_lookup_30MeV_250torr_4pc.dat
	modified:   eloss_calculations/deutron_lookup_30MeV_350torr_3pc.dat
	modified:   eloss_calculations/deutron_lookup_30MeV_350torr_4pc.dat
	modified:   eloss_calculations/fluorine_lookup_70MeV_250torr_3pc.dat
	modified:   eloss_calculations/fluorine_lookup_70MeV_250torr_4pc.dat
	modified:   eloss_calculations/fluorine_lookup_70MeV_350torr_3pc.dat
	modified:   eloss_calculations/fluorine_lookup_70MeV_350torr_4pc.dat
	modified:   eloss_calculations/oxygen_lookup_70MeV_250torr_3pc.dat
	modified:   eloss_calculations/oxygen_lookup_70MeV_250torr_4pc.dat
	modified:   eloss_calculations/oxygen_lookup_70MeV_350torr_3pc.dat
	modified:   eloss_calculations/oxygen_lookup_70MeV_350torr_4pc.dat
	modified:   eloss_calculations/proton_lookup_30MeV_250torr_3pc.dat
	modified:   eloss_calculations/proton_lookup_30MeV_250torr_4pc.dat
	modified:   eloss_calculations/proton_lookup_30MeV_350torr_3pc.dat
	modified:   eloss_calculations/proton_lookup_30MeV_350torr_4pc.dat
2026-07-10 16:14:34 -04:00
Vignesh Sitaraman 356d0c65b2 modified: TrackRecon.C
modified:   run_tr.sh
2026-07-10 14:57:24 -04:00
Vignesh Sitaraman ba8e8440e8 modified: Armory/ClassPW.h
modified:   TrackRecon.C
	modified:   eloss_calculations/Eloss.py
	modified:   eloss_calculations/alpha_lookup_50MeV_250torr_3pc.dat
	modified:   eloss_calculations/alpha_lookup_50MeV_250torr_4pc.dat
	modified:   eloss_calculations/alpha_lookup_50MeV_350torr_3pc.dat
	modified:   eloss_calculations/alpha_lookup_50MeV_350torr_4pc.dat
	modified:   eloss_calculations/aluminum_lookup_80MeV_250torr_3pc.dat
	modified:   eloss_calculations/aluminum_lookup_80MeV_250torr_4pc.dat
	modified:   eloss_calculations/aluminum_lookup_80MeV_350torr_3pc.dat
	modified:   eloss_calculations/aluminum_lookup_80MeV_350torr_4pc.dat
	new file:   eloss_calculations/deutron_lookup_30MeV_250torr_3pc.dat
	new file:   eloss_calculations/deutron_lookup_30MeV_250torr_4pc.dat
	new file:   eloss_calculations/deutron_lookup_30MeV_350torr_3pc.dat
	new file:   eloss_calculations/deutron_lookup_30MeV_350torr_4pc.dat
	modified:   eloss_calculations/fluorine_lookup_70MeV_250torr_3pc.dat
	modified:   eloss_calculations/fluorine_lookup_70MeV_250torr_4pc.dat
	modified:   eloss_calculations/fluorine_lookup_70MeV_350torr_3pc.dat
	modified:   eloss_calculations/fluorine_lookup_70MeV_350torr_4pc.dat
	modified:   eloss_calculations/oxygen_lookup_70MeV_250torr_3pc.dat
	modified:   eloss_calculations/oxygen_lookup_70MeV_250torr_4pc.dat
	modified:   eloss_calculations/oxygen_lookup_70MeV_350torr_3pc.dat
	modified:   eloss_calculations/oxygen_lookup_70MeV_350torr_4pc.dat
	new file:   eloss_calculations/proton_lookup_30MeV_250torr_3pc.dat
	new file:   eloss_calculations/proton_lookup_30MeV_250torr_4pc.dat
	new file:   eloss_calculations/proton_lookup_30MeV_350torr_3pc.dat
	new file:   eloss_calculations/proton_lookup_30MeV_350torr_4pc.dat
	modified:   run_17F.sh
	modified:   run_27Al.sh
	modified:   run_tr.sh
2026-07-10 14:32:52 -04:00
Vignesh Sitaraman dae9ca32cc modified: MakeVertex.C
modified:   eloss_calculations/Eloss.py
	deleted:    eloss_calculations/alpha_lookup_20MeV_3pc.dat
	deleted:    eloss_calculations/alpha_lookup_20MeV_3pc_350Torr.dat
	deleted:    eloss_calculations/alpha_lookup_20MeV_4pc.dat
	deleted:    eloss_calculations/alpha_lookup_20MeV_4pc_350Torr.dat
	renamed:    eloss_calculations/deutron_lookup_20MeV_3pc.dat -> eloss_calculations/alpha_lookup_50MeV_250torr_3pc.dat
	new file:   eloss_calculations/alpha_lookup_50MeV_250torr_4pc.dat
	new file:   eloss_calculations/alpha_lookup_50MeV_350torr_3pc.dat
	new file:   eloss_calculations/alpha_lookup_50MeV_350torr_4pc.dat
	deleted:    eloss_calculations/alpha_lookup_6.0MeV.dat
	new file:   eloss_calculations/aluminum_lookup_80MeV_250torr_3pc.dat
	renamed:    eloss_calculations/aluminum_lookup_80MeV_4pc.dat -> eloss_calculations/aluminum_lookup_80MeV_250torr_4pc.dat
	new file:   eloss_calculations/aluminum_lookup_80MeV_350torr_3pc.dat
	renamed:    eloss_calculations/aluminum_lookup_80MeV_4pc_350Torr.dat -> eloss_calculations/aluminum_lookup_80MeV_350torr_4pc.dat
	deleted:    eloss_calculations/aluminum_lookup_80MeV_3pc.dat
	deleted:    eloss_calculations/aluminum_lookup_80MeV_3pc_350Torr.dat
	new file:   eloss_calculations/fluorine_lookup_70MeV_250torr_3pc.dat
	renamed:    eloss_calculations/fluorine_lookup_70MeV_4pc.dat -> eloss_calculations/fluorine_lookup_70MeV_250torr_4pc.dat
	new file:   eloss_calculations/fluorine_lookup_70MeV_350torr_3pc.dat
	renamed:    eloss_calculations/fluorine_lookup_70MeV_4pc_350Torr.dat -> eloss_calculations/fluorine_lookup_70MeV_350torr_4pc.dat
	deleted:    eloss_calculations/fluorine_lookup_70MeV_3pc.dat
	deleted:    eloss_calculations/fluorine_lookup_70MeV_3pc_350Torr.dat
	deleted:    eloss_calculations/make_eloss_table.C
	new file:   eloss_calculations/oxygen_lookup_70MeV_250torr_3pc.dat
	renamed:    eloss_calculations/oxygen_lookup_70MeV_4pc.dat -> eloss_calculations/oxygen_lookup_70MeV_250torr_4pc.dat
	new file:   eloss_calculations/oxygen_lookup_70MeV_350torr_3pc.dat
	renamed:    eloss_calculations/oxygen_lookup_70MeV_4pc_350Torr.dat -> eloss_calculations/oxygen_lookup_70MeV_350torr_4pc.dat
	deleted:    eloss_calculations/oxygen_lookup_70MeV_3pc.dat
	deleted:    eloss_calculations/oxygen_lookup_70MeV_3pc_350Torr.dat
	deleted:    eloss_calculations/proton_lookup_20MeV_3pc.dat
	deleted:    eloss_calculations/proton_lookup_20MeV_3pc_350Torr.dat
	deleted:    eloss_calculations/proton_lookup_20MeV_4pc.dat
	deleted:    eloss_calculations/proton_lookup_20MeV_4pc_350Torr.dat
	deleted:    eloss_calculations/proton_lookup_6.0MeV.dat
2026-07-09 12:04:53 -04:00
Vignesh Sitaraman 3cfecd4c29 modified: Armory/ClassPW.h
modified:   TrackRecon.C
	modified:   run_tr.sh
2026-07-06 10:31:52 -04:00
Vignesh Sitaraman 7568431c03 modified: TrackRecon.C 2026-07-01 15:00:52 -04:00
Vignesh Sitaraman 2632044293 modified: TrackRecon.C 2026-06-29 14:33:45 -04:00
Vignesh Sitaraman 370649a7ba modified: TrackRecon.C 2026-06-29 08:55:20 -04:00
Vignesh Sitaraman 48eea6d70b modified: TrackRecon.C consolidated varaibles and implemented a method to eliminate the use of a1c0 for a1c1 calculation and report the cell pitch/ mis values for only the value chosen.
changed ranges for phi plots to -200 to 200. Folders for a1c0 and a1c1 are categorized into detector types for easier access. Using deltaphi mechanism instead of the si.phi-pc.phi formalism
    to better account for wrap around
2026-06-28 18:06:57 -04:00