MINT2
PlotSet.cpp
Go to the documentation of this file.
1 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
2 // status: Mon 9 Feb 2009 19:18:00 GMT
3 #include "Mint/PlotSet.h"
4 #include "TFile.h"
5 
6 void PlotSet::save(const std::string& filename){
7  TFile f(filename.c_str(), "RECREATE");
8  f.cd();
9  for(unsigned int i=0; i< size(); i++){
10  ((*this)[i])->Write();
11  }
12  f.Close();
13 }
14 //
void save(const std::string &filename)
Definition: PlotSet.cpp:6