TreeToHepMC confuses milibarn and microbarn
Opened this issue · 1 comments
kkauder commented
Environment: (where does this bug occur, have you tried other environments)
All
Steps to reproduce: (give a step by step account of how to trigger the bug)
- Convert a EicTree root file to HepMC using TreeToHepMC
Expected Result: (what do you expect when you execute the steps above)
crossSection gets converted from microbarn to HepMC's standard picobarn
Actual Result: (what do you get when you execute the steps above)
TreeToHepMC false assumes that the input crossSection is in milibarn, and is thus wrong by a factor of 1000
Offending code: https://github.com/eic/eic-smear/blob/master/src/erhic/TreeToHepMC.cxx#L130-L153
wdconinc commented
TreeToHepMC confuses milibarn and microbarn
Wouter confuses milibarn and microbarn too ;-)