Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fisyak committed Sep 1, 2024
1 parent bbaaf85 commit 66b02fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StRoot/StiTpc/StiTpcDetectorBuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ StiDetector* StiTpcDetectorBuilder::constructTpcPadrowDetector(StiLayer stiLayer
pDetector->setShape(pShape);
pDetector->setPlacement(pPlacement);

if (row <= nInnerPadrows) {
if (tpc_padrow_id <= nInnerPadrows) {
if (StTpcDb::Alignment2024()) {
pDetector->setHitErrorCalculatorMDF4(StiTpcInnerHitErrorMDF4::instance());
}
pDetector->setHitErrorCalculator(StiTPCHitErrorCalculator::instance());
pDetector->setHitErrorCalculator(StiTpcInnerHitErrorCalculator::instance());
} else {
if (StTpcDb::Alignment2024()) {
pDetector->setHitErrorCalculatorMDF4(StiTpcOuterHitErrorMDF4::instance());
Expand Down

0 comments on commit 66b02fe

Please sign in to comment.