-
Notifications
You must be signed in to change notification settings - Fork 18
Comparisons and Checks
In order to comare the content of two ROOT files, you could use the Artus tool
compareRootFiles.py [-a] <file1.root> <file2.root>
CMSSW provides the tool
edmDumpEventContent <file.root>
to list the content of EDM files (e.g. AOD or miniAOD).
Artus configurations are JSON dictionaries. The can be either JSON files like the one that the Artus Wrapper constructs, the TObjString config
in an Artus output file or just strings containing the content "{\"key" : \"value\"}"
. Every script in Artus, which takes a JSON configuration as input, accepts these three kinds of configurations.
Artus Configurations can be compared with the script
artusConfigDiff.py [-h]
To compare just two files, do
artusConfigDiff.py <output1.root> <output2.root>
Two pipelines in the same file are compared with
artusConfigDiff.py <output.root> <output.root> -1 <pipeline 1> -2 <pipeline 2>
The script outputs the differences in a way similar to diff
, but it might be convenient to use the printed meld
command to see the differences side-by-side.