Project

General

Profile

Support #22624

Updated by Kyle Knoepfel 9 months ago

Dear Fickle People,

I'm trying to read the configuration of a larsoft file, which uses an SQLITE backing store. I'm doing this in a random-access environment under Gallery, with multiple open files being accessed by different threads. However, when I look at the sample code, I find that the only way to do this import is through a ParameterSetRegistry, which seems to be a singleton.

I can't fathom why a singleton is used here. Why not have a generic Registry object and then make a special instantiation as a singleton?

Is there a usable workaround?

Back