Changes in external/ExRootAnalysis/ExRootTreeWriter.cc [341014c:cab38f6] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/ExRootAnalysis/ExRootTreeWriter.cc
r341014c rcab38f6 11 11 #include "ExRootAnalysis/ExRootTreeBranch.h" 12 12 13 #include "TROOT.h" 14 #include "TFile.h" 15 #include "TTree.h" 13 16 #include "TClonesArray.h" 14 #include "TFile.h"15 #include "TROOT.h"16 #include "TTree.h"17 17 18 18 #include <iostream> 19 #include <stdexcept> 19 20 #include <sstream> 20 #include <stdexcept>21 21 22 22 using namespace std; … … 31 31 ExRootTreeWriter::~ExRootTreeWriter() 32 32 { 33 set<ExRootTreeBranch 33 set<ExRootTreeBranch*>::iterator itBranches; 34 34 for(itBranches = fBranches.begin(); itBranches != fBranches.end(); ++itBranches) 35 35 { 36 delete (*itBranches);36 delete (*itBranches); 37 37 } 38 38 … … 69 69 void ExRootTreeWriter::Clear() 70 70 { 71 set<ExRootTreeBranch 71 set<ExRootTreeBranch*>::iterator itBranches; 72 72 for(itBranches = fBranches.begin(); itBranches != fBranches.end(); ++itBranches) 73 73 { … … 95 95 96 96 tree->SetDirectory(fFile); 97 tree->SetAutoSave(10000000); // autosave when 10 MB written97 tree->SetAutoSave(10000000); // autosave when 10 MB written 98 98 99 99 return tree;
Note:
See TracChangeset
for help on using the changeset viewer.