ANASEN_analysis/scratch/scan_phisearch.C
Sudarsan Balakrishnan 76baa16390 New pc-calibration macros, some bookkeeping updates in how MakeVertex.C handles different datasets.
- pending goal, make the 'parameter set' for a particular data analysis uniquely drawn from a database or a collection of files.
- reduce human intervention when sorting
2026-03-25 19:20:12 -04:00

21 lines
656 B
C

{
for(int i=-4; i<=5; i++) {
TFile *f = new TFile(Form("../results_run12case%d.root",i));
TH2F *h2 = (TH2F*)(f->Get("phicut/pczguess_vs_pc_int"));
// TH2F *h2 = (TH2F*)(f->Get("pcz_vs_sx3pczguess"));
// TH2F *h2 = (TH2F*)(f->Get("hPCQQQ/PC_XY_Projection_QQQ2"));
h2->SetTitle(Form("case%d",i));
h2->Draw("colz");
gPad->Modified();
gPad->Update();
while(gPad->WaitPrimitive());
h2 = (TH2F*)(f->Get("hPCQQQ/PC_XY_Projection_QQQ3"));
h2->Draw("colz");
gPad->Modified();
gPad->Update();
while(gPad->WaitPrimitive());
f->Close();
}
}