Skip to content
Snippets Groups Projects
Commit bd624524 authored by myliu@ihep.ac.cn's avatar myliu@ihep.ac.cn
Browse files

Delete the variable phi0

parent 5b1cebef
No related branches found
No related tags found
No related merge requests found
......@@ -66,12 +66,9 @@ public:
inline void setWiresInLayer(int layer, int numWires)
{
double phi0;
updateParams(layer);
for (int i = 0; i<numWires; ++i) {
phi0 = m_offset;
auto phi_start = _currentLayerphi * (i+0.5) + phi0;
auto phi_end = phi_start + _currentLayerphi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment