Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
925497ff
Commit
925497ff
authored
Sep 18, 2019
by
Lennart Huth
Browse files
gbl work
parent
b3a2fbf1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/objects/CMakeLists.txt
View file @
925497ff
...
...
@@ -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
...
...
src/objects/Track.hpp
View file @
925497ff
...
...
@@ -88,7 +88,7 @@ namespace corryvreckan {
ROOT
::
Math
::
XYZPoint
state
()
const
{
return
m_state
;
}
ROOT
::
Math
::
XYZVector
direction
()
const
{
return
m_direction
;
}
pr
ivate
:
pr
otected
:
// Calculate the chi2 of the track
void
calculateChi2
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment