A Particle object contains pointers to other particles, such as a list of parents and a list of children. It may also contain a pointer to the previous or next instance of the same physical particle if the properties of a given particle has been changed during the generation. Coloured particles contains pointers to colour-neighbors, and pointers to the parents and children which carries the same (anti-) colour. Note that also colour-neutral particles may have pointers to colour neghbours, the meaning of these is in this case model dependent.
The particle also has a pointer to the Step object where it was first introduced in the Event.
When printing a particle the format of the output is governed by
the static outputFormat string. When a particle is sent
to an ostream, the format string is written but with
keys prefixed by the % character replaced with
infromation about the particle as follows:
%% is
replaced by a singel %
%C sets a flag so
that subsequent output of children and parents etc. will contain
colour information.
%n is replaced by the particles
number in a fied ow width
%s is replaced by the name
of the particle
%i is replaced by the id number of
the particle type
%x, %y, %z, %e, %m is replaced by
the x-, y-, z-, energy- and mass-component of the particles
momentum respectively
%dx, %dy, %dz, %dt, %dT is
replaced by the x-, y-, z-, time- and invariant time-component of
the particles lifeLength respectively
%Vx, %Vy, %Vz,
%Vt is replaced by the x-, y-, z- and time-component of the
creation point relative to the vertex of the
collision.
%Lx, %Ly, %Lz, %Lt is replaced by the x-,
y-, z- and time-component of the creation point in the current
lab-system.
%p[,] is replaced by a list (of numbers)
of the particles parents enclosed by [ and ]
and separated by ,, The parent from which the particle
inherits its (anti-) colour is marked by a (-)+
%c(,) is replaced by a list (of numbers) of the
particles children enclosed by ( and ) and
separated by ,, The child which inherits the particles
(anti-) colour is marked by a (-)+
%> is replaced
by the number of the colour neighbor
%< is
replaced by the number of the anti-colour neighbor
%^ is replaced by the number of the previous instance of
the same physical particle
%v is replaced by the
number of the next instance of the same physical particle.
%l{,} is replaced by the indices of the colour lines to
which this particle is connected enclosed by { and
} and separated by ,, The line corresponding
to the (anti-) colour of the particle is prefixed by a (-)+
CLASS
Particle:
Particle & operator=(const Particle &);
Private and non-existent assignment.
static ClassDescription<Particle> initParticle;