/[PAMELA software]/PamCut/Collections/BinnedEffCollection/BinnedEffCollection.cpp
ViewVC logotype

Diff of /PamCut/Collections/BinnedEffCollection/BinnedEffCollection.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Tue Jul 12 17:35:27 2011 UTC revision 1.2 by pam-fi, Mon Sep 5 12:57:19 2011 UTC
# Line 169  void BinnedEffCollection::Finalize() { Line 169  void BinnedEffCollection::Finalize() {
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);
# Line 187  void BinnedEffCollection::Finalize() { Line 187  void BinnedEffCollection::Finalize() {
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();

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23