actions
Loading...
Searching...
No Matches
track_provenance_example.cc File Reference

Focused unit-test executable for the worker-local track provenance registry. More...

#include "tracking/gTrackProvenance.h"
#include <cstdlib>
#include <iostream>
#include <vector>
Include dependency graph for track_provenance_example.cc:

Go to the source code of this file.

Functions

int main ()
 

Detailed Description

This test uses synthetic records rather than running a Geant4 simulation. It builds this hierarchy:

1
|-- 2
| `-- 4
`-- 3

It verifies original-track resolution, ancestor deduplication and ordering, event reset, and the memory-saving original-only mode. Real Geant4 integration is exercised by the GEMC example tests.

Definition in file track_provenance_example.cc.

Function Documentation

◆ main()

int main ( )

Definition at line 32 of file track_provenance_example.cc.