Comment the FUNCTIONS block in the written msr-file if there is none in the present msr-data-structure
This commit is contained in:
parent
04e9d4e04f
commit
41f10b77c0
@ -1234,6 +1234,9 @@ Int_t PMsrHandler::WriteMsrFile(const Char_t *filename, map<UInt_t, TString> *co
|
|||||||
fout << hline.Data() << endl;
|
fout << hline.Data() << endl;
|
||||||
|
|
||||||
// write FUNCTIONS block
|
// write FUNCTIONS block
|
||||||
|
// or comment it if there is none in the data structures
|
||||||
|
if (fFunctions.size() < 2)
|
||||||
|
fout << "# ";
|
||||||
fout << "FUNCTIONS" << endl;
|
fout << "FUNCTIONS" << endl;
|
||||||
|
|
||||||
for (i = 1; i < fFunctions.size(); ++i) {
|
for (i = 1; i < fFunctions.size(); ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user