![]() |
AliPhysics
efbe636 (efbe636)
|
Container implementing iterable functionality of the EMCAL containers. More...
#include <AliEmcalIterableContainer.h>
Container implementing iterable functionality of the EMCAL containers.
Providing an interface to iterator functionality for the AliEmcalContainer and inheriting objects, iterating over either all or only accepted objects inside the container. The content is specified in the constructor.
EMCAL iterable containers should not be created by hand. Instead, the EMCAL container provides the functionality to create the interface for both cases:
Once created, EMCAL iterable containers implement the functions begin(), end(), rbegin() and rend() creating stl iterators (type AliEmcalIterableContainer::iterator). These can be used as normal stl iterators
In case c++11 is used this code simplifies to