From cf554387f9faa58982e8aa5e2e22eac7ef880b1a Mon Sep 17 00:00:00 2001 From: Nicolas de Sereville <deserevi@ipno.in2p3.fr> Date: Tue, 11 Mar 2014 21:17:46 +0100 Subject: [PATCH] + remove #ifdef INC_PLASTIC occurence in case of SiRes, LaBr3 and SiLi detectors --- NPLib/VDetector/DetectorManager.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NPLib/VDetector/DetectorManager.cxx b/NPLib/VDetector/DetectorManager.cxx index 0b28af5d0..a6364d635 100644 --- a/NPLib/VDetector/DetectorManager.cxx +++ b/NPLib/VDetector/DetectorManager.cxx @@ -411,7 +411,7 @@ void DetectorManager::ReadConfigurationFile(string Path) { ///////////// Search for LaBr3 /////////// //////////////////////////////////////////// else if (LineBuffer.compare(0, 5, "LaBr3") == 0 && LaBr3 == false) { -#ifdef INC_PLASTIC +#ifdef INC_LABR3 LaBr3 = true; cout << "//////// Plastic ////////" << endl << endl; @@ -429,7 +429,7 @@ void DetectorManager::ReadConfigurationFile(string Path) { ///////////// Search for SiLi /////////// //////////////////////////////////////////// else if (LineBuffer.compare(0, 4, "SiLi") == 0 && SiLi == false) { -#ifdef INC_PLASTIC +#ifdef INC_SILI SiLi = true; cout << "//////// Plastic ////////" << endl << endl; @@ -447,7 +447,7 @@ void DetectorManager::ReadConfigurationFile(string Path) { ///////////// Search for SiRes /////////// //////////////////////////////////////////// else if (LineBuffer.compare(0, 5, "SiRes") == 0 && SiRes == false) { -#ifdef INC_PLASTIC +#ifdef INC_SIRES SiRes = true; cout << "//////// Plastic ////////" << endl << endl; -- GitLab