...
constant specifies the name of the (sub)collection to retrieve, so that we get back a list of objects (rather than a list of collections, e.g. a list of lists).
Now that we have a list of particles in this event, some plots can be filled.
This line fills a plot called "nTracks" with the number of particles in the event.
No Format |
---|
aida.cloud1D("nTracks").fill(particles.size());
|
For convenience, the cloud1D method of the AIDA object will create the "nTracks" plot if it doesn't already exist. Otherwise, the existing plot will be filled.