Compare two millepede results files.
- Author
- Claus Kleinwort, DESY, 2014 (Claus.nosp@m..Kle.nosp@m.inwor.nosp@m.t@de.nosp@m.sy.de)
- Copyright
- Copyright (c) 2014 - 2024 Deutsches Elektronen-Synchroton, Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this program (see the file COPYING.LIB for more details); if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
A text file is produced as ROOT input (tree->ReadFile()) containing:
- For all labels appearing in boths files ("matched"): label value1 value2. (Labels with two zero values are skipped, usually indicating fixed parameters.)
- For all labels appearing only in one file: -label, value, value. (Labels with a zero value are skipped, usually indicating fixed parameters.)
From the matched (not skipped) labels the mean and RMS is calculated for each input file and the correlation of both.
Hardcoded defaults can be replaced by command line arguments for
- Input text file names
- Output text file name
Definition in file compareResults.py.