Skip to content
Snippets Groups Projects
Commit c1f154e7 authored by adrien-matta's avatar adrien-matta
Browse files

* Adding message to indicate when spectra are writting to file

parent 09f7ac01
No related branches found
No related tags found
No related merge requests found
...@@ -352,9 +352,11 @@ void NPL::DetectorManager::InitSpectra(){ ...@@ -352,9 +352,11 @@ void NPL::DetectorManager::InitSpectra(){
///////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////
void NPL::DetectorManager::WriteSpectra(){ void NPL::DetectorManager::WriteSpectra(){
std::cout << endl << "\r \033[1;36m *** Writing Spectra: this may take a while ***\033[0m"<<flush;
map<string,VDetector*>::iterator it; map<string,VDetector*>::iterator it;
for (it = m_Detector.begin(); it != m_Detector.end(); ++it) for (it = m_Detector.begin(); it != m_Detector.end(); ++it)
it->second->WriteSpectra(); it->second->WriteSpectra();
std::cout << "\r " << flush;
} }
///////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////
......
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