Closed tdealtry closed 4 years ago
One more thing... there's still a WCSimReader memory leak, but only when TChain
ing multiple files together. It doesn't leak with a single big file. I've not worked out why. If anyone has seen something like this before, please speak up! Otherwise, I think we ignore it for the purposes of this PR
Travis failed can you fix this bug?
UserTools/Factory/../DataOut/DataOut.cpp:380:18: error: 'class WCSimRootCherenkovDigiHit' has no member named 'SetPhotonIds'
This requires the WCSim branch https://github.com/tdealtry/WCSim/tree/leak
i see so should we put it on hold until that PR is merged into WCSim?
It's not worth merging yet, however we could get the code review finished and be ready for when WCSim/WCSim#286 is merged
The time handling is not correct, I think. At the very least it mixes TimeDelta
and unit-less floating points in strange ways. I'll do a review to check what is going on.
Also when I run the current version of the code on my SNs, I get a segfault at these lines:
Hopefully d320589 fixes the seg fault
The segfault seems to be gone now. 👍
The timing looks ok now. I'll test it with a supernova today or on Monday.
Great thanks @ast0815!
TBranch::SetAutoDelete(kTRUE)
DataOut::Finalise()
was seg faulting. Fixed by making theTFile
aTFile *
(yes I don't understand either...)Note this requires the WCSim branch https://github.com/tdealtry/WCSim/tree/leak