Hi all,
I am struggling to get the expected behaviour from the TH3::Project3D(“y”) method using Version 5.04/00 20 September 2005.
root [0] file = TFile(“output.root”);
root [1] file->ls();
TFile** output.root
TFile* output.root
KEY: TH3F sim_fit;1 Fit results
KEY: TH3F pi_fit;1 Fit results
root [2] sim_fit->GetXaxis()->SetRange(3,3);
root [3] sim_fit->GetZaxis()->SetRange(3,3);
root [4] TH1F sim_temp = (TH1F)sim_fit->Project3D(“ye”)
root [5] sim_temp->GetMaximum()
(const Double_t)1.57262277603149414e+00
root [6] sim_fit->GetMaximum()
(const Double_t)1.01000000000000001e+00
The projection shouldn’t have greater values if I only project one row and column. This seems to only happen with the “y” projection.
Regards,
Mark