Re: How to get only a value in tree->Scan

From: Jordi Nadal <jnadal_at_ifae.es>
Date: Wed, 9 Nov 2011 18:58:17 +0100


Great! Thanks!

Jordi
On Nov 9, 2011, at 5:50 PM, Philippe Canal wrote:

> Hi,
> 
> Try:
>     HangingTree->Scan("k_ttbar","","col=d");
> 
> See description TTree::Scan / TTreePlayer::ScanSelect for details.
> 
> Cheers,
> Philippe.      
>     
> 
> On 11/9/11 9:51 AM, Jordi Nadal wrote:

>>
>> Hello experts,
>>
>> Quick question:
>>
>> Is there a way to get only the value for 0, or 1, ...
>>
>> root [18] HangingTree->Scan("k_ttbar")
>> ************************
>> * Row * k_ttbar *
>> ************************
>> * 0 * 0.9779894 *
>> * 1 * 0.9909867 *
>> * 2 * 0.9958174 *
>> * 3 * 1.0182429 *
>> * 4 * 1.0084756 *
>> * 5 * 1.0146944 *
>> * 6 * 0.9960489 *
>> * 7 * 1.0123547 *
>> * 8 * 0.9920289 *
>> * 9 * 0.9788400 *
>> ************************
>> (Long64_t)10
>> root [19]
>>
>> Thanks you!
>>
>>
>> Jordi Nadal
>>
>> --
>> Avís - Aviso - Legal Notice - (LOPD) - http://legal.ifae.es
>>
Received on Wed Nov 09 2011 - 18:58:32 CET

This archive was generated by hypermail 2.2.0 : Wed Nov 09 2011 - 23:50:02 CET