     * @return String output.
     */
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("type: " + type + ", energy: " + correctedEnergy + ", energyError: " + energyError + ", ");
        sb.append("position: (" + positionVec.x() + ", " + positionVec.y() + ", " + positionVec.z() + "), ");
        sb.append("id: 0x" + getIdentifier().toHexString() + ", time: " + time);
        return sb.toString();
    }
}