Skip to content

Commit

Permalink
Fix subdet == TOB case
Browse files Browse the repository at this point in the history
  • Loading branch information
makortel committed Sep 12, 2019
1 parent c26b3d9 commit 55840b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoTracker/MkFit/plugins/MkFitOutputConverter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ std::vector<const DetLayer*> MkFitOutputConverter::createDetLayers(const mkfit::

// TODO: mono/stereo structure is still hardcoded for phase0/1 strip tracker
dets[lnc.convertLayerNumber(subdet, layer, false, isMono, isPlusSide(detId))] = lay;
if (((subdet == StripSubdetector::TIB or StripSubdetector::TOB) and (layer == 1 or layer == 2)) or
if (((subdet == StripSubdetector::TIB or subdet == StripSubdetector::TOB) and (layer == 1 or layer == 2)) or
subdet == StripSubdetector::TID or subdet == StripSubdetector::TEC) {
dets[lnc.convertLayerNumber(subdet, layer, false, isStereo, isPlusSide(detId))] = lay;
}
Expand Down

0 comments on commit 55840b2

Please sign in to comment.