Skip to content

Commit

Permalink
Merge pull request #44418 from jfernan2/fixDTidBug140X
Browse files Browse the repository at this point in the history
[14_0_X] Fix for is not a valid DT id error
  • Loading branch information
cmsbuild authored Mar 27, 2024
2 parents 3ec5794 + 43d1393 commit 230c0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion L1Trigger/DTTriggerPhase2/src/MuonPathSLFitter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void MuonPathSLFitter::analyze(MuonPathPtr &inMPath,
auto sl = inMPath->primitive(0)->superLayerId(); // 0, 1, 2

int selected_lay = 1;
if (inMPath->primitive(0)->tdcTimeStamp() != -1)
if (inMPath->primitive(0)->cameraId() > 0)
selected_lay = 0;

int dumLayId = inMPath->primitive(selected_lay)->cameraId();
Expand Down

0 comments on commit 230c0c3

Please sign in to comment.