KaliVeda
Toolkit for HIC analysis
EventGroupIterator Class Reference

Detailed Description

Class for iterating over nuclei of given group in events accessed through base pointer/reference.

Iterators are not defined for the abstract base class KVEvent. This class is a wrapper for the KVTemplateEvent<KVNucleus>::Iterator class which allows to use iterators with events passed as base references or pointers:

KVEvent* event; // pointer to valid event object
for(auto& nuc : EventGroupIterator(event,"groupname")) { // loop over nuclei of group "groupname" in event }
Class for iterating over nuclei of given group in events accessed through base pointer/reference.
Abstract base class container for multi-particle events.
Definition: KVEvent.h:67
Examples
KVEvent_iterator_example.C.

#include <KVNucleusEvent.h>