Skip to content

Commit

Permalink
removed empty else if
Browse files Browse the repository at this point in the history
  • Loading branch information
Baek Sun Jo committed Jan 18, 2023
1 parent 9384864 commit dc988ac
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -666,7 +666,6 @@ void TrackDetectorAssociator::getTAMuonChamberMatches(std::vector<TAMuonChamberM
float halfWidthAtYPrime = 0.5f * narrowWidth + yPrime * tangent;
distanceX = std::abs(localPoint.x()) - halfWidthAtYPrime;
distanceY = std::abs(localPoint.y() - yCOWPOffset) - 0.5f * length;
} else if (const GEMChamber* gemchamber = dynamic_cast<const GEMChamber*>(geomDet)) {
} else if (dynamic_cast<const GEMChamber*>(geomDet) || dynamic_cast<const GEMSuperChamber*>(geomDet)) {
const TrapezoidalPlaneBounds* bounds = dynamic_cast<const TrapezoidalPlaneBounds*>(&geomDet->surface().bounds());

Expand Down

0 comments on commit dc988ac

Please sign in to comment.