Re: Feature-Request: Efficiency Histogram

From: Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch>
Date: Mon, 31 Oct 2011 14:43:18 +0000


Hi,

 The class can be used with 2 and 3 dimensional histogram as well. It is true Projection and Rebin methods are not implemented, it could be done for one of the future versions. If you are willing to implement them I could include in teh new code. WHat it is calculated (the efficiency) is not really an histogram, so you cannot obtain the result as an histogram object. It is painted as a TGraphAsymErrors and you can get instead the Graph object.

 Best Regards

 Lorenzo
On Oct 24, 2011, at 1:17 PM, Georg Troska wrote:

> Hi,
>
> thanks, very good hint, I didn't know that class
>
> As far as I can see at the moment, only 1dimensional histograms are allowed. Is this true? Furthermore I haven't seen Projection-Methods. Or is it possible to obtain the calculated histogram object?
>
> Georg
> Am 24.10.2011 um 13:04 schrieb Jiri Kvita:
>

>> second hit;-)
>> http://www.google.fr/search?q=root+efficiency&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a
>> 
>> On 24/10/11 12:48, Georg Troska wrote:
>>> Hi,
>>> 
>>> I would like to ask for new kinds of histograms to be implemented in the future:
>>> 
>>> We have often histograms that contain efficiencies or mean-values. These histograms are calculated by a nonimator- and a denominator-histogram, by using Divide. Unfortunately, a lot of methods, that are common for usual histograms like "Rebin" or "Projection" will not work, as e.g. the rebinning of the efficiency-histogram is something different than rebinning the nominator- and denominator and the dividing again.
>>> 
>>> I think a lot of people are using efficiency-plots or mean-value plots like this. Would be nice if we all could benefit from a common solution.
>>> 
>>> Thanks Georg
>> 
>> -- 
>> ------------------------------------------------------------------------
>>  Office: 42-01-14, Tel. (+41 2276) 62337, Cell +41 76 239 5696
>>   Jiri.Kvita@cern.ch, A1 Rh+,  http://qitek.web.cern.ch/qitek/
>> ------------------------------------------------------------------------
>> 

>
Received on Mon Oct 31 2011 - 15:43:25 CET

This archive was generated by hypermail 2.2.0 : Tue Nov 01 2011 - 05:50:01 CET