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

The position of the wire is taken as the center of the cell.

parent 6c172b3f
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