You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andreas Salzburger edited this page Feb 19, 2021
·
5 revisions
Sequential example
A first sequential example chain can be found as examples/seq_example.cpp. It reads in data produced with the ActsExamplessetup and itsCsvWriter/Reader` reader infrastructure.
The program flow is as follows:
- loop over events:
-- loop over modules:
- run connect component labeling (ccl) per module
- run measurement (mc) creation on output sets of (ccl) per module
- run spacepoint (sp) formation on output measuremetns of mc
-- run seeing (not yet implemented)
The algorithmic code is concentrated in the following three lines:
// The algorithmic code part: startauto clusters = cc(cells);
auto measurements = mt(clusters);
auto spacepoints = sp(measurements);
// The algorithmnic code part: end
TrackML Pixel detector
The data of the trackml pixel detector and the detector description itself is located in data/tml_pixels and data/tml_detector, respectively.
There are 10 events with an average of 200 pile-up interactions.
To execute the full dataset, one needs to run
./seq_example tml_detector/trackml-detector.csv tml_pixels 10
Running ./seq_exammple tml_detector/trackml-detector.csv tml_pixels 10
==> Statistics ...
- read 2041344 cells from 38784 modules
- created 380554 clusters.
- created 380554 measurements.
- created 380554 space points.
It will create output files with measurements and space points, a nice visual validation is that the created measurements are nicely contained with the dimensions of the TrackML pixel modules:
Finally, a visual view of the TrackML pixel barrel in xy: