Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Roel Aaij
k40gen
Commits
47f88da3
Commit
47f88da3
authored
Oct 23, 2019
by
Roel Aaij
Browse files
Update docs
parent
9a508f8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/challenge/challenge.md
View file @
47f88da3
...
@@ -34,7 +34,7 @@ stick to C++17 (or an earlier standard) to implement this challenge.
...
@@ -34,7 +34,7 @@ stick to C++17 (or an earlier standard) to implement this challenge.
#### Part 1
#### Part 1
The
[
km3net_reference.detx
](
../../challenge/km3net_reference.detx
]
The
[
km3net_reference.detx
](
../../challenge/km3net_reference.detx
)
file contains a reference geometry of the detector. Part 1 of the
file contains a reference geometry of the detector. Part 1 of the
challenge aims to parse this file into some form of storage for usage
challenge aims to parse this file into some form of storage for usage
later in the program.
later in the program.
...
@@ -70,16 +70,16 @@ rotation for later reference. This part has two sub-parts: A and B.
...
@@ -70,16 +70,16 @@ rotation for later reference. This part has two sub-parts: A and B.
##### Part 3A
##### Part 3A
Please write down the math you propose to implement to rotate the PMTs
Please write down the math you propose to implement to rotate the PMTs
over two angles:
$
\
t
heta
$
and
$
\
p
hi
$
, where
$
\
t
heta
$
is the polar
over two angles:
&
theta and
&
phi, where
&
theta is the polar
angle of a system of spherical coordinates with its zenith direction
angle of a system of spherical coordinates with its zenith direction
along the z-axis, and
$
\
p
hi
$
is the azimuthal angle in the same
along the z-axis, and
&
phi is the azimuthal angle in the same
system.
system.
##### Part 3B
##### Part 3B
It is suggested to implement two functions that do the work of the
It is suggested to implement two functions that do the work of the
rotation, first to obtain the parameters of the rotation from the
rotation, first to obtain the parameters of the rotation from the
angles
$
\
t
heta
$
and
$
\
p
hi
$
, and another to apply the rotation to the
angles
&
theta and
&
phi, and another to apply the rotation to the
direction of the PMTs selected in part 2.
direction of the PMTs selected in part 2.
### Testing
### Testing
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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