Skip to content
Snippets Groups Projects
Unverified Commit e4dc0707 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn Committed by GitHub
Browse files

Merge pull request #76 from myliu-hub/master

The position of the wire is taken as the center of the cell.
parents 9c44826c cbc7c606
No related branches found
No related tags found
No related merge requests found
...@@ -79,9 +79,10 @@ void GridDriftChamber::cellposition(const CellID& cID, TVector3& Wstart, ...@@ -79,9 +79,10 @@ void GridDriftChamber::cellposition(const CellID& cID, TVector3& Wstart,
updateParams(layerIndex); updateParams(layerIndex);
double phi_start = phi(cID); double phi_start = phi(cID);
double phi_end = phi_start + returnAlpha(); double phi_mid = phi_start + _currentLayerphi/2.;
double phi_end = phi_mid + returnAlpha();
Wstart = returnWirePosition(phi_start, -1); Wstart = returnWirePosition(phi_mid, -1);
Wend = returnWirePosition(phi_end, 1); Wend = returnWirePosition(phi_end, 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