RE: [ROOT] TEventList when selection includes arrays

From: Philippe Canal (pcanal@popgtw.fnal.gov)
Date: Fri Dec 01 2000 - 23:33:14 MET


Hi,

>   However, using a variable, which represents an array it does not work

This is absolutely correct. 
Currently TEventList can only represent (select) complete events.

Philippe.


> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Jorg Stelzer
> Sent: Friday, December 01, 2000 1:53 PM
> To: roottalk@pcroot.cern.ch
> Subject: [ROOT] TEventList when selection includes arrays
> 
> 
> Hi,
> 
>   I'm using TEventList the following way
> 
> 	> chain->Draw( ">>eList", "nTrks>=3", "goff");
> 	> list = (TEventList*)gDirectory->Get("eList");
> 
>   and it works as expected:
> 
> 	> eList->Print()
> 	> EventList:eList/nTrks>=3, number of entries =3772, size=3800
> 
>   However, using a variable, which represents an array it does not work
> 
> 	> chain->Draw(">>eList","photEcm>0.15");       
> 	> eList->Print()                                
> 	> EventList:eList/photEcm>0.15, number of entries =0, size=1000
> 
>   where photEcm is array of type float 
> 	Float_t photEcm[30];
> 
>   Has anyone experience with a similar case?
> 
> Thanks
> Joerg
>   
> --------------------------------------------------------------------------
> Joerg Stelzer                      Stanford University, Physics Department
> office: +1 650 926 2468  priv: +1 650 497 1536        stelzer@stanford.edu
> 
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET