Commit b51975cf authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Aaaarg - Detector: do not shadow member variables...

parent ed114409
Pipeline #235947 failed with stages
in 3 minutes and 25 seconds
......@@ -10,8 +10,9 @@ using namespace corryvreckan;
Detector::Detector(const Configuration& config) {
// Get information from the conditions file:
auto m_displacement = config.get<ROOT::Math::XYZPoint>("position", ROOT::Math::XYZPoint());
auto m_orientation = config.get<ROOT::Math::XYZVector>("orientation", ROOT::Math::XYZVector());
m_displacement = config.get<ROOT::Math::XYZPoint>("position", ROOT::Math::XYZPoint());
m_orientation = config.get<ROOT::Math::XYZVector>("orientation", ROOT::Math::XYZVector());
// Number of pixels
auto npixels = config.get<ROOT::Math::DisplacementVector2D<Cartesian2D<int>>>("number_of_pixels");
// Size of the pixels
......
Supports Markdown
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