ANASEN_analysis/Armory
Sudarsan Balakrishnan 2f43903269 * Main logic broken up into subunits that aim to be self-contained. The entirety of the analysis is aimed to follow:
- find sx3 events, gainmatch them, calibrate, make a vector of these called SX3_Events
	- same step for QQQ, call it QQQ_Events
	- find anodeWire clusters, cathodeWire clusters, make vectors of these
	- make PC_Events from wire clusters, save 'anode only' and 'cathode only' cases just in case

* since PC_Events, QQQ_Events, SX3_Events are all STL containers, we can pass them to functions that perform modular analyses
* In this commit:
	- 4-wire offsets used, along with reliably figuring out phi-offset between QQQ/SX3/PC. We are close, except for some QQQ fine-tuning due to their angular extent not being 90 deg
	- the pczfix step now makes sense, 1-wire calculations also loosely match between guess and pcz
	- the nonlinearity correction/dynamic range fix is just adding to the resolution
	- p(a,a) data analysable by QQQ alphas show good kinematics, when doing the following gates:
		>  A1C1 event pczs dithered, A1C2 events made into pczfix
		>  phicut (45 deg) to gate out p+a correlations, SiE < 5 MeV && PCa > 6000 to select the alpha blob in p+a
		>  Some selection on VertexReconXY so that the Perp() of the vertex is < 6mm
		>  Selection on VertexReconZ so that z is in [-173.6, 100]. Fine alignment pending

	- Doing all the above gives reasonable p(a,a) kinematic curves with good statistics, Ex peaked at -0.7 MeV, close but not perfect
	- The above steps, when repeated with oneWire anode events stored in aClusters also yields a very reasonable kinematic locus, and Ex value, even more statistics
	- Not sure how much of this is autocorrelation stuff but
		> VertexReconZ vs Ef in QQQ (Ef is eloss-fixed alpha energy using path length) shows sensible trends.
	- Why Ex is not centered around zero might need more thought.
	- VertexReconXY is suspiciously well-centered, might need some more thought as well.

* Some infrastructure that allows processing of 17F data is also in the pipeline now.
* One fairly important bug got fixed which was ignoring qqq.id[0] when making QQQ_Events

* Ideally, follow-ups to the above done on 27Al, 17F will make their own functions that are then called separately using booleans at the very top.
* The fate of proton dE signals is out to jury.
2026-05-29 17:45:57 -04:00
..
Armory 1) pc-calibration macros added, 2) mild bookkeeping changes to handle multiple datasets with minimal changes. more changes to delta-t etc still pending 2026-03-25 19:28:38 -04:00
ANASEN_model.C new sx3 gainmatch for 17F data's first part 2026-03-24 15:55:40 -04:00
anasenMS.cpp bug fix on Mapper 2024-03-22 18:45:13 -04:00
ClassAnasen.h added uncertainties in calculating th etrack 2024-02-02 19:13:28 -05:00
ClassData.h modified: .gitignore 2026-02-10 17:01:27 -05:00
ClassDet.h * Main logic broken up into subunits that aim to be self-contained. The entirety of the analysis is aimed to follow: 2026-05-29 17:45:57 -04:00
ClassPC1An.h snapshot after 27Al experiment 2024-04-15 13:29:57 -04:00
ClassPW.h * Main logic broken up into subunits that aim to be self-contained. The entirety of the analysis is aimed to follow: 2026-05-29 17:45:57 -04:00
ClassPW.h.modified new sx3 gainmatch for 17F data's first part 2026-03-24 15:55:40 -04:00
ClassPW.h.Questionable.Feb2026 new sx3 gainmatch for 17F data's first part 2026-03-24 15:55:40 -04:00
ClassSX3.h snapshot after 27Al experiment 2024-04-15 13:29:57 -04:00
ClassTransfer.h mirror the geometry 2024-02-09 14:27:59 -05:00
constant.h bug fix wireID, FindWireID 2024-02-02 16:54:58 -05:00
fsuReader.h modified: .gitignore 2026-02-10 17:01:27 -05:00
HistPlotter.h global variables setup to explore wire geometry 2026-04-08 14:36:12 -04:00
Hit.h modified: .gitignore 2026-02-10 17:01:27 -05:00
Isotope.h put stuffs in the Armory folder 2024-02-01 19:02:30 -05:00
Kinematics.cpp Updates showing decent convergence on a(p,p) reaction, demonstrating a pcz offset of close to -5.0 mm for agreement 2026-04-28 17:36:02 -04:00
Kinematics.h Updates showing decent convergence on a(p,p) reaction, demonstrating a pcz offset of close to -5.0 mm for agreement 2026-04-28 17:36:02 -04:00
LICENSE modified: .gitignore 2025-11-17 09:33:08 -05:00
macro.h modified: .gitignore 2026-02-10 17:01:27 -05:00
Makefile 1) pc-calibration macros added, 2) mild bookkeeping changes to handle multiple datasets with minimal changes. more changes to delta-t etc still pending 2026-03-25 19:28:38 -04:00
Mapper.cpp modified: .vscode/c_cpp_properties.json 2025-01-17 11:18:07 -05:00
mass20.txt put stuffs in the Armory folder 2024-02-01 19:02:30 -05:00
PC_StepLadder_Correction.h * Main logic broken up into subunits that aim to be self-contained. The entirety of the analysis is aimed to follow: 2026-05-29 17:45:57 -04:00
SX3Geom.h Improved sx3 strip range, and added step-ladder correction to PCZ 2026-04-14 14:07:18 -04:00