30 GO4TRACE((14,
"TGo4HistogramStatus::TGo4HistogramStatus(TH1 *)",__LINE__, __FILE__));
33 fiDim = his->GetDimension();
37 TAxis *xax = his->GetXaxis();
43 TAxis *yax = his->GetYaxis();
49 TAxis *zax = his->GetZaxis();
61 if (his->InheritsFrom(TH1D::Class()) || his->InheritsFrom(TH2D::Class()) || his->InheritsFrom(TH3D::Class())) {
62 fieldsize =
sizeof(Double_t);
63 }
else if (his->InheritsFrom(TH1F::Class()) || his->InheritsFrom(TH2F::Class()) || his->InheritsFrom(TH3F::Class())) {
64 fieldsize =
sizeof(Float_t);
65 }
else if (his->InheritsFrom(TH1I::Class()) || his->InheritsFrom(TH2I::Class()) || his->InheritsFrom(TH3I::Class())) {
66 fieldsize =
sizeof(Int_t);
67 }
else if (his->InheritsFrom(TH1S::Class()) || his->InheritsFrom(TH2S::Class()) || his->InheritsFrom(TH3S::Class())) {
68 fieldsize =
sizeof(Short_t);
69 }
else if (his->InheritsFrom(TH1C::Class()) || his->InheritsFrom(TH2C::Class()) || his->InheritsFrom(TH3C::Class())) {
70 fieldsize =
sizeof(Char_t);
73#if ROOT_VERSION_CODE > ROOT_VERSION(6,32,0)
74 else if (his->InheritsFrom(TH1L::Class()) || his->InheritsFrom(TH2L::Class()) || his->InheritsFrom(TH3L::Class())) {
75 fieldsize =
sizeof(Long64_t);