commit 0ae8794a75bdc98e15cbb8006ae8419e0a8decd3 Author: divaldo Date: Wed Jun 6 13:56:41 2018 +0200 Update page 'Home' 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