LDMX-Software / SimCore

Integration of Geant4 simulation framework into a more generalized event processing framework.
2 stars 0 forks source link

Iss69 #70

Closed EinarElen closed 2 years ago

EinarElen commented 2 years ago

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.