rivet is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (Repository path '/hepforge/hg/rivet/public/rivet' does not exist.). Look in the Trac log for more information.

Opened 11 years ago

Last modified 6 years ago

#311 assigned enhancement

Support multiple histogramming based on multiple weights

Reported by: Andy Buckley Owned by: jmonk
Priority: major Milestone: 2.2.0 -- jets, tagging, cuts
Component: Analysis Version: HEAD
Keywords: Cc: jmonk

Description

It's possible for HepMC events to contain a variety of weights, e.g. for scale variations or PDF error sets. It would be nice if we could use these to efficiently fill multiple histograms.

Change History (4)

comment:1 Changed 11 years ago by jmonk

Status: newassigned

I'm adding a HistoContainer class that will actually do the booking of the histograms. The analysis creates a HistoContainer for each of the current histograms. At analysis time it calls HistoContainer.fill(double val, Event evt). The HistoContainer? will book as many histograms as there are weights in the event. It has to wait until the first event to do that, obviously.

This way, when the happy day comes that we can finally give AIDA the boot we won't need to modify the analyses, just the HistoContainer?. All of the bookBlahBlah methods can be stripped out of the Analysis class (although, not wanting to break anything, I will leave them in for the time being).

comment:2 Changed 10 years ago by Andy Buckley

Milestone: Version 1.2.0Version 1.3.0

comment:3 Changed 7 years ago by Andy Buckley

Milestone: 2.0.02.1.0

comment:4 Changed 6 years ago by Andy Buckley

Milestone: 2.1.02.2.0
Note: See TracTickets for help on using tickets.