Skip to content
Snippets Groups Projects
Commit 3d808faa authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

merged.

parents da5f8cb9 469daaad
No related branches found
No related tags found
No related merge requests found
......@@ -66,13 +66,10 @@ public:
inline void setWiresInLayer(int layer, int numWires)
{
double phi0;
updateParams(layer);
for (int i = 0; i<numWires; ++i) {
double phi0 = m_offset;
auto phi_start = _currentLayerphi * i + phi0;
auto phi_start = _currentLayerphi * (i+0.5) + m_offset;
auto phi_end = phi_start + _currentLayerphi;
TVector3 Wstart = returnWirePosition(phi_start, 1);
......
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