Skip to content
Snippets Groups Projects
Commit eb954578 authored by Jure Bericic's avatar Jure Bericic
Browse files

Fixed "No Time to dist algorithm available" error in `THcDCHit`.

This error is triggered when there is no wire defined for hit, or
when the wire has no `GetTDDConv()` method. The ROOT dictionary
calls default constructor that doesn't set the wire and calls
`ConvertTimeToDist()` regardless.

I changed the default constructor to not call the `ConvertTimeToDist()`
if the wire is not set. I also added the call to this function
in the `SetWire()` method.
parent feea2153
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment