Skip to content
Snippets Groups Projects
Commit 1e7c9617 authored by Damien Thisse's avatar Damien Thisse
Browse files

Added in ACTAR : the possibility to load a LookupTable for Simulation automatically

parent dc1c2b0b
No related branches found
No related tags found
1 merge request!27Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
Pipeline #368825 passed
......@@ -642,7 +642,9 @@ void TActarPhysics::ReadAnalysisConfig() {
// Lookup table //
bool ReadingLookupTable = false;
string LT_FileName = "./configs/LT.dat";
string LT_FileName;
if(IsSimulation()) {LT_FileName = "./configs/LT_SIMU.dat";}
else {LT_FileName = "./configs/LT.dat";}
ifstream LTConfigFile;
LTConfigFile.open(LT_FileName.c_str());
if(!LTConfigFile.is_open()){
......
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