Hi,
you have a really nice feature implemented in TH3::ProjectionZ:
TH1D *h1=0;
//check if histogram with identical name exist
TObject *h1obj = gROOT->FindObject(pname);
if (h1obj && h1obj->InheritsFrom("TH1D")) {
h1 = (TH1D*)h1obj;
h1->Reset();
}
Can you do the same in TH3::Project3D please?
Thanks,
Thomas.
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET