JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

THcHelicityReader: More robust failover to HMS for helicty info #452

Closed sawjlab closed 4 years ago

sawjlab commented 4 years ago

If SHMS crate 2 does not exists, get helicity info from crate 1. Previously, the absence of crate 2 was determined by its absence in db_cratemap.dat. But if crate 2 is in the crate map, the crate will appear to be there return zeros for data. This changes looks for a TI time of zero and switches to crate one to get the helcity info.