Skip to content
Snippets Groups Projects
Commit c80ef52f authored by Administrator's avatar Administrator
Browse files

Properly destruct the TGeoManger

If the ROOT session is closed after the macro has finished the TGeoManger
has to be properly destructed.
This is done calling the macro RemoveGeoManager.
Add thecall in macro where it was missing.
parent c4cd757d
No related branches found
No related tags found
1 merge request!425Properly destruct the TGeoManger
Pipeline #12256 passed
...@@ -179,5 +179,5 @@ void run_analysis_tree_maker(TString dataSet = "../../../run/test", TString setu ...@@ -179,5 +179,5 @@ void run_analysis_tree_maker(TString dataSet = "../../../run/test", TString setu
// Generate_CTest_Dependency_File(depFile); // Generate_CTest_Dependency_File(depFile);
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
// RemoveGeoManager(); RemoveGeoManager();
} }
...@@ -101,5 +101,5 @@ void run_ana(Int_t nEvents = 1000, TString dataSet = "muons", TString setup = "s ...@@ -101,5 +101,5 @@ void run_ana(Int_t nEvents = 1000, TString dataSet = "muons", TString setup = "s
cout << " Test passed" << endl; cout << " Test passed" << endl;
cout << " All ok " << endl; cout << " All ok " << endl;
// RemoveGeoManager(); RemoveGeoManager();
} }
...@@ -227,4 +227,6 @@ void run_tof_disim(Int_t nEvents = 2, const char* setup = "sis100_electron") ...@@ -227,4 +227,6 @@ void run_tof_disim(Int_t nEvents = 2, const char* setup = "sis100_electron")
cout << " Test passed" << endl; cout << " Test passed" << endl;
cout << " All ok " << endl; cout << " All ok " << endl;
RemoveGeoManager();
} }
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