DB_Track/include/TrackFinder.hpp

34 lines
542 B
C++
Raw Normal View History

2018-06-05 23:09:11 +02:00
//
// TrackFinder.hpp
// DB_Track
//
// Created by Baranyai David on 2018. 06. 05..
//
#ifndef TrackFinder_hpp
#define TrackFinder_hpp
#include <stdio.h>
#include <fstream>
#include <vector>
#include <string>
#include <sstream>
2018-10-16 13:05:13 +02:00
#include "SQLHandler.hpp"
#include "TH2D.h"
#include "TCanvas.h"
2018-06-05 23:09:11 +02:00
class TrackFinder
{
public:
TrackFinder();
~TrackFinder();
2018-10-16 13:05:13 +02:00
bool FindAndDrawNextTrack(TH2D*, TCanvas*);
2018-06-05 23:09:11 +02:00
private:
2018-10-16 13:05:13 +02:00
std::vector<Hit> track_data[4]; //4 chambers
2018-06-05 23:09:11 +02:00
2018-10-16 13:05:13 +02:00
SQLHandler sqlHandler;
2018-06-05 23:09:11 +02:00
};
#endif /* TrackFinder_hpp */