Skip to content
Snippets Groups Projects
Commit ee73e784 authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

THcDriftChamber::CorrectHitTimes use fHMSStyleChambers

instead of using GetParent() every hit to get DC version.
parent aa7b2137
No related branches found
No related tags found
No related merge requests found
......@@ -973,10 +973,7 @@ void THcDriftChamber::CorrectHitTimes()
x*plane->GetReadoutCorr()/fWireVelocity;
// This applies the wire velocity correction for new SHMS chambers --hszumila, SEP17
THcDC* fParent;
fParent = (THcDC*) GetParent();
Int_t version = fParent->GetVersion();
if (version!= 0){
if (!fHMSStyleChambers){
Int_t pln = hit->GetPlaneNum();
Int_t readoutSide = hit->GetReadoutSide();
......
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