Skip to content

Commit

Permalink
Fix for is not a valid DT id error
Browse files Browse the repository at this point in the history
  • Loading branch information
jfernan2 committed Mar 15, 2024
1 parent 8b53082 commit 43d1393
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 43d1393

Please sign in to comment.