Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
cb82ff4e
Commit
cb82ff4e
authored
Nov 24, 2017
by
Morag Williams
Browse files
Adding DUT angle to outputted tree
parent
62294ebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/algorithms/DataOutput/DataOutput.cpp
View file @
cb82ff4e
...
...
@@ -171,8 +171,17 @@ StatusCode DataOutput::run(Clipboard* clipboard) {
void
DataOutput
::
finalise
()
{
LOG
(
DEBUG
)
<<
"Finalise"
;
// Branch for DUT angle
double
DUTangle
;
m_outputTree
->
Branch
(
"DUTangle"
,
&
DUTangle
);
/*auto DUT = get_detector(m_config.get<std::string>("DUT"));
DUTangle = (DUT->rotationY())-3.14159265358979323846;
LOG(DEBUG) << "DUT angle obtained X= " << DUT->rotationX()<< " radians";
DUTangle = DUTangle *180/3.14159265358979323846;
LOG(STATUS) << "DUT angle obtained Y= " << DUTangle<< " degrees";
LOG(DEBUG) << "DUT angle obtained Z= " << DUT->rotationZ()<< " radians";*/
// Write out the output file
m_outputTree
->
Fill
();
m_outputFile
->
Write
();
delete
(
m_outputFile
);
}
Write
Preview
Supports
Markdown
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