moenchReadData with ttree overwiting previous versions

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@8 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
bergamaschi
2013-11-06 11:13:25 +00:00
parent 957c73e200
commit 37196f14ca

View File

@ -219,7 +219,7 @@ Add here the function that you want to call: fill histos, make trees etc.
cout << "could not open file " << fname << endl;
}
if (pedsub)
tall->Write();
tall->Write(tall->GetName(),TObject::kOverwrite);