Variable bin size in TH3

Hello,

Variable bin size seems not work for TH3 histograms:

TH3F *myhisto = new TH3F(“myhisto” ,“title”, 100, xbins, 100, 0, 1, 100, 0, 1);

Error: Can’t call TH3F::TH3F(“myhisto”,“title”,100,xbins,100,0,1,100,0,1) in current scope FILE:test.C LINE:47
Possible candidates are…
filename line:size busy function type and name (in TH3F)
(compiled) 0:0 0 public: TH3F TH3F(void);
(compiled) 0:0 0 public: TH3F TH3F(const char* name,const char* title,Int_t nbinsx,Axis_t xlow,Axis_t xup,Int_t nbinsy,Axis_t ylow,Axis_t yup,Int_t nbinsz,Axis_t zlow,Axis_t zup);
(compiled) 0:0 0 public: TH3F TH3F(const char* name,const char* title,Int_t nbinsx,const Float_t* xbins,Int_t nbinsy,const Float_t* ybins,Int_t nbinsz,const Float_t* zbins);
(compiled) 0:0 0 public: TH3F TH3F(const char* name,const char* title,Int_t nbinsx,const Double_t* xbins,Int_t nbinsy,const Double_t* ybins,Int_t nbinsz,const Double_t* zbins);
(compiled) 0:0 0 public: TH3F TH3F(const TH3F& h3f);

The same command works for TH2:
TH2F *myhisto = new TH2F(“myhisto” ,“title”, 100, xbins, 100, 0, 1);

Am I doing something wrong with TH3?

Thanks for help.
Helena

If you look at the TH3 constructors, you will see 2 types of constructors
-one with all 3 axes having fix size bins
-one with all 3 axes having variable size
-we do not support the 8 combinations of fix/variable size bins

Rene