You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the "collusion" (see https://github.com/LArSoft/larwirecell/blob/develop/larwirecell/docs/depofluxwriter.org#track-ids ) the same art::Event "label" must be used for the vector of SimEnergyDeposit by both SimDepoSetSource and DepoFluxWriter. If the user gets this wrong by naming two different but existing labels then DepoFluxWriter will throw an exception about an out-of-bounds access which is somewhat cryptic.
Better would be to have DepoFluxWriter explicitly check the size of the SED vector against the vector of depos from WCT and raise an exception with a more explicit message.
The text was updated successfully, but these errors were encountered:
As part of the "collusion" (see https://github.com/LArSoft/larwirecell/blob/develop/larwirecell/docs/depofluxwriter.org#track-ids ) the same
art::Event
"label" must be used for thevector
ofSimEnergyDeposit
by bothSimDepoSetSource
andDepoFluxWriter
. If the user gets this wrong by naming two different but existing labels thenDepoFluxWriter
will throw an exception about an out-of-bounds access which is somewhat cryptic.Better would be to have
DepoFluxWriter
explicitly check the size of the SED vector against the vector of depos from WCT and raise an exception with a more explicit message.The text was updated successfully, but these errors were encountered: