handling negative-weighted events in ma5
Asked by
Hesham El Faham
Hi,
I am using ma5 to plot some observables from a reweighed .lhe event file (parton-level). MadAnalysis complains about negative weights and thus set all bins to zero.
As a first trial I commented the line in histogram.py that sets data to zero in case of negative weights, but I am wondering if there is a more decent way of doing so, perhaps via the command line. I am also not sure whether such a solution would lead to a correct interpretation of the plots.
Thanks!
Hesham
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Benjamin Fuks
- Solved:
- Last query:
- Last reply:
To post a message you must log in.