Re: TCutG and Nentries

From: Olivier Couet <couet_at_mail.cern.ch>
Date: Wed, 20 Apr 2005 10:49:15 +0200 (CEST)

Hi Alexis,

Can you send me a small working example showing the problem ?

 Cheers, Olivier

On Wed, 20 Apr 2005 alexis.cothenet_at_free.fr wrote:

> Hi all,
>
> what i do is:
> TH1D *hX = hbidim->ProjectionX("Xproject",1,1024,"[-cut]");
> where cut is a TCutG.
>
> If i do hX->GetEntries() i only have the total number of entries of hbidim
> and hX->GetSumOfWeights() gives something crazy...
> Is there a way to have the right number of entries after the TcutG ? I work with
> 4.03 version.
>
> Thanks in advance.
>
> Regards,
> Alexis
>
>

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7670300
Received on Wed Apr 20 2005 - 10:49:20 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET