Skip to content

Commit

Permalink
disable truncation for displaced tracking (cms-sw#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
skinnari authored and tomalin committed Jun 10, 2022
1 parent eaea518 commit 492aae0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion L1Trigger/TrackFindingTracklet/interface/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ namespace trklet {
throw cms::Exception("BadConfig")
<< __FILE__ << " " << __LINE__ << " maxStep module = " << module << " not known";
}
return maxstep_.at(module) + maxstepoffset_;
return extended_ ? (maxstep_.at(module) + maxstepoffset_extended_) : (maxstep_.at(module) + maxstepoffset_);
}

double zlength() const { return zlength_; }
Expand Down Expand Up @@ -776,6 +776,8 @@ namespace trklet {
// Set to 0 (default) means standard truncation
// Set to large value, e.g. 10000, to disable truncation
unsigned int maxstepoffset_{0};
// turn off truncation for displaced tracking (not implemented properly for displaced seeding)
unsigned int maxstepoffset_extended_{10000};

//Number of processing steps for one event (108=18TM*240MHz/40MHz)

Expand Down

0 comments on commit 492aae0

Please sign in to comment.