This tool allows users to compare two in-memory DDCompactView graphs. It uses a group of comparators in DDCompareTools.h. The help file for this tool:
DDCompareCPV [options] configurationFileName1 configurationFileName2 Compares two DDCompactViews
Allowed options:
-h [ --help ] Print this help message
-f [ --file1 ] arg XML configuration file name. Default is
DetectorDescription/RegressionTest/test/configura
tion.xml
-g [ --file2 ] arg XML configuration file name. Default is
DetectorDescription/RegressionTest/test/configura
tion.xml
-t [ --dist-tolerance ] arg Value tolerance for distances (in mm). Default
value 0.0004 (anything larger is an error)
-r [ --rot-tolerance ] arg Value tolerance for rotation matrix elements.
Default value is 0.0004 (anything larger is an
error)
-s [ --spec-tolerance ] arg Value tolerance for rotation matrix elements.
Default value is 0.0004 (anything larger is an
error) NOT USED YET
-u [ --user-ns ] Use the namespaces in each file and do NOT use
the filename as namespace. Default is to use the
filename of each file in the configuration.xml
file as a filename
-c [ --comp-rot ] Use the rotation name when comparing rotations.
Default is to use the matrix only and not the
name when comparing DDRotations
-e [ --continue-on-error ] Continue after an error in values. Default is to
stop at the first error. NOT IMPLEMENTED
-a [ --attempt-resync ] Continue after an error in graph position,
attempt to resync. Default is to stop at the
first mis-match of the graph. NOT IMPLEMENTED
--
MichaelCase - 19-Apr-2011