This is a simple example using the XYZDecorator to set the coordinates of some particles and compute the distance between them.