KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
SimEventOKIterator Class Reference

Detailed Description

Wrapper class for iterating over "OK" nuclei in KVSimEvent accessed through base pointer or reference.

Iterators are not defined for the abstract base class KVEvent. This class is a wrapper which allows to use iterators with simulated events passed as base references or pointers. The iterator returns references to KVSimNucleus objects:

KVEvent* event; // pointer to valid KVSimEvent object
for(auto& nuc : SimOKEventIterator(event)) { nuc.GetAngMom(); }
Abstract base class container for multi-particle events.
Definition KVEvent.h:67

#include <KVSimEvent.h>