Skip to content
Snippets Groups Projects
Commit 0eec2a5a authored by hallc-online's avatar hallc-online Committed by Mark K Jones
Browse files

Updated THcDriftChamber.cxx

In LeftRight method when using SmallAngle Approximation and
 additional condition that the wires in adjacent plane have to
 be within 0.51cm.
parent f0e86b0f
No related branches found
No related tags found
No related merge requests found
......@@ -1146,8 +1146,8 @@ void THcDriftChamber::LeftRight()
if((pindex1%2)==0) { // Odd plane (or even index)
for(Int_t ihit2=0;ihit2<nhits;ihit2++) {
THcDCHit* hit2 = sp->GetHit(ihit2);
if(hit2->GetPlaneIndex()-pindex1 == 1) { // Adjacent plane
if(hit2->GetPos() <= hit1->GetPos()) {
if(hit2->GetPlaneIndex()-pindex1 == 1 && TMath::Abs(hit2->GetPos()-hit1->GetPos())<0.51) { // Adjacent plane
if(hit2->GetPos() <= hit1->GetPos() ) {
plusminusknown[ihit1] = -1;
plusminusknown[ihit2] = 1;
} else {
......
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