From 0ae8794a75bdc98e15cbb8006ae8419e0a8decd3 Mon Sep 17 00:00:00 2001 From: divaldo Date: Wed, 6 Jun 2018 13:56:41 +0200 Subject: [PATCH] Update page 'Home' --- Home.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Home.md diff --git a/Home.md b/Home.md new file mode 100644 index 0000000..f96812c --- /dev/null +++ b/Home.md @@ -0,0 +1,9 @@ +# Track reconstruction from database export +## Why? +For the first electronics, we used a MySQL database to store the detected muons data. It's nothing interesting in looking at the raw data, the numbers so it's time to visualize that. + +## What this app do? +The app searches for valid tracks in the exported file and if found one, it'll show it in a nice histogramm. + +## How to use? +When you initialize the TrackFinder object, it'll open the data.txt and try to read the first line. After a successful initialization you can call the FindTrack() function, which returns true if found a track, or returns false, if the file end is reached. After you found a track, you can call the GetTrack(std::vector&, std::vector&, std::vector&, std::vector&) function, which requires 4 std::vectors to copy the found track's data in it. The order is the same as in the input file (ch_id, time_sec, time_ns, peak_amp). \ No newline at end of file