Skip to content
Snippets Groups Projects

JSON Config: fix stack filter storage options

Merged Frederic Julian Linz requested to merge f.kornas/cbmroot:traConf into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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;
}
Loading