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
86969de1
Commit
86969de1
authored
Nov 09, 2018
by
Simon Spannagel
Browse files
Move last two objects, KDTree.hpp and MCParticle.hpp
parent
f5f278fd
Changes
8
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisTelescope/AnalysisTelescope.cpp
View file @
86969de1
#include
"AnalysisTelescope.h"
#include
"objects/Cluster.hpp"
#include
"objects/MCParticle.h"
#include
"objects/MCParticle.h
pp
"
#include
<TDirectory.h>
...
...
src/modules/AnalysisTelescope/AnalysisTelescope.h
View file @
86969de1
...
...
@@ -4,7 +4,7 @@
#include
<TH1F.h>
#include
<iostream>
#include
"core/module/Module.hpp"
#include
"objects/MCParticle.h"
#include
"objects/MCParticle.h
pp
"
#include
"objects/Track.hpp"
namespace
corryvreckan
{
...
...
src/modules/Tracking4D/Tracking4D.cpp
View file @
86969de1
#include
"Tracking4D.h"
#include
<TCanvas.h>
#include
<TDirectory.h>
#include
"objects/KDTree.h"
#include
"objects/KDTree.h
pp
"
using
namespace
corryvreckan
;
using
namespace
std
;
...
...
src/modules/TrackingSpatial/TrackingSpatial.cpp
View file @
86969de1
#include
"TrackingSpatial.h"
#include
<TDirectory.h>
#include
"objects/KDTree.h"
#include
"objects/KDTree.h
pp
"
using
namespace
corryvreckan
;
using
namespace
std
;
...
...
src/objects/CMakeLists.txt
View file @
86969de1
...
...
@@ -18,12 +18,12 @@ ENDIF()
ROOT_GENERATE_DICTIONARY
(
CorryvreckanObjectsDictionary
${
CMAKE_CURRENT_SOURCE_DIR
}
/Cluster.hpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/GuiDisplay.hpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/KDTree.h
${
CMAKE_CURRENT_SOURCE_DIR
}
/KDTree.h
pp
${
CMAKE_CURRENT_SOURCE_DIR
}
/Pixel.hpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/SpidrSignal.hpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/Object.hpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/Track.hpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/MCParticle.h
${
CMAKE_CURRENT_SOURCE_DIR
}
/MCParticle.h
pp
LINKDEF
${
CMAKE_CURRENT_SOURCE_DIR
}
/Linkdef.h
OPTIONS
...
...
src/objects/KDTree.h
→
src/objects/KDTree.h
pp
View file @
86969de1
File moved
src/objects/MCParticle.h
→
src/objects/MCParticle.h
pp
View file @
86969de1
...
...
@@ -19,18 +19,18 @@ namespace corryvreckan {
:
Object
(
detectorID
,
timestamp
),
m_particle_id
(
particle_id
),
m_local_start_point
(
local_start_point
),
m_local_end_point
(
local_end_point
)
{}
// Member variables
// Member functions
int
getID
()
const
{
return
m_particle_id
;
}
ROOT
::
Math
::
XYZPoint
getLocalStart
()
const
{
return
m_local_start_point
;
}
ROOT
::
Math
::
XYZPoint
getLocalEnd
()
const
{
return
m_local_end_point
;
}
private:
int
m_particle_id
;
ROOT
::
Math
::
XYZPoint
m_local_start_point
;
ROOT
::
Math
::
XYZPoint
m_local_end_point
;
// Member functions
int
getID
()
{
return
m_particle_id
;
}
ROOT
::
Math
::
XYZPoint
getLocalStart
()
{
return
m_local_start_point
;
}
ROOT
::
Math
::
XYZPoint
getLocalEnd
()
{
return
m_local_end_point
;
}
// ROOT I/O class definition - update version number when you change this class!
ClassDef
(
MCParticle
,
2
)
ClassDef
(
MCParticle
,
3
)
};
// Vector type declaration
...
...
src/objects/Object.cpp
View file @
86969de1
#include
"Object.hpp"
#include
"Cluster.hpp"
#include
"MCParticle.h"
#include
"MCParticle.h
pp
"
#include
"Pixel.hpp"
#include
"Track.hpp"
...
...
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