Commit db696502d44919e1c8ce6ec61c771b64ea9698b2
1 parent
7b30dbe3
Do not set XML filename upon loading of response components.
The setting of XML filenames upon loading of response components leads to an automatic saving of all response file paths in an XML file. This is very constraining and should be avoided. We therefore only save XML filenames that have been loaded, so that an exact copy of the input file can be written on output.
Showing
1 changed file
with
4 additions
and
4 deletions
inst/cta/src/GCTAResponseIrf.cpp
| ... | ... | @@ -1009,7 +1009,7 @@ void GCTAResponseIrf::load_aeff(const std::string& filename) |
| 1009 | 1009 | } |
| 1010 | 1010 | |
| 1011 | 1011 | // Record Aeff file name |
| 1012 | - m_xml_aeff = filename; | |
| 1012 | + //m_xml_aeff = filename; | |
| 1013 | 1013 | |
| 1014 | 1014 | // Return |
| 1015 | 1015 | return; |
| ... | ... | @@ -1087,7 +1087,7 @@ void GCTAResponseIrf::load_psf(const std::string& filename) |
| 1087 | 1087 | } |
| 1088 | 1088 | |
| 1089 | 1089 | // Record PSF filename |
| 1090 | - m_xml_psf = filename; | |
| 1090 | + //m_xml_psf = filename; | |
| 1091 | 1091 | |
| 1092 | 1092 | // Return |
| 1093 | 1093 | return; |
| ... | ... | @@ -1133,7 +1133,7 @@ void GCTAResponseIrf::load_edisp(const std::string& filename) |
| 1133 | 1133 | } |
| 1134 | 1134 | |
| 1135 | 1135 | // Record energy dispersion filename |
| 1136 | - m_xml_edisp = filename; | |
| 1136 | + //m_xml_edisp = filename; | |
| 1137 | 1137 | |
| 1138 | 1138 | // Return |
| 1139 | 1139 | return; |
| ... | ... | @@ -1162,7 +1162,7 @@ void GCTAResponseIrf::load_background(const std::string& filename) |
| 1162 | 1162 | } |
| 1163 | 1163 | |
| 1164 | 1164 | // Record background filename |
| 1165 | - m_xml_background = filename; | |
| 1165 | + //m_xml_background = filename; | |
| 1166 | 1166 | |
| 1167 | 1167 | // Return |
| 1168 | 1168 | return; | ... | ... |