This PR updates HcalSD to make the check in isSensDet(G4LogicalVolume* volume) check for a configurable list of identifiers rather than a single hard-coded ScintBox. This is sufficient to make simulations with the prototype geometry work. I'm not sure if we would want to add anything similar for other subsystems later, but that would be straight forward to do. I've tested this with both v13 and the prototype geometries and both are registering SimHits.
This PR updates
HcalSD
to make the check inisSensDet(G4LogicalVolume* volume)
check for a configurable list of identifiers rather than a single hard-codedScintBox
. This is sufficient to make simulations with the prototype geometry work. I'm not sure if we would want to add anything similar for other subsystems later, but that would be straight forward to do. I've tested this with both v13 and the prototype geometries and both are registering SimHits.