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

Detailed Description

Wrapper class for iterating over "OK" nuclei in KVReconstructedEvent 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 reconstructed events passed as base references or pointers. The iterator returns references to KVReconstructedNucleus objects:

KVEvent* event; // pointer to valid KVReconstructedEvent object
for(auto& nuc : ReconEventOKIterator(event)) { nuc.GetStoppingDetector(); }
Abstract base class container for multi-particle events.
Definition KVEvent.h:67
Wrapper class for iterating over "OK" nuclei in KVReconstructedEvent accessed through base pointer or...
Examples
ExampleFilteredSimDataAnalysis.cpp, ExampleINDRAAnalysis.cpp, and KVEvent_iterator_example.C.

#include <KVReconstructedEvent.h>