From 37196f14cabc5ac83acae68713b4513ee6c5abd7 Mon Sep 17 00:00:00 2001 From: bergamaschi Date: Wed, 6 Nov 2013 11:13:25 +0000 Subject: [PATCH] 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 --- slsDetectorCalibration/moenchReadData.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorCalibration/moenchReadData.C b/slsDetectorCalibration/moenchReadData.C index 4a16ef9ce..bf9313830 100644 --- a/slsDetectorCalibration/moenchReadData.C +++ b/slsDetectorCalibration/moenchReadData.C @@ -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);