[Rivet] dividing histograms

Emily Nurse nurse at fnal.gov
Wed Oct 15 15:53:26 BST 2008


Hi all,

What's the best way to divide two histograms in the finalize() method  
of an analysis routine?
James and I looked into it and could only see the  histogramFactory 
().divide() function. But this means that you can't book the  
histogram in the normal way using auto-booking etc. The other way is  
to use an AIDA::IDataPointSet* instead of a histogram and to set the  
contents by hand in the finalize method.
Neither of these are very elegant so I was wondering if there is  
another way, and whether this will be easier with YODA?

Thanks,
Emily.


More information about the Rivet mailing list