Commit 925497ff authored by Lennart Huth's avatar Lennart Huth
Browse files

gbl work

parent b3a2fbf1
......@@ -14,6 +14,14 @@ ELSE()
INCLUDE(${ROOT_MACROS_FILE})
ENDIF()
# we need to import gbl
FIND_PACKAGE(GBL QUIET)
IF(NOT GBL_FOUND)
MESSAGE(FATAL_ERROR "Could not find GBL, make sure to set the path to your installation using\n"
"$ cmake -D GBL_DIR=/path/to/gbl ..")
ENDIF()
INCLUDE_DIRECTORIES(SYSTEM ${GBL_INCLUDE_DIR})
# Generate the ROOT dictionary
ROOT_GENERATE_DICTIONARY(CorryvreckanObjectsDictionary
${CMAKE_CURRENT_SOURCE_DIR}/Object.hpp
......
......@@ -88,7 +88,7 @@ namespace corryvreckan {
ROOT::Math::XYZPoint state() const { return m_state; }
ROOT::Math::XYZVector direction() const { return m_direction; }
private:
protected:
// Calculate the chi2 of the track
void calculateChi2();
......
Markdown is supported
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