[Rivet] CDF_2008_S778... --- YODA Profile1D low stats error

Holger Schulz holger.schulz at durham.ac.uk
Sat Jul 23 22:27:48 BST 2016


Hi,

I'd consider this validated:

https://users.hepforge.org/~holsch/Temp/CDFbjetshapes/CDF_2008_S7782535/index.html

Objections?

Holger


On 23/07/16 18:54, Holger Schulz wrote:
>
> Whoops, never mind, bin.effNumEntries() does that.
>
> This is my work around for this analysis:
>
>
>         double y  = 0;
>         double ey = 0;
>         if (ph_i->bin(1).effNumEntries() > 1) {
>           y = 1.0 - ph_i->bin(1).mean();
>           ey= ph_i->bin(1).stdErr();
>         }
>
>
> Not sure though, what values to set y and ey to in case of low stats.
>
> Holger
>
>
>
>
> On 23/07/16 18:42, Holger Schulz wrote:
>>
>> Hi,
>>
>> the CDF_2008 b-jet shapes analysis (unvalidated) requires some
>> protection for YODA::Profile*Bin*1D.stdErr() because of this:
>>
>>     terminate called after throwing an instance of 'YODA::LowStatsError'
>>       what():  Requested variance of a distribution with only one
>>     effective entry
>>
>> I don't see a function that tells me the number of effective entries 
>> for Profile*Bin*1D.
>>
>> Any thoughts on how to deal with that?
>>
>> One would either need a protection on analysis level or change
>> the behaviour of stdErr such that it doesn't throw an exception.
>>
>>
>> Holger
>>
>>
>>
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> https://www.hepforge.org/lists/listinfo/rivet
>
>
>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20160723/11f9cc5e/attachment.html>


More information about the Rivet mailing list