Hi all,
as usual: which version of root?
for me it works as expected:
The prototype reads:
virtual TH2 *Rebin2D(Int_t nxgroup=2, Int_t nygroup=2, const char *newname="");
so no args are required
Cheers
Otto
On Mon, 30 May 2005, Edmond Offermann wrote:
> Hi,
>
> Looking at the reference guide, I see
>
> virtual TH2* Rebin2D(Int_t nxgroup = 2, Int_t nygroup = 2, const char*
> newname)
>
> So I guess you have to supply also newname .
>
> Eddy
>
> --- "Jorge A. Benitez" <benitez_at_fnal.gov> wrote:
> > Hi,
> > I'm trying to rebin some 2d histograms, I'm getting the following
> > error:
> >
> > Error: Can't call TH2F::Rebin2D(5,5) in current scope FILE:makebeni.C
> >
> > LINE:101
> >
> > the piece of the code giving the error is:
> >
> > TH2F* hist_pp;
> > hist_pp=(TH2F*)d_plots->Get("LEtaUJetEta_pp");
> > hist_pp->Rebin2D(5,5);
> >
> > What else should I include to make it work.
> > THanks,
> >
> > Jorge
> >
> >
>
-- Dr. Otto Schaile Department f"ur Physik, LMU M"unchen Phone: +49 89 289 14070 Am Coulombwall 1, D-85748 Garching, Germany Mobil: +49 160 1553598 FAX: +49 89 289 14072 EMail: Otto.Schaile_at_Physik.Uni-Muenchen.DEReceived on Tue May 31 2005 - 09:12:13 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET