ATLAS Offline Software
|
#include <WriteThinnedData.h>
A simple algorithm exercising the process of thinning a container. This algorithm takes as input a AthExParticles
container from StoreGateSvc
and thins part of the elements of this container with the aim (in real world algorithms) of reducing dataset disk space.
For the purpose of this exercise, the container is thinned on the base of a filter (a vector of booleans), keeping elements when the bool
is true
. This algorithm also exercises a two-steps thinning to make sure that multiple algorithms can cooperate to remove some elements in a multiple pass fashion (ie: alg1 removes particles with p_T < 10 GeV, then alg2 removes particles with Chi2 < 0.2, etc...)