169 |
|
|
170 |
// Write the output files |
// Write the output files |
171 |
if (_outFileBase != "") { |
if (_outFileBase != "") { |
172 |
ofstream outTextFile((_outFileBase + "-" + GetName() + "-rig.txt").Data(), ios_base::out); |
ofstream outTextFile((_outFileBase + "-" + GetName() + "-bin.txt").Data(), ios_base::out); |
173 |
streamsize newPrec = 4; |
streamsize newPrec = 4; |
174 |
outTextFile.precision(newPrec); |
outTextFile.precision(newPrec); |
175 |
outTextFile.setf(ios::fixed, ios::floatfield); |
outTextFile.setf(ios::fixed, ios::floatfield); |
187 |
|
|
188 |
outTextFile.close(); |
outTextFile.close(); |
189 |
|
|
190 |
TFile outRootFile((_outFileBase + "-" + GetName() + "-rig.root"), "RECREATE"); |
TFile outRootFile((_outFileBase + "-" + GetName() + "-bin.root"), "RECREATE"); |
191 |
outRootFile.cd(); |
outRootFile.cd(); |
192 |
errGraph.Write(); |
errGraph.Write(); |
193 |
outRootFile.Close(); |
outRootFile.Close(); |