Skip to content
Snippets Groups Projects
Commit f3a9781a authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Unused variables removed/commented

parent 4bb74aa1
Branches
Tags v1.1.0
No related merge requests found
......@@ -97,7 +97,6 @@ static Ref_t create_B0Tracker(Detector& description, xml_h e, SensitiveDetector
}
double thickness_so_far = 0.0;
double thickness_sum = -total_thickness/2.0;
for (ci.reset(), n_sensor = 1, c_id = 0, posY = -y1; ci; ++ci, ++c_id) {
xml_comp_t c = ci;
double c_thick = c.thickness();
......@@ -147,7 +146,6 @@ static Ref_t create_B0Tracker(Detector& description, xml_h e, SensitiveDetector
volplane_surfaces[m_nam].push_back(surf);
}
posY += c_thick;
thickness_sum += c_thick;
thickness_so_far += c_thick;
}
modules[m_nam] = m_volume;
......
......@@ -102,7 +102,7 @@ static Ref_t create_OffMomentumTracker(Detector& description, xml_h e, Sensitive
Volume m_volume(m_nam, m_solid, vacuum);
m_volume.setVisAttributes(description.visAttributes(x_mod.visStr()));
Solid frame_s;
//Solid frame_s;
if(x_mod.hasChild("frame")){
// todo
// build frame from trd (assumed to be smaller)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment