ANASEN_analysis/results/compare.C
Sudarsan Balakrishnan 3b99dc05d1 Bugfixes/Changelog:
- Changed Kinematics.h to use TLorentzVector - doesn't affect Ex calculations at all
	- 27Al, 17F analyses fleshed out to identify vertexz regions sensitive to a, d, p ejectiles
	- Better handling of dE using detector hyperboloids, dE4 introduced. Marginal improvement over dE3. This is a function inside PC_Stepladder_Correction.h which needs to be renamed.
	- Anode-wire #23 seems to have disproportionally large # of counts compared to the other wires.
	- Move towards wire-wise dE/E gates. Not yet fully implemented.
	- This push sees some Ex plots that appear to be from (a,p) on 27Al(a,p). 17F(a,p) is a lot less clear-cut.
	- Updated beam starting energies to improved guesses, for p+a, 17F and 27Al data.
2026-07-07 14:40:18 -04:00

30 lines
1.1 KiB
C

{
TGraph kinematics("a(p,p)a_kinematics_6.88MeV_p.txt","%*lf %lf %*lf %lf");
kinematics.Scale(4.0);
TGraph kin2(kinematics.GetN(), kinematics.GetY(),kinematics.GetX());
//TFile fin("4He(pp)_candidate_kinematic_curve.root");
//TH2F *h2 = (TH2F*)(fin.Get("Ef_thetaf_AnodeQQQR_TC1_PC1_pidlow0_1"));
//TFile fin("../results_run017.root");
TFile fin("out.root");
//TH2F *h2 = (TH2F*)(fin.Get("Ef_thetaf_AnodeQQQR_TC1_PC1_pidlow0_1"));
// TFile fin("run15_sx3_qqq_alphas_kinematic.root");
TH2F *h2 = (TH2F*)(fin.Get("a(p,p)/ap_qqqEf_sx3Ef_matrix_a1c2"));
h2->Draw();
kin2.Draw("L SAME");
gPad->Modified();
gPad->Update();
while(gPad->WaitPrimitive());
gPad->Clear();
TGraph angles("a(p,p)a_kinematics_7MeV_p.txt","%lf %*lf %lf %*lf");
TGraph angles2(angles.GetN(),angles.GetY(),angles.GetX());
h2 = (TH2F*)(fin.Get("a(p,p)/ap_theta_vs_theta_qqq_sx3_a1c2"));
h2->Draw("colz");
angles2.Draw("L SAME");
gPad->Modified();
gPad->Update();
while(gPad->WaitPrimitive());
gPad->SaveAs("c1.png");
}