Skip to content
Snippets Groups Projects
Commit 5890b559 authored by Alaettin Serhan Mete's avatar Alaettin Serhan Mete :eagle:
Browse files

Drop BDT tree caches to avoid unnecessary memory allocations

parent 6856b7cc
No related branches found
No related tags found
7 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!46546MVAUtils: Drop BDT tree caches to avoid unnecessary memory allocations
...@@ -58,6 +58,7 @@ BDT::BDT(::TTree *tree) ...@@ -58,6 +58,7 @@ BDT::BDT(::TTree *tree)
{ {
// at runtime decide which flavour of BDT we need to build // at runtime decide which flavour of BDT we need to build
// the information is coming from the title of the TTree // the information is coming from the title of the TTree
if (tree) tree->SetCacheSize(0); // Avoid unnecessary memory allocations
std::map<std::string, std::string> options = parseOptions(tree->GetTitle()); std::map<std::string, std::string> options = parseOptions(tree->GetTitle());
std::string creator = get_default_string_map(options, std::string("creator")); std::string creator = get_default_string_map(options, std::string("creator"));
if (creator == "lgbm") if (creator == "lgbm")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment