Do:
ntuple_pair_nm.Draw("invmass>>inv_reb_real_n", weigth*(cut1&&cut2&&cut3));
Rene Brun
On Sun, 6 Jan 2002, Ilia Ravinovich wrote:
> Hi,
>
> How can I fill the histofram from Ntuple using weight defined before:
>
> weight=1.
> ntuple_pair_nm.Draw("invmass>>inv_reb_real_n", cut1&&cut2&&cut3);
>
> Thanks,
>
> Ilia
>
> ************************************************************************
> * *
> * Ilia Ravinovich *
> * Department of Particle Physics PPE Division *
> * Weizmann Institute of Science Bld 892, 1D-015 *
> * Rehovot 76100 CERN, 1211 Geneva *
> * ISRAEL Switzerland *
> * *
> * PHONE : 972 8 9343187 41 22 7676437 *
> * FAX : 972 8 9344166 41 22 7677910 *
> * E-mail: Ilia.Ravinovich@weizmann.ac.il Ilia.Ravinovich@cern.ch *
> * *
> ************************************************************************
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:37 MET