Added new utility dumpmctree to draw the MC table of the event stored in the slcio file as the graphviz tree diagram, which represents parent-daughter relations visually in a easier way.
dumpmctree is a small wrapper script around the actual dumpmctree-dot executable. The latter produces a .dot file which is then transformed into an .svg file via the wrapper script and the dot executable.
The script relies on dot & xdg-open to be available on your system.
ENDRELEASENOTES
This tool is just an easier visual representation of parent-daughter relations of MCParticles in the MCtable which are stored in the slcio files.
The tool has very similar interface to dumpevent, so it is easy to use for people who are already familiar with it.
usage: dumpmctree -[s] -[p] -[o] filename eventNumber
OPTIONS:
-s Draw particles created in simulation (material interaction with the detector)
-p Draw parton shower particles above pythia hadronisation string/cluster (pdg = 92/91). E.g. (Z/W/H/quarks/gluons/etc)
-o Draw overlay particles.
INPUT:
filename slcio file to draw the event from.
eventNumber event number to draw.
By default Overlay and CreatedInSimulation particles, as well as patron shower particles are not shown to avoid cumbresome image. In case user wants to see those, one can enable them with optional switch flags -osp.
The script produces graphviz text file in the dot format and corresponding generated image file in the svg format.
The image contains a graph connecting particles in the parent-daughter relations, showing some additional information as their distance to the IP, pt and pz.
BEGINRELEASENOTES
dumpmctree
to draw the MC table of the event stored in the slcio file as the graphviz tree diagram, which represents parent-daughter relations visually in a easier way.dumpmctree
is a small wrapper script around the actualdumpmctree-dot
executable. The latter produces a.dot
file which is then transformed into an.svg
file via the wrapper script and thedot
executable.dot
&xdg-open
to be available on your system.ENDRELEASENOTES
This tool is just an easier visual representation of parent-daughter relations of MCParticles in the MCtable which are stored in the slcio files.
The tool has very similar interface to
dumpevent
, so it is easy to use for people who are already familiar with it.By default Overlay and CreatedInSimulation particles, as well as patron shower particles are not shown to avoid cumbresome image. In case user wants to see those, one can enable them with optional switch flags
-osp
.The script produces graphviz text file in the dot format and corresponding generated image file in the svg format.
The image contains a graph connecting particles in the parent-daughter relations, showing some additional information as their distance to the IP, pt and pz.