diff --git a/sim/transport/steer/CbmTransportConfig.cxx b/sim/transport/steer/CbmTransportConfig.cxx index 85384e8cddbcf090bd413da37827a10e25a4f37f..9d2a4dbee2bc832afb0aa8b922d22fe97cadf7db 100644 --- a/sim/transport/steer/CbmTransportConfig.cxx +++ b/sim/transport/steer/CbmTransportConfig.cxx @@ -335,8 +335,8 @@ bool CbmTransportConfig::SetStackFilter(CbmTransport& obj, const pt::ptree& modu auto storeAllMothers = settingsTree.get_optional<bool>("storeAllMothers"); auto storeAllDecays = settingsTree.get_optional<bool>("storeAllDecays"); if (storeAllPrimaries) filter->SetStoreAllPrimaries(storeAllPrimaries.get()); - if (storeAllMothers) filter->SetStoreAllPrimaries(storeAllMothers.get()); - if (storeAllDecays) filter->SetStoreAllPrimaries(storeAllDecays.get()); + if (storeAllMothers) filter->SetStoreAllMothers(storeAllMothers.get()); + if (storeAllDecays) filter->SetStoreAllPrimaryDecays(storeAllDecays.get()); return true; }