elaird / supy

analyze events stored in TTrees in parallel
8 stars 7 forks source link

New tools #167

Closed betchart closed 11 years ago

betchart commented 11 years ago

Hi Ted,Davide,Yossof,

Here are a couple cool new tools.

reweights is a class taking a step and a calculable (pointing to a list of weights) as a function. It does the step for each weight in the list.

There are also new functions in utils to divide or subtract a 2D histogram slice by slice.

Burt

gerbaudo commented 11 years ago

Thanks, Burt! That's so cool...looking forward to using these new tools. Feel free to merge :-)

elaird commented 11 years ago

Looks ok to me. If anyone would like to write a test demonstrating the new step, feel free. Will merge now.