Skip to content
Snippets Groups Projects
Commit cf554387 authored by de Séréville Nicolas's avatar de Séréville Nicolas
Browse files

+ remove #ifdef INC_PLASTIC occurence in case of SiRes, LaBr3 and

  SiLi detectors
parent 8b6cdf58
No related branches found
No related tags found
No related merge requests found
...@@ -411,7 +411,7 @@ void DetectorManager::ReadConfigurationFile(string Path) { ...@@ -411,7 +411,7 @@ void DetectorManager::ReadConfigurationFile(string Path) {
///////////// Search for LaBr3 /////////// ///////////// Search for LaBr3 ///////////
//////////////////////////////////////////// ////////////////////////////////////////////
else if (LineBuffer.compare(0, 5, "LaBr3") == 0 && LaBr3 == false) { else if (LineBuffer.compare(0, 5, "LaBr3") == 0 && LaBr3 == false) {
#ifdef INC_PLASTIC #ifdef INC_LABR3
LaBr3 = true; LaBr3 = true;
cout << "//////// Plastic ////////" << endl << endl; cout << "//////// Plastic ////////" << endl << endl;
...@@ -429,7 +429,7 @@ void DetectorManager::ReadConfigurationFile(string Path) { ...@@ -429,7 +429,7 @@ void DetectorManager::ReadConfigurationFile(string Path) {
///////////// Search for SiLi /////////// ///////////// Search for SiLi ///////////
//////////////////////////////////////////// ////////////////////////////////////////////
else if (LineBuffer.compare(0, 4, "SiLi") == 0 && SiLi == false) { else if (LineBuffer.compare(0, 4, "SiLi") == 0 && SiLi == false) {
#ifdef INC_PLASTIC #ifdef INC_SILI
SiLi = true; SiLi = true;
cout << "//////// Plastic ////////" << endl << endl; cout << "//////// Plastic ////////" << endl << endl;
...@@ -447,7 +447,7 @@ void DetectorManager::ReadConfigurationFile(string Path) { ...@@ -447,7 +447,7 @@ void DetectorManager::ReadConfigurationFile(string Path) {
///////////// Search for SiRes /////////// ///////////// Search for SiRes ///////////
//////////////////////////////////////////// ////////////////////////////////////////////
else if (LineBuffer.compare(0, 5, "SiRes") == 0 && SiRes == false) { else if (LineBuffer.compare(0, 5, "SiRes") == 0 && SiRes == false) {
#ifdef INC_PLASTIC #ifdef INC_SIRES
SiRes = true; SiRes = true;
cout << "//////// Plastic ////////" << endl << endl; cout << "//////// Plastic ////////" << endl << endl;
......
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