Commit 51c93c1a authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Move Algorithm class into its own folder

parent 9318a0df
......@@ -10,7 +10,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Pixel.h"
#include "objects/Track.h"
......
......@@ -6,7 +6,7 @@
#include "Minuit2/Minuit2Minimizer.h"
#include "TError.h"
// Local includes
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Track.h"
......
......@@ -5,7 +5,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Pixel.h"
#include "objects/Track.h"
......
......@@ -9,7 +9,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Pixel.h"
#include "objects/Track.h"
......
......@@ -28,8 +28,8 @@ MACRO(corryvreckan_algorithm name)
TARGET_COMPILE_DEFINITIONS(${LIBNAME} PRIVATE CORRYVRECKAN_ALGORITHM_NAME=${name})
TARGET_COMPILE_DEFINITIONS(${LIBNAME} PRIVATE CORRYVRECKAN_ALGORITHM_HEADER="${name}.h")
TARGET_SOURCES(${LIBNAME} PRIVATE "${PROJECT_SOURCE_DIR}/src/core/dynamic_algorithm_impl.cpp")
SET_PROPERTY(SOURCE "${PROJECT_SOURCE_DIR}/src/core/dynamic_algorithm_impl.cpp" APPEND PROPERTY OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${name}.h")
TARGET_SOURCES(${LIBNAME} PRIVATE "${PROJECT_SOURCE_DIR}/src/core/algorithm/dynamic_algorithm_impl.cpp")
SET_PROPERTY(SOURCE "${PROJECT_SOURCE_DIR}/src/core/algorithm/dynamic_algorithm_impl.cpp" APPEND PROPERTY OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${name}.h")
# Link the standard allpix libraries
TARGET_LINK_LIBRARIES(${LIBNAME} ${CORRYVRECKAN_LIBRARIES} ${CORRYVRECKAN_DEPS_LIBRARIES})
......
......@@ -6,7 +6,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Pixel.h"
#include "objects/Track.h"
......
......@@ -10,7 +10,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Pixel.h"
#include "objects/Track.h"
......
......@@ -6,7 +6,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
namespace corryvreckan {
class ClicpixAnalysis : public Algorithm {
......
......@@ -5,7 +5,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
namespace corryvreckan {
class DUTAnalysis : public Algorithm {
......
......@@ -9,7 +9,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Pixel.h"
#include "objects/Track.h"
......
......@@ -4,7 +4,7 @@
#include <iostream>
#include "TFile.h"
#include "TTree.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
namespace corryvreckan {
class FileReader : public Algorithm {
......
......@@ -4,7 +4,7 @@
#include <iostream>
#include "TFile.h"
#include "TTree.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
namespace corryvreckan {
class FileWriter : public Algorithm {
......
......@@ -9,7 +9,7 @@
#include "TH2F.h"
#include "TH3F.h"
#include "TThread.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Pixel.h"
......
......@@ -5,7 +5,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Pixel.h"
#include "objects/Track.h"
......
......@@ -2,7 +2,7 @@
#define OnlineMonitor_H 1
#include <iostream>
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/GuiDisplay.h"
#include "objects/Pixel.h"
......
......@@ -5,7 +5,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
namespace corryvreckan {
......
......@@ -10,7 +10,7 @@
#include "TH1F.h"
#include "TH2F.h"
// Local includes
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Track.h"
......
......@@ -5,7 +5,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
#include "objects/Cluster.h"
#include "objects/Pixel.h"
......
......@@ -5,7 +5,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
namespace corryvreckan {
class Timepix1Correlator : public Algorithm {
......
......@@ -8,7 +8,7 @@
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "core/Algorithm.h"
#include "core/algorithm/Algorithm.h"
namespace corryvreckan {
class Timepix1EventLoader : public Algorithm {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment