From b7d60752553f2996e8806b59019d105493d6855e Mon Sep 17 00:00:00 2001 From: martinunland Date: Thu, 29 Aug 2024 17:05:18 +0200 Subject: [PATCH] custom to extra --- ...vex_radioactivity.dat => Extra_Vitrovex_radioactivity.dat} | 0 common/framework/include/OMSimInputData.hh | 2 +- common/framework/src/OMSimInputData.cc | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename common/data/scintillation/{Custom_Vitrovex_radioactivity.dat => Extra_Vitrovex_radioactivity.dat} (100%) diff --git a/common/data/scintillation/Custom_Vitrovex_radioactivity.dat b/common/data/scintillation/Extra_Vitrovex_radioactivity.dat similarity index 100% rename from common/data/scintillation/Custom_Vitrovex_radioactivity.dat rename to common/data/scintillation/Extra_Vitrovex_radioactivity.dat diff --git a/common/framework/include/OMSimInputData.hh b/common/framework/include/OMSimInputData.hh index 853e0c623..f9bc74293 100644 --- a/common/framework/include/OMSimInputData.hh +++ b/common/framework/include/OMSimInputData.hh @@ -200,7 +200,7 @@ private: enum class FileType { IceCubeICE, Scintillator, - Custom, + Extra, Table, Surface, Material diff --git a/common/framework/src/OMSimInputData.cc b/common/framework/src/OMSimInputData.cc index b30748467..4d98f9927 100644 --- a/common/framework/src/OMSimInputData.cc +++ b/common/framework/src/OMSimInputData.cc @@ -305,7 +305,7 @@ void OMSimInputData::processFile(const std::string &p_filePath, case FileType::Scintillator: dataFile.processSpecial(ScintillationProcessor::process); break; - case FileType::Custom: + case FileType::Extra: dataFile.processExtraProperties(); break; case FileType::Table: @@ -349,7 +349,7 @@ void OMSimInputData::scannDataDirectory() const std::unordered_map OMSimInputData::fileTypePrefixes = { {"IceCubeICE", FileType::IceCubeICE}, {"Scint", FileType::Scintillator}, - {"Custom", FileType::Custom}, + {"Extra", FileType::Extra}, {"pmt_", FileType::Table}, {"usr_", FileType::Table}, {"Surf", FileType::Surface}};