Skip to content
Snippets Groups Projects
Commit 475fec48 authored by Izaac Sanderswood's avatar Izaac Sanderswood Committed by Andre Gunther
Browse files

MatCalibration: add fallback solution for missing conditions

parent c85d5862
No related branches found
No related tags found
1 merge request!4475MatCalibration: add fallback solution for missing conditions
......@@ -76,6 +76,8 @@ StatusCode DeFTMat::initialize() {
} else {
msg << MSG::DEBUG << "Unable to find FT mat contraction conditions for " << getMatName( aChan )
<< ". It will not be possible to correct for temperature distortions." << endmsg;
m_matContractionParameterVector =
std::vector<double>( m_nChannelsInSiPM * m_nSiPMsInMat, 0.0 ); // fallback solution to remove later warnings
m_matContractionParameterVector.shrink_to_fit();
}
......
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