[Rivet] mapping of DrawNormalized() method in Root

Andy Buckley andy.buckley at cern.ch
Mon Jun 6 13:27:22 BST 2016


I agree with David, but Rivet's make-plots system does have some 
plotting options for normalisation -- with the caveat that all it knows 
about is the values to be rendered.

Adding the plot key NormalizeToIntegral=1 will normalise the output plot 
to the inferred histogram area, while NormalizeToSum=1 will scale by the 
sum of bin values.

But like David, I think this is much better done at the data histogram 
level than in plotting.

Andy


On 06/06/16 13:12, David Grellscheid wrote:
> Hi Debarati,
>
> I'm not sure I fully understand your question, but Rivet histograms do
> not know anything about how they get drawn. That's the job of a plotting
> tool that takes YODA files as input (rivet-mkhtml for example).
>
> A histogram can be normalized in the finalize() step of the Rivet
> analysis using the scale() or normalize() functions. This is done in
> many of the existing analyses, look there for examples.
>
> See you,
>
>    David
>
>
> On 05/06/2016 15:00, Debarati Roy wrote:
>> Dear Experts, Can you please let me know how can I implement the
>> DrawNormalized() method
>> (https://root.cern.ch/doc/master/TH1_8cxx_source.html#l02918) of Root
>> in Rivet for 1D histogram normalisation ? Thanks for your help in
>> advance.
>>
>>
>> Debarati
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet


-- 
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow


More information about the Rivet mailing list